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

Schema aware transformations

Subject: Schema aware transformations
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Wed, 22 Jun 2005 14:09:32 +0100
 Schema aware transformations
Is it feasible for a schema aware processor to detect unreachable
templates?

I've just been editing a stylesheet after a DTD has been updated and on
a few occasions I've really had to study the DTD to check whether a
template match still applies, eg:

template match="a/b"

Element b still exists, but no longer as a child of a.  It's tempting to
just leave the template in 'just-in-case', but it would be really useful
if the xslt processor would highlight this (of couse, as schema's
replace the DTDs).

Equally, any typo's in the match would also be highlighted.

I asked a similar question in November '04
(http://www.biglist.com/lists/xsl-list/archives/200411/msg00355.html)
but here I'm interested only in template match patterns, rather than
'void' xpaths.

Ultimately I really want to start using SA processing but I can't find
the justification just yet...

cheers
andrew

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.