[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: About validating post xsl
"Mike Brown" <mike@xxxxxxxx> wrote in message news:200212121921.gBCJLDVg017323@xxxxxxxxxxxxxxxxxxx [skip] > If you choose XML output, and have not used disable-output-escaping, the > serialized result will be well-formed, always. Hmm... Only in some cases. Here's what the spec says: "The xml output method outputs the result tree as a well-formed XML external general parsed entity. If the root node of the result tree has a single element node child and no text node children, then the entity should also be a well-formed XML document entity" http://www.w3.org/TR/xslt#section-XML-Output-Method This also means that in general it will not be possible to validate (or more exactly the validation will fail) the result with a schema/DTD, as they define a well-formed xml document. ===== Cheers, Dimitre Novatchev. http://fxsl.sourceforge.net/ -- the home of FXSL __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com 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
|