xsl-list
[Top] [All Lists]

Re: [xsl] adding hierarchy

2008-04-03 11:05:00
Jim_Albright(_at_)wycliffe(_dot_)org wrote:

  Hi

<xsl:template match="item[following::*[1]=following::list[1]]">

  If you want to test if the following element is a 'list', use
instead:

    item[following::*[1][self::list]]

        <xsl:element name="item">

  This is not an error, but this is usually easier to read when you use
literal elements:

    <item>

  Regards,

--drkm






















      
_____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Plus de moyens pour rester en contact. 
http://mail.yahoo.fr

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>