Hi,
I am
testing the XML publishing feature of Informix 11.5, everything works fine for xml input that without namespace.
My question is if i insert a xml with namespace as follow:
<?xml version = '1.0' encoding = 'UTF-8'?><OMG_O19 xmlns="urn:hl7-org:v2xml"> <MSH> <MSH.1>|</MSH.1> <MSH.2>^~\&</MSH.2> <MSH.3> <HD.1>ABCDE</HD.1> </MSH.3> </MSH> </OMG_O19>
when i try query the MSH.3/HD.1 value by this xpath : /OMG_019/MSH/MSH.3/HD.1, i got null returned.
Can someone kindly test me that where should i put the namespace info inside the xpath? or i need to specify it before i use the xpath to perform query?