xsl-list
[Top] [All Lists]

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

2008-09-12 02:02:34
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


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

<Prev in Thread] Current Thread [Next in Thread>