This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Is there an elegant way to copy a DOCTYPE declaration fromonedo c to another?
- To: xsl-list at mulberrytech dot com
- Subject: Re: Is there an elegant way to copy a DOCTYPE declaration fromonedo c to another?
- From: "Rick Geimer" <Rick dot Geimer at nsc dot com>
- Date: Thu, 10 Aug 2000 11:28:30 -0700
- References: <7C83BEA57F0AD411AF6400062939D0363FF94A@EXMAIL2>
- Reply-To: xsl-list at mulberrytech dot com
Joe Ward wrote:
>
> 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?
Some of us think so, especially when the declaration subset contains
entity declarations.
Rick Geimer
National Semiconductor
rick.geimer@nsc.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list