Append childnode(s) base on parentnode's attribute in generating XML

HixAssellaleP

New Member
Here are the codes.\[code\]<P type="DOC-2012-001"> <V n="ID">0</V> <V n="TYPE">Page</V> <V n="STATUS">0</V> <V n="IMAGEFILE"></V> <V n="DATAFILE"></V> <V n="TEMPLATE IMAGE"></V> <V n="MIN_TYPES">0</V> <V n="MAX_TYPES">0</V> <V n="rules"></V> <F type="Remark1" pos="0" min="0" max="0"/> <F type="Remark2" pos="0" min="0" max="0"/></P><F type="Remark1"> <V n="ID">0</V> <V n="TYPE">Field</V> <V n="STATUS">0</V> <V n="POSITION">0,0,0,0</V> <V n="MIN_TYPES">0</V> <V n="MAX_TYPES">0</V> <V n="ReqConf">8</V> <V n="rules"><in><r id="1" rs="9" /></in></V></F>\[/code\]i wish to add \[code\]<F>\[/code\] into one of the \[code\]<P type=>\[/code\] and there are a list of \[code\]<P>\[/code\] and a list of \[code\]<F>\[/code\] which are separated but referenced by same "type".
 
Back
Top