From: Jeff Sese <jsese(_at_)asiatype(_dot_)com>
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,
This is not possible in a portable manner.
If your processor allows you to use name-spaced output methods, then it
might be possible to write your own method to add this facility through (an)
extension attribute(s).
My own processor provides such a facility. Saxon has something too.
_________________________________________________________________
Windows Live? Messenger has arrived. Click here to download it for free!
http://imagine-msn.com/messenger/launch80/?locale=en-gb
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--