| 
 
Subject: Re: [xsl] Help with XPath statement From: Florent Georges <lists@xxxxxxxxxxxx> Date: Mon, 3 Mar 2008 00:35:32 +0100 (CET)  | 
Raymond Bissonnette wrote:
> I'm stuck with XSLT 1.0 (ASP.NET) and worse, what I'm after is
> to get a list of <set ... > nodes with the SelectNodes method
> of an XmlDocument.
  I don't know XmlDocument.  If you want XSLT, change <xsl:value-of
select="."/> by <xsl:copy-of select=".."/> in the solution Ken proposed
to you.  If you want an XPath:
    section[@id = '0802']/set[
        not(@key = ../following-sibling::section/set/@key) ]
    | section[@id = '0803']/set
or:
    section[@id = '0802']/set[
        not(@key = ../../section[@id = '0803']/set/@key) ]
    | section[@id = '0803']/set
should be what you are after.  Not tested!
  Regards,
--drkm
      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Help with XPath statement, Raymond Bissonnette | Thread | RE: [xsl] Help with XPath statement, Raymond Bissonnette | 
| Re: [xsl] Slow XSLT, Manfred Staudinger | Date | Re: [xsl] Slow XSLT, Cleyton Jordan | 
| Month |