|
Subject: [xsl] Retrieving top section from a navigation tree From: "Mario Caprino" <mariocaprino@xxxxxxxxxxx> Date: Wed, 27 Oct 2004 18:30:20 +0200 |
Here's an example tree;
<xsl:variable name="ul">
<ul id="menu">
<li id="1">one</li>
<li id="2">two
<ul>
<li id="2-1">two-one</li>
<li id="2-2">two-two
<ul>
<li id="2-2-1">two-two-one</li>
</ul>
</li>
</ul>
</li>
<li id="3">three</li>
</ul>
</xsl:variable>My failed xpath expression so far looks like this; exsl:node-set($ul)/ul[@id='menu']/li[//li/@id=$id]/text()
Best regards, Mario Caprino
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Oracle10g and xsl, Lincoln Mitchell | Thread | Re: [xsl] Retrieving top section fr, David Carlisle |
| RE: [xsl] RSS problems, Pieter Reint Siegers | Date | Re: [xsl] Retrieving top section fr, David Carlisle |
| Month |