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

Re: How can I merge two DTD by using XSL ?

Subject: Re: How can I merge two DTD by using XSL ?
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Sun, 24 Mar 2002 16:04:02 +0000
xml dtd merge
Hi Stephane,

> Is it possible to merge the two files (xsldefinition1.dtd and
> xsldefinition2.dtd) by using XSL ?

XSLT is built to work over XML files, not over DTDs. The only way of
getting XSLT to understand the information held in your DTDs is using
a tool that converts the DTD to an XML document of some form.
Similarly, the best way to get a DTD out of the transformation will be
to have the transformation produce XML that is then serialized (by the
XSLT processor) as a DTD.

The latter is fairly straightforward, especially if you're using
Saxon, which has this capability built-in. A brief search didn't come
up with anything that turns a DTD into an XML form, so you might have
to create something yourself to do that.

And if you're having to program something special to convert into XML
anyway, you might consider using something other than XSLT for doing
the merging...

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.