RE: [xsl] Generating <!ENTITY list

Subject: RE: [xsl] Generating <!ENTITY list
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 18 Mar 2009 12:44:03 -0000
You can't do this in standard XSLT, but Saxon has an extension to enable it:

http://www.saxonica.com/documentation/extensions/instructions/doctype.html

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Ganesh Babu N [mailto:nbabuganesh@xxxxxxxxx] 
> Sent: 18 March 2009 12:23
> To: XSL
> Subject: [xsl] Generating <!ENTITY list
> 
> Dear All,
> 
> I am having
> 
> input:
> 
> <graphic file="1.jpg"/>
> 
> 
> <graphic file="2.jpg"/>
> 
> I need to create <!ENTITY List inside the DOCTYPE. Is the any 
> way i can achieve this using XSL. I am using ver 2.0 and saxon9.
> 
> The output should be :
> 
> <!DOCTYPE article
> [
> <!ENTITY gr1 SYSTEM "1.jpg" NDATA IMAGE> <!ENTITY gr2 SYSTEM 
> "2.jpg" NDATA IMAGE> ]>
> 
> Regards,
> Ganesh

Current Thread