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

Re: problems with match

Subject: Re: problems with match
From: "Jochen Metzger" <j.metzger@xxxxxxxxxxxx>
Date: Thu, 25 Jul 2002 12:36:37 +0200
Re:  problems with match
Hi Jarno,

> > It only works like this:
> >
> > <xsl:template name="title" match="/root/output">
> >     <b>Auftrag #<xsl:value-of select="data/ordernr" /> (<xsl:value-of
> > select="data/shopname" />)       </b>
> > </xsl:template>

> Isn't this identical to the one above?

Uups, yes, it should have read:
<xsl:template name="title" match="/root/output">
     <b>Auftrag #<xsl:value-of select="/root/output/data/ordernr" />
(<xsl:value-of´select="/root/output/data/shopname" />)       </b>
</xsl:template>

>Anyhow, calling a template does not change the current node, even if the
template being called has a match attribute.

That was the answer, I was looking for.....

THX

Jochen




 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.