Unable to read the xml nodes using final builder

UrbanRyan

New Member
Here is the requirementI want to read all the xml nodes from the xml file and found the last child of each parent node, and include an entry \[code\]"Class=Last"\[/code\] in each last child nodes using finalbuilder (FB6). Here is the xml file structure\[code\]<HelpTOC><HelpTOCNode><HelpTOCNode> </HelpTOCNode></HelpTOCNode></HelpTOC>\[/code\]I have used the \[code\]xml iterator\[/code\] action in final builder to read the nodes and used the Read \[code\]XML value to variable\[/code\] to read the nodes and assign it in the variable and try to found the last child. It reads all the nodes in the xml file and but it returns their Xpath value as below. \[code\]/HelpTOC/HelpTOCNode[1]/\[/code\]Could you please help me on this ?How to read all the xml nodes in the xml file and found the last child of each parent. A sample FB project that illustrate the requirement would be more helpful .Regards
 
Back
Top