xsl-list
[Top] [All Lists]

Re: [xsl] How to View Entity Reference

2006-09-14 22:32:13
Hi David,

Thank you very much for your explanation.


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.

As far as i can see the XSLT

<img src="{unparsed-entity-uri(@ID}}"/>

would do the right thing here. Although of course
".\Equations\008x0001.jpg" should be "./Equations/008x0001.jpg" as in
both xml and html the relevant string should be a uri not a windows file
path.

David

--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--