Subject: Re: [xsl] 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 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] This can't be right, XML , Francis Norton | Thread | RE: [xsl] This can't be right, XML , Michael Kay |
[xsl] Re: RE: hard core xlt ;-), Dimitre Novatchev | Date | RE: [xsl] transform optimization fo, Michael Brennan |
Month |