xsl-list
[Top] [All Lists]

Re: [xsl] How to View Entity Reference

2006-09-14 03:52:34
On 9/14/06, vanaja selvaraj <ss(_dot_)vanaja(_at_)gmail(_dot_)com> wrote:
Hi all,

 This is my input XML here I called image as an entity reference
"E0001". When I am trying to view with XSL I am not able to get the
image output.

<?xml version="1.0"?>

<!DOCTYPE TEST SYSTEM "1.dtd" [<!ENTITY E0001 SYSTEM
".\Equations\008x0001.jpg" NDATA jpg>]>

<TEST>
<P>No part of this publication may be reproduced, stored in or
introduced into a retrieval system, or transmitted, in any form, or by
any means.</P>
<IMAGE>
<FIGUREIMAGE ID="E0001"/>
</IMAGE>
</TEST>

That's not how entities work - whoever designed this XML has got it
very wrong...

I wouldn't start writing XSLT for this XML, much better to get it fixed first.

cheers
andrew

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