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

Re: applying templates to all but ...

Subject: Re: applying templates to all but ...
From: George Cristian Bina <george@xxxxxxx>
Date: Fri, 24 Sep 2004 12:36:19 +0300
cristian templates
Hi Bruce,

> I (think I) need to apply-templates to all elements in a namespace
> except for one: cs:creator.  So I've tried this (and a ton of other
> options on the relevant templates:
>
>         <xsl:apply-templates
> select="$style-biblio/cs:reftype[@name='book']/cs:*[not(cs:creator)]">
>           <xsl:with-param name="source" select="."/>
>         </xsl:apply-templates>

I did not follow all your post, but this looks like it should be:
select="$style-biblio/cs:reftype[@name='book']/cs:*[not(self::cs:creator)]">

otherwise you test for a cs:creator child of the matched node.

Hope that helps,
George
-----------------------------------------------
George Cristian Bina
<oXygen/> XML Editor & XSLT Editor/Debugger
http://www.oxygenxml.com



--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
--+--

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.