Re: [xsl] This can't be right, XML with no root element: Saxon & XT vs. Xalan

Subject: Re: [xsl] This can't be right, XML with no root element: Saxon & XT vs. Xalan
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2001 15:51:49 +0100 (BST)
David Carlisle wrote at 27 Jul 2001 15:09:42 +0100:
 > >  so you cannot
 > > read in a simple ASCII file, for example?
 > 
 > That's true. XML (unlike SGML) decided that all external entities were
 > parsed as XML.

No, there's also external unparsed entities.

When you declare an external unparsed entity in the DTD, you also have
to provide a notation name, and the notation also has to be declared
in the DTD.

External unparsed entities are referred to in the document in
attributes of type ENTITY or ENTITIES.  You can get from the entity
name to the URI that was used in the entity declaration using XSLT's
unparsed-entity-uri() function.

Regards,


Tony Graham
------------------------------------------------------------------------
Tony Graham                           mailto:tony.graham@xxxxxxxxxxxxxxx
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread