[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] ANN: How to design an XML Schema component into whichother components can be embedded
- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Thu, 25 Nov 2010 15:18:33 +0530
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]