[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: extending the DTD

Subject: RE: extending the DTD
From: "Colin Adams" <colinpauladams@xxxxxxxxxxx>
Date: Thu, 14 Sep 2006 07:22:05 +0100
RE:  extending the DTD
From: Jeff Sese <jsese@xxxxxxxxxxxx>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.