[jdom-interest] Modify an xml thru JDOM

William Krick wkrick at eio-online.com
Wed Feb 15 08:32:12 PST 2006

You're not in the "tips and tricks" stage yet.

Read these articles, learn a little, then come back when you are stuck...



  -----Original Message-----
  From: Roberto Marra [mailto:rmarra at montefiore.ch]
  Sent: Wednesday, February 15, 2006 10:31 AM
  To: jdom-interest at jdom.org
  Subject: [jdom-interest] Modify an xml thru JDOM

  Hi guys Im new in this list & new with JDOM, so "hi" to everybody & thanx
for your precious comments & helps.

  My question is:

  Let say that I got an XML file like this one:

  <?xml version="1.0" encoding="ISO-8859-1"?>
  <righeOrdine nrOrd="1">
   <id art="292">
    <descrizione>PET FILM CORONA OUTSIDE</descrizione>
   <id art="293">
    <descrizione>PET PVDC COATED</descrizione>

  what I would like to do is thru JDOM update just some value of the <id
art="293">, let say I would update the "codice" from 110071 to 112071. Im
sure is possible to do that, can you just suggest me some tips&tricks to do
it? (of course using java)

  Any help is appriciated


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20060215/2f8fff29/attachment.htm

More information about the jdom-interest mailing list