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

RE: Using XPath expressions in modes

Subject: RE: Using XPath expressions in modes
From: DPawson@xxxxxxxxxxx
Date: Wed, 25 Apr 2001 10:25:29 +0100
RE:  Using XPath expressions in modes
> From: Oliver Becker 

> <xsl:template match="*">
>    <xsl:message><xsl:value-of select="name()"> not 
> processed</xsl:message>
> </xsl:template>
> 
> So the problem is: if the included stylesheet uses modes to 
> process the
> input, my templates wont be used. I have no way to find out, for which
> modes I need to provide my additional templates, except I 
> look into the
> stylesheet code.

Were we able to have 
  <xsl:template match="*" mode="*">
    Exception processing
  </xsl:template>

Which had a low priority, and was naturally overridden
by any existant templates, that would resolve the problem.

I guess, carrying on with that logic
 <xsl:template match="*:*" mode="*">
    Exception processing
  </xsl:template>

Would do the same where you had forgotten namespace foo:new-element ?

Is that a reasonable request for 2.0?

Regards DaveP


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.