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

Re: XSLT 2.0, using Schema-aware features

Subject: Re: XSLT 2.0, using Schema-aware features
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 12 Jan 2007 16:26:36 GMT
Re:   XSLT 2.0
> Could someone indicate the best source of info describing this
> workflow

I don't know of any existing sources  but no doubt people here could
speculate on good practice.

I think it depends a bit on how much you really want to use schema
features.

If you just want to validate input and result for example, I think it
should be fairly easy to set up stylesheet defined functions or named
templates that use validation, or don't depending on whether the engine
is schema-aware, then in the rest of the stylesheet you can just use
these functions without having explict schema-aware tests everywhere.


If on the other hand you not only want to validate the input to check
for correctness, but also want to annotate the input tree with type
information and use that in template matching and to avoid explict
casting when calling fuunctions (as the input already has the right
type, such as a date type for example) then I think the only answer
could be don't do that. A basic level processor not only can't call the
schema validator, it's not allowed to use a type annotated tree from any
source (whicle acting at that conformance level).

David

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.