PDA

View Full Version : Write XML issue


TOWENS
04-23-2012, 04:29 PM
I'm trying to write multiple XML elements with the same name using the Write XML action as shown below but it will only create/update 1 FieldData element. Any ideas.

<?xml version="1.0" encoding="utf-8"?>
<QCData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<FieldDataList>
<FieldData>
<FieldName>Field1</FieldName>
<FieldValue>Value1/FieldValue>
</FieldData>
<FieldData>
<FieldName>Field2</FieldName>
<FieldValue>Value2</FieldValue>
</FieldData>
</FieldDataList>
</QCData>

kinook
04-24-2012, 06:34 AM
See attached sample.

TOWENS
04-24-2012, 09:20 AM
Excellent. Thanks for the help