[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to View Entity Reference

Subject: RE: How to View Entity Reference
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 14 Sep 2006 16:25:10 +0100
RE:  How to View Entity Reference
> > 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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.