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

Re: lost the <!Doctype declaration in the transform...

Subject: Re: lost the <!Doctype declaration in the transform...
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 7 Nov 2001 20:23:05 -0700 (MST)
lost declaration
Ben Skelton wrote:
> I seem to have lost the <!Doctype declaration in the transform...

The document type declaration is not intended for the application.
It is only for the XML parser and the document author -- just like
entity declarations and entity references, CDATA section boundaries,
the encoding declaration, and the bits & bytes that comprise the
encoded document.

>From within XSLT you only have access to those things that are in
the XPath/XSLT data model, which are essentially only those things
that are intended for the application. You don't operate on the
markup in the original document; you operate on the logical
structures implied by some of that markup. It is the parser's job
to sift through the markup and just tell the application what
those structures are.

   - Mike
____________________________________________________________________________
  mike j. brown, fourthought.com  |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  personal: http://hyperreal.org/~mike/


 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.