Subject: RE: [xsl] "Or" in XPATH expression at last step From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Tue, 4 Sep 2001 18:50:53 +0100 |
> I am having trouble producing what I think should be a simple Xpath > expression. > I want something like: > > <xsl:for-each select="/TOP/A[@type=2]/(C|D)"> > <xsl:variable name="t" select="/TOP/A[@type=2]"/> <xsl:for-each select="$t/C | $t/D"> or <xsl:for-each select="/TOP/A[@type=2]/*[self::C|self::D]"> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] "Or" in XPATH expression , David Carlisle | Thread | [xsl] Problem running xalan's sampl, Alarcon, Fabio |
[xsl] Problem running xalan's sampl, Alarcon, Fabio | Date | RE: [xsl] default meta tag Revisted, Robert Koberg |
Month |