This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Writing external entities to HTML file


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>&amp;<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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]