sachinbaan
28th April 2014, 12:07
Hi,
I want to create XML where one tag is as below:
<Award_Status xsi:nil="true" /> .
I have written below code to achive this,
tempnode = "ProductionItemData_Offer"
xml_node = xmlNewNode(tempnode, XML_ELEMENT, xml_offer_node)
xml_child = xmlNewDataElement("Award_status", XML_ELEMENT, xml_node)
ret = xmlSetAttribute(xml_child, "xsi:nil", "true")
but i m getting runtime error as follows:
I want to create XML where one tag is as below:
<Award_Status xsi:nil="true" /> .
I have written below code to achive this,
tempnode = "ProductionItemData_Offer"
xml_node = xmlNewNode(tempnode, XML_ELEMENT, xml_offer_node)
xml_child = xmlNewDataElement("Award_status", XML_ELEMENT, xml_node)
ret = xmlSetAttribute(xml_child, "xsi:nil", "true")
but i m getting runtime error as follows: