AnsweredAssumed Answered

Unable to add namespace like below

Question asked by gouthamr388096 on Oct 26, 2017
Latest reply on Oct 27, 2017 by james_m_hutton098090

I need to create a XML file like below (See XML sample below). For "shipping_order_advice, I need namespace like "xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1"

For instruction ekement I need i:type="shipping_order_advice_instruction_fulfill"

I tried many things, but could not figure out how to do that.

 

XML sample

<?xml version='1.0' encoding='UTF-8'?>
<shipping_order_advice_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1">
<instructions>
<instruction i:type="shipping_order_advice_instruction_fulfill">
<items>
<item>

 

Thanks

Goutham

Outcomes