This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Is there an elegant way to copy a DOCTYPE declaration from one do c to another?
- To: xsl-list at mulberrytech dot com
- Subject: RE: Is there an elegant way to copy a DOCTYPE declaration from one do c to another?
- From: bryan dot s dot schnabel at exgate dot tek dot com
- Date: Thu, 10 Aug 2000 12:41:49 -0700
- Reply-To: xsl-list at mulberrytech dot com
This:
<xsl:output doctype-system="my.dtd"/>
is how I do it. I don't know how elegant it is.
Bryan Schnabel
-----Original Message-----
From: Joe Ward [mailto:jward@market-touch.com]
Sent: Thursday, August 10, 2000 10:35 AM
To: XSL-List@mulberrytech.com
Subject: Is there an elegant way to copy a DOCTYPE declaration from one
do c to another?
So far, the only way I've found to keep the doctype declaration intact after
a "pass-through" transformation is to hide a copy of the declaration in a
comment via a pre-processor and then extract it.
Is there a more elegant way? (Frankly, if I have to write a preprocess
script, I might as well skip XSLT altogether.)
Is this a major flaw in XSLT?
Thanks,
Joe
(Still wearing XSL training wheels...)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list