cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hahn Kurt (CHA)" <kurt.h...@etat.ge.ch>
Subject RE: XPath and Xalan
Date Fri, 07 Jun 2002 08:25:24 GMT
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:dlagardere@yahoo.fr]
Envoyé : vendredi, 7. juin 2002 10:08
À : cocoon-users@xml.apache.org
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: <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