Hi Everyone,
Is there a way to decorate request and response xml. Below is what I get, in short is there a way to not include the element with xsi:nil="true" and also I need to remove the xmlns = "".
<?xml version="1.0" encoding="UTF-8"?>
<ControlActEvent classCode="CACT" moodCode="EVN" xmlns="">
<author typeCode="AUT">
<AgentPersonSDS classCode="AGNT">
<id extension="676314" root="1.2.826.0.1285.0.2.0.67"/>
<agentPersonSDS classCode="PSN" determinerCode="INSTANCE">
<id root="1.2.826.0.1285.0.2.0.65"/>
</agentPersonSDS>
<part typeCode="[EMAIL PROTECTED]">
<partSDSRole classCode="ROL">
<id root="1.2.826.0.1285.0.2.1.104"/>
</partSDSRole>
</part>
</AgentPersonSDS>
</author>
<query>
<person.address>
<value>
<addressKey xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<desc xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<delimiter xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<country xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<state xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<county xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<city xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<postalCode xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<streetAddressLine xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<streetName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<houseNumber xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<direction xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<additionalLocator xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<postBox xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<censusTract xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<useablePeriod xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</value>
<semanticsText>person.address</semanticsText>
</person.address>
<person.administrativeGenderCode>
<value code="1" nullFlavor=""/>
<semanticsText>person.administrativeGenderCode</semanticsText>
</person.administrativeGenderCode>
<person.birthTime>
</query>
</ControlActEvent>
Thanks,
Parikh, Pratik
| CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ---------------------------------------- -- |
