[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

Subject: Re: This can't be right, XML with no root element: Saxon & XT vs. Xalan
From: "Rob Lugt" <roblugt@xxxxxxxxx>
Date: Thu, 26 Jul 2001 19:23:02 +0100
parse xml no root element
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.