There are many possible ways to get to it -- there are subtle differences between them: ".//*:FixedValue" will give you all FixedValue elements in all namespaces under the current xml node "declare namespace s='http://www.myNameSpace.org'; ./s:ParameterRefEntry/s:LocationInBits/s:FixedValue " should also work (I'm assuming here that 'http://www.myNameSpace.org' is a default namespace).
Hope this helps, Yana -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 2:44 AM To: [email protected] Subject: Problem with SelectPath Hi, what's the correct query to get the FixedValue?? <ParameterRefEntry parameterRef="PARAMETER_XY"> <LocationInBits referenceLocation="Start"> <FixedValue>218</FixedValue> </LocationInBits> </ParameterRefEntry> For the parameterRef i use this one: String queryExpression = "declare namespace s='http://www.myNameSpace.org' " + ".//s:ParameterRefEntry/@parameterRef"; This works fine but i don't find the right query to get the FixedValue :( Thanks a lot for help! Christian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

