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]

Copying unparsed entity using XSL


Subject: Copying unparsed entity using XSL
From: Bovone Stefano <Stefano.Bovone@xxxxxxxx>
Date: Thu, 11 Nov 1999 16:08:53 +0100

I have a xml document like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Job SYSTEM "doc.dtd" [
<!ENTITY pcl0001 SYSTEM "pcl0001.pcl" NDATA BINARY>
]>

<Job>
   <Print/>
</Job>

I would like to obtain the identity trasformation using something like:

<xsl:template match="@* | node()">
 <xsl:copy>
  <xsl:apply-templates select="@* | node()"/>
 </xsl:copy>
</xsl:template>

but I want that the Entity:

<!ENTITY pcl0001 SYSTEM "pcl0001.pcl" NDATA BINARY>

is in the output file.

Is this possible using XSLT (and XT or LotusXSL or ..) ?

Thanks in advance.

Bye.


 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