[Home] [By Thread] [By Date] [Recent Entries]

  • From: Mukul Gandhi <gandhi.mukul@g...>
  • To: "Costello, Roger L." <costello@m...>
  • Date: Thu, 25 Nov 2010 15:18:33 +0530

Hi Roger,

On Thu, Nov 25, 2010 at 4:24 AM, Mukul Gandhi <gandhi.mukul@g...> wrote:
> <xs:assert test="report:Title"/>

it seems that in the first post that I wrote in this thread, the
following assertions (instead of the one above I wrote earlier) would
be more appropriate for the use-case you've written.

<xs:assert test="report:Title[count(node()) = count(text())]"/>

This ensures that children of "Title" element are only literal strings.



-- 
Regards,
Mukul Gandhi


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member