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

RE: apply-templates and predicates

Subject: RE: apply-templates and predicates
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 28 Apr 2005 14:01:56 -0400
RE:  apply-templates and predicates
At 05:31 AM 4/28/2005, you wrote:
It also increases the chances that the stylesheet will do something unwanted when the schema changes

Unless your definition of "unwanted" considers that data being silently dropped is more unwanted than data passed through even to an invalid result....


(Not that there aren't third possibilities like trapping an exception in some way for unexpected input, for example by using xsl:message or any of a number of other techniques. But the point is, sometimes you'll be expressing and controlling tighter constraints over your output than over your input -- if you are validating your output you can rely on that to catch problems there; but validation processes can't usually see where data that was there, is now missing. So what's "unwanted" depends on the context. Or to put it another way, you're right -- and sometimes it's a good thing that your stylesheet does something unwanted.)

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

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.