BizTalk Utilities Xselerator XSLT IDE


Forum main page

Most active member

Login page
Register
Log out

Search page

View our event calendar
Add general event such as an upcoming software release or conference
View all birthdays

Public image gallery
Upload your images in your profile

Profile editing page
Subscription list page
Address book page

Member list page
View the most active member
User groups listing

Private message page

TopXML Discussion Forum TopXML Discussion Forum

Forums  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

XML generating from xsd

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Ask XML questions here] >> .NET programming discussions >> XML generating from xsd Page: [1]
Login
Message << Older Topic   Newer Topic >>
XML generating from xsd - 26 September 2007   
whoknow

 

Posts: 2
Score: 0
Joined: 26 September 2007
Status: offline
Hi everybody,
Can anyone please show me if there is a way (in VB6 or C#) to generate an XML as described below:

quote:

xmlSource.xml
<Customer>
   <FName>Smith</FName>
   <OAddress>123</OAddress>
   <MPhone>9582536</MPhone>
</Customer>


xmlDest.xml
<User>
   <FirstName>Smith</FirstName>
   <OfficeAddress>123</OfficeAddress>
   <MobilePhone>9582536</MobilePhone>
</User>


What I want here is generate xmlDest.xml from xmlSource.xml with different xml tags (base on xsd file). I dont want to read the xmlSource.xml file and match them tags by tags in xmlDest.xml

any help is appreciate 

< Message edited by whoknow -- 26 September 2007 >
Post #: 1
RE: XML generating from xsd - 27 September 2007   
jkmyoung

 

Posts: 259
Score: 6
Joined: 14 September 2004
Status: offline
I'd suggest either a scripting language, or XSLT.
http://msdn2.microsoft.com/en-us/library/aa735784(VS.71).aspx

www.w3schools.com/xsl

(in reply to whoknow)
Post #: 2
RE: XML generating from xsd - 1 October 2007   
whoknow

 

Posts: 2
Score: 0
Joined: 26 September 2007
Status: offline
Hi jkmyoung,
  thx for you help, will give it a try :)

(in reply to jkmyoung)
Post #: 3
Page:   [1]
All Forums >> [Ask XML questions here] >> .NET programming discussions >> XML generating from xsd Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



Email TopXML

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.047