David,

It seems that Judith meant misspelling with <items>...</item> tags (the
closing one is incorrect) and "</rowset" tag (it has no closing bracket
>). After fixing this I was able to apply the following XSL by means of
default cocoon's transformer:
. . .
<xsl:template match="search">
 <html>
 <xsl:apply-templates select="items/rowset" />
 </html>
</xsl:template>

<xsl:template name="items-list" match="items/rowset">
 inside:
 <xsl:value-of select="."/>
</xsl:template>
</xsl:stylesheet>

And the result is the following:

<?xml version="1.0" encoding="UTF-8"?>
 <html xmlns:fo="http://www.w3.org/1999/XSL/Format";>
 inside:
   Some data
 </html>

Best regards.
Roman

David LAGARDERE wrote:

> For Judith : I have the xml & xsl prefix, so it
> doesn't come from here. Thanks for your test.
>
> For Luca : I don't use any namespace name.
>
> But I didn't precised that my XSL stylesheet
> is applied by Cocoon default XSLT Transformer. Could
> it help ?
>
> Regards,
>
> 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