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

RE: Schema aware transformations

Subject: RE: Schema aware transformations
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Wed, 22 Jun 2005 15:40:39 +0100
RE:  Schema aware transformations
> To get the real benefit of schema-aware XSLT processing, you
> really need to start defining match patterns in terms of
> schema-declared elements and types, for example
> <xsl:template
> match="schema-element(invoice)/delivery-address/postcode">
> It's a fair investment to get started (time learning the
> ropes, and time establishing schemas for all your documents)
> but once you're over the curve, it makes the debugging cycle
> a completely different experience - instead of wrong or
> absent output, you get accustomed to expecting early error
> messages, often at compile time.

The problem here is that template match="schema-element(abc)" gets
rejected by the non-SA processor.  The leads onto some questions:

-Does the SA processor require a source schema for every transform (when
using schema-element() etc)?

-Is it possible to store the validated source (the PSVI?) and supply
that for subsequent transforms?

The point to my questions is that I wouldn't want to validate the same
source document every time I wanted to transform it.  If I could
validate it once and then use that per request that would solve that

Other than the 2.0 spec, are there any good resources out there for SA

Current Thread


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.
First Name
Last Name
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.