| Subject: [xsl] "Or" in XPATH expression at last step From: "Miller, Sam" <sam.miller@xxxxxxxxx> Date: Tue, 4 Sep 2001 10:31:52 -0700 | 
Folks, 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)"> but the xsl parser says it's illegal. Is there some variant on the expression above that will work? instead, I have been forced to use the following, which gets messy when E,F,G are added. <xsl:for-each select="/TOP/A[@type=2]/C|/TOP/A[@type=2]/D"> Sam XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: RE: [xsl] XQuery 1.0 and XPath , ura | Thread | Re: [xsl] "Or" in XPATH expression , David Carlisle | 
| Re: [xsl] default meta tag Revisted, David Carlisle | Date | Re: [xsl] default meta tag Revisted, David Carlisle | 
| Month |