J
jeremyg
Hi,
i have an xml document with a namespace declaration ->
xmlns:hl7='urn:hl7-org:v3'
and want to parse it and return a nodelist with all tags that contain
the local name "result". it works fine with the getElementTagByName
method, e.g getElementsByTagName("hl7:result") works fine but i cant
get it to work when searching through a namespace. i have tried ->
getElementsByTagNameNS("urn:hl7-org:v3", "result")
and other variations of it but it wont return anything. i know the
problem is small but i just can't figure out the right solution!! any
helps greatly appreciated,
regards,
jeremy
i have an xml document with a namespace declaration ->
xmlns:hl7='urn:hl7-org:v3'
and want to parse it and return a nodelist with all tags that contain
the local name "result". it works fine with the getElementTagByName
method, e.g getElementsByTagName("hl7:result") works fine but i cant
get it to work when searching through a namespace. i have tried ->
getElementsByTagNameNS("urn:hl7-org:v3", "result")
and other variations of it but it wont return anything. i know the
problem is small but i just can't figure out the right solution!! any
helps greatly appreciated,
regards,
jeremy