[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: ANN: How to design an XML Schema component into whichother
Hi Roger, On Thu, Nov 25, 2010 at 4:24 AM, Mukul Gandhi <gandhi.mukul@gmail.com> 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] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|