Maybe you should post more information about what you're trying to do exactly (give us some code samples of your XML and XSL. Here's a piece of code I'm using: <xsl:apply-templates select="/page/content"/> So your syntax seems right, but you need to have a template match as well, as in my case: <xsl:template match="content"> <xsl:apply-templates select="sql:rowset[@sql:name='affairesPV']"/> </xsl:template>
Kurt -----Message d'origine----- De : David LAGARDERE [mailto:[EMAIL PROTECTED]] Envoyé : vendredi, 7. juin 2002 10:08 À : [EMAIL PROTECTED] Objet : 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]>