Link to home
Start Free TrialLog in
Avatar of AlexF777
AlexF777

asked on

need a snippet ( probably with XPAth ) to traverse all XML nodes and produce an output file

containing all full node names ( combining all levels, i.e. level1name.level2name. etc. .. ) and
their values for example, <abc>
                                                 <val1tag> value 1 <val1tag\>

would produce abc.val1tag = value 1
Avatar of Tony McCreath
Tony McCreath
Flag of Australia image

Using XSL may be a better way.

Could you provide a bit more detail on what you need. A more extensive and complete example of the input and output would help.
Avatar of sundar62
sundar62

Attached is a sample java code to get the result. Not sure if this is what you are looking for -
ASKER CERTIFIED SOLUTION
Avatar of sundar62
sundar62

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial