ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » .xsd adn .xml

Post new topic  Reply to topic
 .xsd adn .xml « View previous topic :: View next topic » 
Author Message
RocknRambo
PostPosted: Tue Nov 02, 2004 12:44 pm    Post subject: .xsd adn .xml Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

can we generate a .xsd from.xml...??

I know we can do the other way...like a .xml from a.xsd




-RR
Back to top
View user's profile Send private message
UDFlyers
PostPosted: Tue Nov 02, 2004 2:20 pm    Post subject: Reply with quote

Newbie

Joined: 02 Nov 2004
Posts: 3
Location: Chicago, IL

Some XML tools can do that for you.

I know XML Spy can. Go to -> DTD/Schema -> Generate XSD -> <then you have to choose your data format -I.e. XML Data). This generates an XSD from your sample xml file.


If you don't have XML Spy, and/or can't afford the liciences, I know there are some XML free ware tools that do similar stuff (I.e. www.xmlcooktop.com is one that I've used in the past)

Good luck
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Nov 02, 2004 3:05 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

One of our developer wrote a Perl Script to generate XML file from XSD schema.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Gralgrathor
PostPosted: Wed Oct 06, 2010 7:29 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

kirani wrote:
One of our developer wrote a Perl Script to generate XML file from XSD schema.


Do you know if his code is available somewhere? I've been having trouble making XMLSpy generate complete sample messages. If I can't find some suitable tooling, I'll have to write my own. And while I do love re-inventing the wheel, it can be quite tiresome at times.

Gr
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Oct 06, 2010 7:38 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Broker toolkit can do this, from the XML tools that come with it as either part of the eclipse substrate or the Rational components on top of that.

Right click on an XSD file, select "Generate" and choose the XML File option.

The WebServices Test client that can be invoked from the Java perspective can also do this in a nice UI, and the Message Flow Tester can do this as well to a limited extent.
Back to top
View user's profile Send private message
Gralgrathor
PostPosted: Wed Oct 06, 2010 9:00 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

mqjeff wrote:
Broker toolkit can do this


I *promise* I'll start reading manuals from now on. Thanks!
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Wed Oct 06, 2010 10:17 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Moved to appropriate forum.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » .xsd adn .xml
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.