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/[EMAIL PROTECTED]'DIRECTIONAL_TUNING']/[EMAIL PROTECTED]'value'][text()='262'] and /XSIL/[EMAIL PROTECTED]'system']/[EMAIL PROTECTED]'owner'][text()='gwen']
etc
]/[EMAIL PROTECTED]'system']"


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

Thank you Kevin.

--
/* Sandy Pittendrigh  >--oO0>
* [EMAIL PROTECTED]
* http://cns.montana.edu/~sandy */




Reply via email to