Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Generate XML from XSD(Generate XML from XSD)
Generate XML from XSD [message #525376] Tue, 06 April 2010 12:19 Go to next message
ola  is currently offline ola
Messages: 5
Registered: April 2010
Junior Member
Hi!

I new to Eclipse and I have a question. I'm trying to generate a XML-file from a XSD-file using the WTP-api. But I dont know where to begin.

I saw a function in Eclipse called "Generate XML" when I right- clicked on a XSD-file. Is there any way to access this functionality programactictly?

Cheers Ola
Re: Generate XML from XSD [message #525472 is a reply to message #525376] Tue, 06 April 2010 16:32 Go to previous messageGo to next message
Valentin is currently offline Valentin
Messages: 36
Registered: July 2009
Member
Hi Ola, the wizard class is
org.eclipse.wst.xml.ui.internal.wizards.NewXMLWizard and the actual
generator starts in org.eclipse.wst.xml.ui.internal.wizards.NewXMLGenerator.
These classes are not API.

Hope this helps, Valentin

"ola" <ola.adolfsson@gmail.com> wrote in message
news:hpf8t7$7r3$1@build.eclipse.org...
> Hi!
>
> I new to Eclipse and I have a question. I'm trying to generate a XML-file
> from a XSD-file using the WTP-api. But I dont know where to begin.
> I saw a function in Eclipse called "Generate XML" when I right- clicked on
> a XSD-file. Is there any way to access this functionality programactictly?
>
> Cheers Ola
Re: Generate XML from XSD [message #525656 is a reply to message #525472] Wed, 07 April 2010 11:52 Go to previous messageGo to next message
ola  is currently offline ola
Messages: 5
Registered: April 2010
Junior Member
Thanks for the quick reply.

Hm maybe I can use the wizard to create a XML-body from a XSD. Do you know if the wizard got any limitations (such as it can't handle all XML-tags)?

Re: Generate XML from XSD [message #525798 is a reply to message #525656] Wed, 07 April 2010 19:45 Go to previous messageGo to next message
Valentin is currently offline Valentin
Messages: 36
Registered: July 2009
Member
Is there a specific schema or scenario you have in mind? If you find a
problem, feel free to open a bug in bugzilla
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=WTP%20So urce%20Editing
against the wst.xml component.

Cheers, Valentin

"ola" <ola.adolfsson@gmail.com> wrote in message
news:hphrlp$fb$1@build.eclipse.org...
> Thanks for the quick reply.
> Hm maybe I can use the wizard to create a XML-body from a XSD. Do you know
> if the wizard got any limitations (such as it can't handle all XML-tags)?
>
>
Re: Generate XML from XSD [message #527376 is a reply to message #525376] Thu, 15 April 2010 05:57 Go to previous message
ola  is currently offline ola
Messages: 5
Registered: April 2010
Junior Member
Thanks for the reply. I have been out of town.

I went with another aproach. Thanks for the help anyway !!

// Ola
Previous Topic:starting rhino in debug mode
Next Topic:Doubts using Java EE Modules Dependencies.
Goto Forum:
  


Current Time: Fri Oct 24 21:27:32 GMT 2014

Powered by FUDForum. Page generated in 0.01593 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software