"//xmlTable/column[@ynIdentityField=0 adn @ynPrimaryKey=0]" should work
--- "Schreck, Tom" <[EMAIL PROTECTED]> wrote: > <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 ===== I-Lin Kuo Macromedia Certified ColdFusion 5.0 Advanced Developer Sun Certified Java 2 Programmer Ann Arbor, MI __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -----------------------+ cf-xml mailing list http://torchbox.com/xml/list.cfm
