[Home] [By Thread] [By Date] [Recent Entries]
At 6:16 AM -0500 11/11/01, AndrewWatt2000@a... wrote: Why do you assume that XSLT documents/stylesheets are "almost never" valid? 1. There's no official DTD/schema for XSLT. 2. I think maybe once I've seen a proof of concept of a valid XSLT stylesheet, probably on the xsl mailing list. All the other XSLT documents I've actually seen in the wild were invalid. 3. Since almost all practical, non-trivial XSLT style sheets routinely mix elements and attributes from three different vocabularies in very complicated ways, and since two of those vocabularies change from one style sheet to the next, it's virtually impossible to write a DTD that covers all XSLT style sheets. -- +-----------------------+------------------------+-------------------+ | 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/ | +----------------------------------+---------------------------------+
|

Cart



