[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: value of NDATA Entities in attributes
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|