xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Writing external entities to HTML file


Subject: Re: [xsl] 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>&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



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor