[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: This can't be right, XML with no root element: Sax
Francis Norton wrote > > > > > <?xml version="1.0" encoding="utf-8"?>(1.1) An image element > > > > The XSLT 1.0 specification is clear that the output does not have to be a > > well-formed XML document, only a well-formed external general parsed entity. > > Which means, in effect, something that would be a well-formed document if > > you put a start and end tag around it. Whether you or I happen to like this > > spec is somewhat irrelevant. > > > out of curiousity, would the above output be a well-formed external > general parsed entity, given that it starts with an xml declaration? > Yes, but in the case of external parsed entities it's not an xml declaration it's called a Text Declaration (the encoding pseudo-attribute is mandatory). ~Rob 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
|