You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Cheun N Chong <cn...@ecs.soton.ac.uk> on 2000/05/09 22:31:01 UTC
How to traverse the tree using Java packages?
Hi all,
I am really fresh to this XSL and XML thing. Now I would like to
convert the following XML codes:
==================================
<Stuff>
<Milk>
<Expire>May 10</Expire>
</Milk>
<Meat>
<Type>Chicken</Type>
<Type>Pork</Type>
</Meat>
</Stuff>
=================================
I have to create a Java program that traverse the XML codes, get
the value of node <Expire> and change the value. However I have no idea
how should I start. The software packages I am using are LotusXSL and
XML4J. Please give me some directions. Thousand thanks for your kindness
and help.
Best regards,
Cheun Ngen CHONG