Subject: Re: [xsl] how to test previous node name From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Sun, 11 Feb 2007 23:38:40 +0100 |
On 2/11/07, xslt. new <xslt.new@xxxxxxxxx> wrote:Hi all:
I have an XML input:
<test1> <item></item> <text></text> <item></item> </test1>
How do I check if the previous node name for <item> is test1 or text?
select="preceding::*[1][self::item1 or self::text]"
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] how to test previous node, Kamal Bhatt | Thread | Re: [xsl] how to test previous node, xslt . new |
Re: [xsl] Making an FAQ page from X, Kamal Bhatt | Date | Re: [xsl] Making an FAQ page from X, John Steel |
Month |