W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2007

Re: Apply-Templates

From: Olaf Wentzien <olaf.wentzien@ppi.de>
Date: Thu, 5 Jul 2007 10:47:01 +0200
To: www-xsl-fo@w3.org
Message-ID: <OF3BBEC5E7.B05D4F9E-ONC125730F.002FFA95-C125730F.00303FDA@ppinet.de>

Hi Alexandre,

if you use 

        <xsl:apply-templates select="//para"/>

all <para> - Tags on any level will be selected.

A good source for questions like this is :

http://www.zvon.org/xxl/XPathTutorial/General/examples.html


Regards Olaf

www-xsl-fo-request@w3.org wrote at 04.07.2007 21:01:54:

> 
> A begginner question.
> I have this XSL-FO command:
> 
> <xsl:apply-templates select="pgblk"/>
> 
> and there´s no match template for pgblk.
> Just for <para>
> 
> and in my XML, I have this hierarchy:
> 
> <pgblk>
>     <title> balabalaba</title>
>     <list1>
>         <item1>
>             <para>blabla</para>
>          </item1> 
>     </list1>
> </pgblk> 
> 
> there´s no more call for list1 or item1 template.
> 
> The RenderX, will not find the template for <para>, right?
> What I have to do to reach the match template para?
> 
> 
> Thanks
> 
> Alexandre
> 
> -- 
> View this message in context: http://www.nabble.com/Apply-Templates-
> tf4025940.html#a11435616
> Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
> 
> 
> 
Received on Thursday, 5 July 2007 08:47:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:14 GMT