cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andres, Judith" <judith.and...@rauser-ag.com>
Subject AW: XPath and Xalan
Date Fri, 07 Jun 2002 08:31:13 GMT
Hi David,

AFAIK the order of templates in the stylesheet matters:
if your template order is 
<xsl:template match="child_node">...</xsl:template>
<xsl:template match="parent_node/child_node">...</xsl:template>
then the first template will be called because it matches
parent_node/child_node, too.

Judith

> -----Urspr├╝ngliche Nachricht-----
> Von:	David LAGARDERE [SMTP:dlagardere@yahoo.fr]
> Gesendet am:	Freitag, 7. Juni 2002 10:08
> An:	cocoon-users@xml.apache.org
> Betreff:	XPath and Xalan
> 
> Hello.
> 
> It seems that the XPath syntax is not
> fully supported in the "select" attribute
> of "apply-templates" element : 
>  <xsl:apply-templates select="parent_node/child_node">
> doesn't work for me ! The template matching the
> parent_node/child_node is never applied.
> Do I have to use another syntax ?
> 
> Thanks in advance.
> 
> 
> David Lagardere
> 
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran├žais !
> Yahoo! Mail : http://fr.mail.yahoo.com
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message