Subject: [xsl] Preceding siblings test From: "Hintz, David" <david.hintz@xxxxxxxxxxx> Date: Tue, 14 Sep 2010 11:12:29 -0400 |
Hi, I'm still a novice at XSLT and am having a problem coming up with a test for elements preceding a particular element, but only up to the first occurrence of the same (or parent) element. For example, in this XML: <list> <a/> <item>...</item> <b/><b/><a/> <item>...</item> <item>...</item> <a/><a/> <item>...</item> </list> Assume in this example, <a> and <b> elements can occur before each item (any number of each). When I start processing an <item>, how do I get a list of just those nodes before the first preceding <item> or parent <list> element? Thanks, Dave Hintz Siemens
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] unwanted noNamespaceSchem, David Carlisle | Thread | Re: [xsl] Preceding siblings test, Martin Honnen |
Re: [xsl] unwanted noNamespaceSchem, David Carlisle | Date | Re: [xsl] Preceding siblings test, Martin Honnen |
Month |