This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XML and text declarations (was Can I access elements in the output tree?)
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: XML and text declarations (was Can I access elements in the output tree?)
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 10 Nov 2000 13:19:27 -0000
- Reply-To: xsl-list at mulberrytech dot com
> So, now I'm confused! The xml output always renders an
> extParsedEnt [78],
> while I had the impression that it renders a document [1].
Your confusion is justified, the XSLT spec itself is confused on this point.
It says at one stage that the output is always an external general parsed
entity (EGPE) but later on, makes clear that it can be a document that is
not an EGPE, for example if it has a DOCTYPE declaration or uses
standalone="yes".
None of this alters the fact that the spec is quite clear that you can't use
the <xsl:processing-instruction> element to produce an XML declaration or
text declaration.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list