Formatting embedded XML

DustinH

New Member
I have a problem trying to format a list of values into XML. So far I can create my nodes and add values but the problem arises when one of these fields contains XML rather than a single value. I have a mock example below. 1 & 3 display correctly but 2 does not. I would ideally like to tab in the values of Value 2 to show they are all part of this value field but this is not as important as just formatting the XML into a readable format. \[code\]<FieldValues> <FieldName>Name1</FieldName> <FieldValue>Value1<FieldValue></FieldValues><FieldValues> <FieldName>Name2</FieldName> <FieldValue><Value2>2</Value2><List>1</List><ID>58</ID><FieldValue></FieldValues> <FieldValues> <FieldName>Name3</FieldName> <FieldValue>Value3<FieldValue></FieldValues>\[/code\]Any help greatly appreciated.
 
Back
Top