Hello lists,
I'm wondering if anyone has succesfully used the "test" attribute of output
elements in the GeoNetwork config.xml ? Supposedly it selects the first
matching output element where the XPATH that is its value resolves to true.
I need a service to forward to output A if a condition is met, otherwise to
B. The service invokes a Java class that checks which condition applies, and
creates a response that is either
<response><output-A/></response>
or
<response><output-B/></response>
Then the output definitions in the service are like
<output test="//output-A" ..>
but that doesn't work; I also tried
<output test="/response/output-A" ..>
Also doesn't work. The response is not forwarded to the output element,
instead it is just send straight to the browser.
Anyone has an idea ?
Thank you very much
Heikki Doeleman