Did you try <xsl:for-each select="//xmlTable/column[@ynIdentityField=0 and @ynPrimaryKey=0]">
works in my testing. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Schreck, Tom Sent: Tuesday, October 01, 2002 2:38 PM To: [EMAIL PROTECTED] Subject: [cf-xml] XPath Expression Help <column ynIdentityField="0" ynPrimaryKey="0"> I have several nodes in an XML document that have both ynIdentity and ynPromaryKey attributes set to 0 as the above example indicates. I need to pull these out and loop over them but am having difficulty writing the XPATH expression that checks for both conditions. Any help would be appreciated. Here's the xpath I'm currently using: <xsl:for-each select="//xmlTable/column[@ynIdentityField=0] and //xmlTable/column[@ynPrimaryKey=0]"> This is not working. Thanks - Tom Schreck 817-252-4900 [EMAIL PROTECTED] I have not failed. I've found 10,000 ways that won't work. - Thomas Edison -----------------------+ cf-xml mailing list http://torchbox.com/xml/list.cfm -----------------------+ cf-xml mailing list http://torchbox.com/xml/list.cfm
