xsl-list
[Top] [All Lists]

RE: [xsl] How to View Entity Reference

2006-09-14 08:25:27
 
Is unparsed-entity-uri() the only function reliant on a DTD 
being used 
in the XML?

no id() is the other one. and in xslt2 there's 
unparsed-entity-public-id as well.

id() doesn't absolutely require a DTD, the id-ness of an attribute can also
result from a schema or from the attribute being named xml:id.

(Incidentally, on Saxon on .NET, id() doesn't work on DTD-defined ID
attributes, because the System.Xml parser doesn't report ID-ness to the
application!)

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--