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 11:52:21 +0100
On 9/14/06, vanaja selvaraj <ss.vanaja@xxxxxxxxx> 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

Current Thread