[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: accessing the DTD
Even though the DTD is not valid XML, it is being processed during XSLT right? Not really. the XSLT engine receives a parse tree from an XML parser (often as sax events but that is beside the point here) and so gets no information about the DTD at all. If the XML parser was non validating it may not have looked at the DTD at all (for standalone docs) or only looked at it to get specific information such as entity declarations needed for parsing. Your enumerated attribute type may not have been looked at at all. Even if a validating parser was used, the parser uses that attribute type to flag an error on documents using an incorrect attribute, but the actual parse tree passed to the XSLT engine only reflects the document instance not the DTD declaration. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|