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

Re: Is there an elegant way to copy a DOCTYPE declaration fr

Subject: Re: Is there an elegant way to copy a DOCTYPE declaration from one doc to another?
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Thu, 10 Aug 2000 22:13:50 +0200
Re: Is there an elegant way to copy a DOCTYPE declaration fr
Joe,

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.)

I have posted the description of a possible solution to this issue:
http://www.xml.com/pub/2000/08/09/xslt/xslt.html
 
> Is this a major flaw in XSLT?

Not really in XSLT, rather on the layered architecture below XSLT (the
information is lost by the SAX interface).

Eric
> 
> Thanks,
> Joe
> 
> (Still wearing XSL training wheels...)
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.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-2011 All Rights Reserved.