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

Re: value of NDATA Entities in attributes

Subject: Re: value of NDATA Entities in attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 11 Aug 2003 21:21:58 +0100
what is ndata
> I think this is what the unparsed-entity-uri() function is for. I've
> been battling with something similar all day. 
> 
> Let me know if you get it to work, coz I certainly can't!

If your system has seen the dtd, so knows the entity then there is
nothing complicated about the function, just unparsed-entity-uri(@href)
will do what is needed, however that is an "If". If you use a
non-validating parser (and most XSLT systems do by default) then the
parser may optionally not read external parts of the dtd and so won't
see the entity declarations.

The only totally standard way to force the entity declaration to be seen
is to put it into the internal subset of the DTD in the main document file.
however many parsers may have specific switches to enable the reading of
external dtd files, if they do not do it by default.

David

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


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.