xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to View Entity Reference


Subject: Re: [xsl] How to View Entity Reference
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 14 Sep 2006 13:42:21 +0100

On 9/14/06, David Carlisle <davidc@xxxxxxxxx> 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?)


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor