This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XML and text declarations (was Can I access elements in the output tree?)


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]