You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Milan Jezdik <xj...@seznam.cz> on 2007/02/22 18:49:23 UTC
XSL construction: xsl:template
Hi all,
please, can someone explain me what this construction means (in .xsl file)?
<xsl:template match="@*|node()">
Exactly the left match part:
A) @* .... ????
B) | ..... ????
C) node() . ????
What documentation is this related to?
Thanks for any clue.
Cheers,
Milan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: XSL construction: xsl:template
Posted by Andreas Hartmann <an...@apache.org>.
Milan Jezdik schrieb:
> Hi all,
>
> please, can someone explain me what this construction means (in .xsl file)?
>
> <xsl:template match="@*|node()">
>
> Exactly the left match part:
> A) @* .... ????
> B) | ..... ????
> C) node() . ????
>
>
> What documentation is this related to?
This is XPath syntax. You could start with an XSLT/XPath tutorial.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: XSL construction: xsl:template
Posted by Martin Heiden <ma...@devk.de>.
Milan,
This means that this template matches on all nodes that are
attribute- or element-nodes.
It's an XPath expression in an XSLT template.
To explore it, you should read the XSLT/XPath tutorial and reference
at http://www.zvon.org and/or http://www.w3schools.com it's also
worth to join the (high traffic) mailinglist at
http://www.mulberrytech.com/xsl/xsl-list/index.html
regards,
Martin
am Donnerstag, 22. Februar 2007 um 18:49 schrieben Sie:
> Hi all,
> please, can someone explain me what this construction means (in .xsl file)?
> <xsl:template match="@*|node()">
> Exactly the left match part:
> A) @* .... ????
> B) | ..... ????
> C) node() . ????
> What documentation is this related to?
> Thanks for any clue.
> Cheers,
> Milan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org