xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandy pittendrigh <sa...@cns.montana.edu>
Subject Re: XPath behavior: feature or bug?
Date Tue, 10 Jun 2003 16:04:17 GMT
Thank you Kevin:

I want  to turn XML into an interactive form, that will
allow users to "click-choose" an arbitrary constraint list,
and then turn that into a concatentated xpath statement,
on the fly. Automatically-operational, user-configurable queries
are a powerful idea.  It seems to work too.

$XINDICE_HOME/bin/xindice xpath -l -c /db/data -q

 "/XSIL[

      
XSIL/XSIL/XSIL/XSIL/XSIL/XSIL[@Name='DIRECTIONAL_TUNING']/Param[@Name='value'][text()='262']
         
      and /XSIL/XSIL[@Name='system']/Param[@Name='owner'][text()='gwen']
       etc
               ]/XSIL[@Name='system']"

....gives me exactly what I wanted (AND'ing subpaths as a condition list 
inside the outermost wrapper)

Thank you Kevin.

-- 
/* Sandy Pittendrigh  >--oO0>
 * sandy@cns.montana.edu
 * http://cns.montana.edu/~sandy */



Mime
View raw message