can I use a user variable for xpath_expr
Hallo,
it is not possible to put a variable for xpath_expr instead a string like '//a/b[1]' in function
extractValue(xml_frag, xpath_expr)
For xml_frag it is possible to use a variable.
I would love to keep a whole xpath_expr whithin a variable and run the function like
set @xml := load_file('/tmp/test.xml');
set @xpath = '//a/b[1]';
extractValue(@xml, @xpath);
....or
extractValue(@xml, $@xpath);
...but both does not work...or?
best regards
Steffen Sens
Edited 1 time(s). Last edit at 01/22/2008 10:04AM by Steffen Sens.
Subject
Written By
Posted
can I use a user variable for xpath_expr
January 22, 2008 09:26AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.