#1
|
|||
|
|||
![]()
I'm trying to remove the xmlns:cda namespace from the line below:
Code:
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xmlns:cda="urn:hl7-org:v3" xmlns:sdtc="urn:hl7-org:sdtc"> I've tried (separately): Code:
msg.removeNamespace('@xmlns:cda'); msg.replace('xmlns:cda="urn:hl7-org:v3"', '') delete tmp['@xmlns:cda'] |
#2
|
|||
|
|||
![]()
So close! Try this:
Code:
msg = msg.replace('xmlns:cda="urn:hl7-org:v3"', '')
__________________
-= Jack Haines : Founder/CEO of Healthcare Integrations, LLC -= jack.haines@HealthcareIntegrations.com -= Mirth Connect (Advanced)-certified -= Gold member of HL7.org -= Available for Mirth Connect channel development and consultation! Schedule a FREE call with me at https://calendly.com/jackhaines |
![]() |
Tags |
cda, delete, namespace, remove, xml |
Thread Tools | |
Display Modes | |
|
|