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

RE: xslt phases for FAQ, was Reading the XML declarat

Subject: RE: xslt phases for FAQ, was Reading the XML declaration using XSL 2
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Thu, 20 Jan 2005 14:07:39 -0000
newlines in xslt stylesheet
2 more (dubious ones):

- when validating using XML Schema the source tree gets annotated with
type information.

- namespace prefixes get expanded (namespaces aren't mentioned so far...
need to squeeze them in somewhere)



> Amended by comments so far:
>
>
> Phase 0, XML parse of stylesheet and input document:
>    Expand  character references and parsed entities;
>    Determine source doc encoding.
>    Normalize newlines.
>    Normalize whitespace.
>    Replace CDATA sections with characters.
>    Validate (if using a validating parser with validation switched on)
>       Populate defaulted values if using DTD/XML Schema.
>       Identify any nodes with ID values.
>    URI  resolution (E.g.  Catalog management)
>    Build the internal model of the stylesheet
>        (including URI resolution if needed) by parsing the stylesheet
>        including any included or imported stylesheets.
>    Build the internal model of the source document (if present)
>       Action document properties such as xml:space, xml:base etc
>
>
> Phase 1, XSLT transformation.
>    Apply the stylesheet to the input document (if present) (Colin)
>        URI and entity resolution for any doc() and document() calls
>        from the stylesheet. (Colin)
>        Parse additional entities such as the result of
> document() calls,
>    Build the output tree.
>
> Phase 2, Output | Serialisation
>    From the output tree, produce the output document
>    Apply applicable document properties such as xml:space
>    Apply appropriate character encodings
>    Apply any character maps (XSLT 2.0)
>    This could be
>      DOM Document or
>      SAX stream or
>      Serialised to a Disk file  (Jarno)

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.