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:[EMAIL PROTECTED]]
> Gesendet am:  Freitag, 7. Juni 2002 10:08
> An:   [EMAIL PROTECTED]
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to