Folks, I'm wondering if there's any way to parse the XML that contains 
namespaces. I have an XML-encoded message, e.g.

<?xml version="1.0" encoding="UTF-8"?>
<ns0:ORU_R01 xmlns:ns0="urn:hl7-org:v2xml" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="urn:hl7-org:v2xml ORU_R01.xsd"> 
        <ns0:MSH>
                <ns0:MSH.1>|</ns0:MSH.1>
                <ns0:MSH.2>^~\&amp;</ns0:MSH.2>
                <ns0:MSH.3>
                        <ns0:HD.1>GHH LAB</ns0:HD.1>
                </ns0:MSH.3>
                <ns0:MSH.4>
                        <ns0:HD.1>ELAB-3</ns0:HD.1>
                </ns0:MSH.4>
                <ns0:MSH.5>
                        <ns0:HD.1>GHH OE</ns0:HD.1>
                </ns0:MSH.5>
                <ns0:MSH.6>
                        <ns0:HD.1>BLDG4</ns0:HD.1>
                </ns0:MSH.6>
                <ns0:MSH.7>
                        <ns0:TS.1>200202150930</ns0:TS.1>
                </ns0:MSH.7>
                <ns0:MSH.9>
                        <ns0:MSG.1>ORU</ns0:MSG.1>
                        <ns0:MSG.2>R01</ns0:MSG.2>
                </ns0:MSH.9>
                <ns0:MSH.10>CNTRL-3456</ns0:MSH.10>
                <ns0:MSH.11>
                        <ns0:PT.1>P</ns0:PT.1>
                </ns0:MSH.11>
                <ns0:MSH.12>
                        <ns0:VID.1>2.4</ns0:VID.1>
                </ns0:MSH.12>
        </ns0:MSH>
        <ns0:ORU_R01.PATIENT_RESULT>

...etc.
Can HAPI parse it and convert into a HAPI object?

-- 
Eugene Berman
Sr. Enterprise Solutions Engineer
----
MuleSoft Inc.
77 Geary Street, Ste. 400
San Francisco, CA 94108
Office: 415 229 2063
Website: http://www.mulesoft.com <http://www.mulesoft.com/> 
---
Entia non sunt multiplicanda praeter necessitatem!




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to