Search the web
Sign In
New User? Sign Up
xmlpull-user
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
writing to xml file   Message List  
Reply | Forward Message #28 of 308 |
I have some java code (in jbuilder 7) that has data in a vector. I
want to get all this data out to an xml file. It is not in xml format
at all. This is part of the vector:

[FH|RCP-SDM|1.0, T|ABC|123456.123N|1234567.123W .....

I want to be able to get this data in this format in an xml file
without brute forcing it (and I guess I will do that if I have to,
but I would rather not):

<table>
<entry>
<Header>FH</Header>
<Title>RCP-SDM</Title>
<Version>1.0</Version>
</entry>
<Header>T</Header>
<Name>ABC</Name>
<Latitude>123456.123N</Latitude>
<Longitude>1234567.123W</Longitude>
</entry>
</table>

Can this be done using xmlpull or not? Any help you can give me would
be great. Thanks.

Allyson




Fri Feb 14, 2003 3:57 pm

eskgwin
Offline Offline
Send Email Send Email

Forward
Message #28 of 308 |
Expand Messages Author Sort by Date

I have some java code (in jbuilder 7) that has data in a vector. I want to get all this data out to an xml file. It is not in xml format at all. This is part...
eskgwin <eskgwin@...>
eskgwin
Offline Send Email
Feb 14, 2003
3:57 pm

... hi Allyson, that should be very easy - use XmlSerializer. for example to write beginning of your sample XML: import java.io.IOException; import...
Aleksander Slominski
as10m
Offline Send Email
Feb 14, 2003
4:37 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help