[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Generating
Subject: [xsl] Generating <!ENTITY list
From: Ganesh Babu N <nbabuganesh@xxxxxxxxx>
Date: Wed, 18 Mar 2009 17:53:28 +0530

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