|
Subject: Re: [xsl] Find ancestor attribute of variable From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 30 Nov 2004 12:03:41 GMT |
<xsl:variable name="type" select="ancestor::$anchor-node[name(.) = 'contentitem'] you can't have a variable after an axis, you just want $anchor-node/ancestor::contentitem[1]/@type David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Find ancestor attribute of va, Robert Soesemann | Thread | RE: [xsl] Find ancestor attribute o, Michael Kay |
| Re: [xsl] Test for node name and at, David Carlisle | Date | RE: [xsl] Test for node name and at, Robert Soesemann |
| Month |