Subject: Re: Writing external entities to HTML file
From: "Simon North" <north@xxxxxxxxxxxx>
Date: Fri, 16 Nov 2001 17:59:43 +0100
|
Hi David,
Thanks for responding. In my XML, I have this:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="my.xsl" type="text/xsl"?>
<!DOCTYPE mma [
<!ENTITY % graphics SYSTEM "file1.sge">
%graphics;
.
.
.
.]>
.
.
<sheet chg="n" gnbr="MMK20520A000200EN00" gsize="halfa4" key="f0520000361100100001"
revdate="2000.08.31">
In my XSL file, I can easily say:
<xsl:template match="sheet">
<IMG>&<xsl:attribute name="SRC">
<xsl:value-of select="@gnbr"/>;</xsl:attribute>
</IMG>
but somehow I need to get the external entity declaration into the local DTD of the output HTML
file.
Simon.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The media is not the same message.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
Simon North - Fri, 16 Nov 2001 11:08:59 -0500 (EST)
- David Carlisle - Fri, 16 Nov 2001 11:33:18 -0500 (EST)
- Simon North - Fri, 16 Nov 2001 11:59:12 -0500 (EST) <=
- David Carlisle - Fri, 16 Nov 2001 12:24:27 -0500 (EST)
- TP - Fri, 16 Nov 2001 12:37:19 -0500 (EST)
Chris Bayes - Fri, 16 Nov 2001 11:13:25 -0500 (EST)
David Carlisle - Fri, 16 Nov 2001 11:24:45 -0500 (EST)
|
|