On 9/14/06, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
> That's not how entities work - whoever designed this XML has got it
> very wrong...
what's wrong with it!!! It's _exactly_ how NDATA entities work.
Oh dear, I got it very wrong, sorry. unparsed-entity-uri() is
completely new to me (with 7 years ish of xslt now....)
As far as i can see the XSLT
<img src="{unparsed-entity-uri(@ID}}"/>
would do the right thing here.
Yes, reading around briefly it seems that's how it works, although it
looks like a really bad idea. Surely a legacy thing? (or is it widely
used and I'm just blinkered?)
--~------------------------------------------------------------------
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>
--~--