[xsl] extending the DTD

Subject: [xsl] extending the DTD
From: Jeff Sese <jsese@xxxxxxxxxxxx>
Date: Thu, 14 Sep 2006 10:53:57 +0800
Hi,

Is it possible to extend a DTD using XSLT? I can declare a system DTD using the doctype-sytem attribute in the xsl:output element, however I want to add extra entity declarations into the system dtd that I added. I want to achieve an out like the one below:

<!DOCTYPE index SYSTEM "D:\RND\ECW\Asiatype DTD\ATI_1.4.dtd" [
<!ENTITY test "some text">
]>
<element>
   <text>&test;</text>
</element>
Thanks,
--
*Jeff*

Current Thread