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

Re: What effect does DOCTYPE have

Subject: Re: What effect does DOCTYPE have
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Fri, 3 Feb 2006 18:56:28 +0100 (CET)
doctype excel
Colin Paul Adams wrote:

> >>>>> "Michael" == Michael Kay <mike@xxxxxxxxxxxx> writes:

>     Michael> Unfortunately the XML parser doesn't tell the XSLT
>     Michael> processor what DOCTYPE declaration was present, so the

> This is true. But ...

>     Michael> XSLT processor can't reproduce it in the output.

> ... doesn't necessarily follow, since in XSLT 2.0 you can call
> unparsed-text on the document and read the DOCTYPE by hand.

  So *you* reproduce the DOCTYPE, not the XSLT processor, don't you? 
You can also use a parameter to do that.  But the processor itself
can't reproduce the DOCTYPE.  And even if some processor can ('2.6):

    Users should be aware, however, that since the input to
    the transformation is a tree conforming to the XDM data
    model as described in [Data Model], constructs that
    might exist in the original XML document, or in the DOM,
    but which are not within the scope of the data model,
    cannot be processed by the stylesheet and cannot be
    guaranteed to remain unchanged in the transformation
    output. Such constructs include CDATA section
    boundaries, the use of entity references, and the
    DOCTYPE declaration and internal DTD subset.

  Regards,

--drkm





















	

	
		
___________________________________________________________________________ 
Nouveau : tiliphonez moins cher avec Yahoo! Messenger ! Dicouvez les tarifs exceptionnels pour appeler la France et l'international.
Tilichargez sur http://fr.messenger.yahoo.com

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.