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

RE: Matching elements based on element type:

Subject: RE: Matching elements based on element type:
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 17 Jul 2006 17:29:39 +0100
RE:  Matching elements based on element type:
> >   Don't forget to validate your input (to annotate the nodes with 
> > their type).
> >
> 
> Sorry, was this meant for me? You mean in the XML file?
> 

I think that Florent was making guesses about what your next question might
be, and answering it in advance. I prefer to wait and see!

XSLT 2.0 allows schema-aware processing: the stylesheet can be compiled
against a given schema, so it can make references to types defined in the
schema; and it can also select or match elements based on their type. To do
this, the input document must be validated against the right schema. The
validation process marks nodes with the schema type that they were validated
against, and this information can be used for matching template rules or for
selecting elements in path expressions.

Michael Kay
http://www.saxonica.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-2013 All Rights Reserved.