Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Generate xml and to existing xml

Reply
Thread Tools

Generate xml and to existing xml

 
 
mike
Guest
Posts: n/a
 
      03-12-2009
Hi,

We have the following xml that needs to be generated for 200 users.



<wopi:createUser>
<typ:WOUser>
<typ:id>
<typ:serviceProviderId>AOne</typ:serviceProviderId>
<typ:companyId>Acme</typ:companyId>
<typ:userId>Alice</typ:userId>
</typ:id>
<typ:sipAddress>sip:</typ:sipAddress>
<typ:firstName>Alice</typ:firstName>
<typ:lastName>Wonderland</typ:lastName>
</typ:WOUser>
</wopi:createUser>

ServiceProviderId and companyId will be the same but I need to
generate a user like:

user001
user002
user003

and so on...

So I will generate a <wopi:createUser>-Node for each user. Then I have
to add this into the existing xml document where we create the
serviceProvider and company.

I am using java 1.5 and I wonder if you have any advice to me in this
matter on how to implement it.

cheers,

//mike
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generate xml and add it to existing xml mike Java 1 03-12-2009 11:26 PM
Existing Dll - using Functions from an existing dll Tristin.Colby@gmail.com Ruby 0 02-05-2008 07:38 PM
Why no existing Java type to existing XML schema binding support? nrm Java 3 04-10-2006 04:52 PM
How to generate variable labels for same component within a generate loop Weng Tianxiang VHDL 5 02-16-2006 01:45 PM
How to generate schema for existing web method? Chris ASP .Net Web Services 1 02-03-2004 05:54 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57