posted 9 years ago
writing count of xml elements in root element attributes in spring batch
I mean like below XML
<target totJar="1" totJac="1">
<jar>
...
</jar>
<javac>
...
</javac>
</target>
I am using StaxEventItemWriter. but i need to write them in root element after processing all xml.
Any help is appreciated.