This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Writing external entities to HTML file
- From: "Simon North" <north at Synopsys dot COM>
- To: xsl-list at lists dot mulberrytech dot com
- Cc: sintac at home dot nl
- Date: Fri, 16 Nov 2001 17:59:43 +0100
- Subject: Re: [xsl] Writing external entities to HTML file
- Organization: Synopsys
- References: <3BF5484C.29866.1BC9B17@localhost> (north@synopsys.com)
- Reply-to: xsl-list at lists dot mulberrytech dot com
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