[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] How to display figure if they are defined in the top of the XML file as an entity


Subject: [xsl] How to display figure if they are defined in the top of the XML file as an entity
From: "J. S. Rawat" <jrawat@xxxxxxxxxxxxxx>
Date: Fri, 12 Sep 2008 11:24:30 +0530

Hi List
Needed another help. I don't have any Idea about this kind of concept. I even don't know how to process.


<!-- INPUT -->
<!DOCTYPE "xxx" "xxx.dtd"
[<!ENTITY F001 SYSTEM "images/fig1.jpg" NDATA JPEG>
<!ENTITY F002 SYSTEM "images/fig2.jpg" NDATA JPEG>
<!ENTITY per SYSTEM "images/per.jpg" NDATA JPEG>
]>
<main>

<docGroup>
<doc id="a1">
<figure entity="F001" id="fig1">
  <figDesc>figure 1</figDesc>
</figure>
<figure entity="F002" id="fig2">
  <figDesc>figure 2</figDesc>
</figure>
</doc>
<doc id="a2">
<figure entity="per" id="ufig">
  <figDesc>ufig</figDesc>
</figure>
</doc>
</docGroup>
</main>

<!-- OUTPUT -->
<img src="fig1.jpg"/>
<img src="fig2.jpg"/>
<img src="per.jpg"/>

Thanks


Current Thread