You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Christian Schweers <cs...@web.de> on 2005/10/26 11:43:43 UTC

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: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


RE: Problem with SelectPath

Posted by Mike Skells <mi...@ebizz-consulting.com>.
Hi,
What path are you trying?

What is the xml example with all namepaces visible ie no xlmlns="...", just
xmlns:xx="..."

Mike 

> -----Original Message-----
> From: cschweers@web.de [mailto:cschweers@web.de] 
> Sent: 26 October 2005 10:44
> To: user@xmlbeans.apache.org
> 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: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org