Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Generate xml and to existing xml

From: mike <mikaelpetterson@-------.--->
To: NULL
Date: 3/12/2009 9:48:00 AM
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:alice@m...</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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent