Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / March 2008

Tip: Looking for answers? Try searching our database.

XML-Dateien manipulieren (lesen & schreiben)

Thread view: 
Jan Müller - 31 Mar 2008 12:01 GMT
Hallo,

ich möchte eine XML-Datei einlesen, den Text eines bestimmten Elements
(<element>Text</element>) auslesen, diesen manipulieren und wieder zurück in
die XML-Datei schreiben (<element>manipulierter Text</element>). Zum Parsen
und auslesen des XML-Dokuments würde ich SAX benutzen, aber für das
Manipulieren und Zurückschreiben habe ich noch keine Idee. Es wäre schön,
wenn Ihr mir Tips geben könntet oder sogar ein Beispiel, aus der ich mir das
abschauen könnte.

Vielen Dank für Eure Hilfe.

Gruß,
Jan
Alex.From.Ohio.Java@gmail.com - 31 Mar 2008 14:21 GMT
> Hallo,
>
[quoted text clipped - 10 lines]
> Gruß,
> Jan

niht fershtein ;)
Alex.
http://www.myjavaserver.com/~alexfromohio/
Roedy Green - 31 Mar 2008 17:41 GMT
>Hallo,
>
[quoted text clipped - 7 lines]
>
>Vielen Dank f?e Hilfe.

I took a year of German.  Here is my best shot which will be pretty
wobbly:

I have  an XML file.  It has the form(<element>Text</element>).

How do I read,  manipulate, and write this with SAX?
Could you please give me some hints or sample code that I could use to
get an idea of how this works.  Thank you for your assistance.
Signature


Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Jan Müller - 31 Mar 2008 20:25 GMT
Thank you for the translation :-)

Thx,
Jan

>>Hallo,
>>
[quoted text clipped - 17 lines]
> Could you please give me some hints or sample code that I could use to
> get an idea of how this works.  Thank you for your assistance.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.