|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Ambiguous Content Model
From: "Kohsuke KAWAGUCHI" <kohsukekawaguchi@y...>
> I thought it was me but anyway, this is not a difficult one; this is an
> impossible one.
For what it is worth, it is simple to specify in Schematron:
<assert test="count(*) = count(A[not(previous-sibling::A)] + count(B[previous-sibling::A])"
>The content model is (A, B)*, A?</assert>
Cheers
Rick Jelliffe
P.S. I am enjoying the code for MSV. Very interesting!
|
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
|
|||||||||

Cart








