|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: context (was Re: ANN: SAX Filters for Namespace Processing)
At 9:19 AM -0400 8/1/01, Simon St.Laurent wrote: >RELAX and RELAX NG provides some very cool context-sensitive document >modeling tools which let you say things like "paragraphs inside of lists >have a different content model than paragraphs in the main body of the >document." (I believe that TREX, Schematron, and Examplotron are >similarly capable, and have no problems with things like substitution >groups muddying context.) > W3C Schemas can do this too. It isn't a specific advantage of the other languages. See http://www.ibiblio.org/xml/books/xmljava/chapters/ch02s05.html#N5583 for one example of something like this. What I haven't yet figured out how to do with W3C schemas, and am beginning to think may be impossible, is to say that the first paragraph inside a list has a different content model than the second paragraph inside a list. -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@m... | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible, 2nd Edition (Hungry Minds, 2001) | | http://www.ibiblio.org/xml/books/bible2/ | | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ | +----------------------------------+---------------------------------+
|
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








