Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Tool / Utility / API to generate XSD from XML Or DTD File
Tool / Utility / API to generate XSD from XML Or DTD File [message #156422] Fri, 13 January 2006 10:58 Go to next message
Ashish Billore is currently offline Ashish BilloreFriend
Messages: 4
Registered: July 2009
Junior Member
Hello Everyone,

I have two requirements:
1. Generate XSD file from an existing XML file.
2. Convert an existing DTD into XSD file.

So, is there any tool / utility / API available in WTP to do this?
I installed WTP (WebTools Platform; All-in-one release 1.0,
wtp-all-in-one-sdk-1.0-win32.zip) and searched the Help which came along
with it, searched the internet but I could not find any such API / Tool in
WTP which could be of use for this purpose.

Please do let me know if any such tool / API is available or if there is a
way to achieve this.

Thanks for the help.

Best Regards,
Ashish
Re: Tool / Utility / API to generate XSD from XML Or DTD File [message #156478 is a reply to message #156422] Sat, 14 January 2006 08:07 Go to previous messageGo to next message
Craig Salter is currently offline Craig SalterFriend
Messages: 169
Registered: July 2009
Senior Member
Ashish Billore wrote:

> I have two requirements:
> 1. Generate XSD file from an existing XML file.
> 2. Convert an existing DTD into XSD file.

> So, is there any tool / utility / API available in WTP to do this?

There's nothing in WTP to let you do this. For XML->XSD see bug 107499
(feel free to vote for this). AFAIK there's no bug open to request
DTD->XSD. I should point out that these functions are available in an IBM
'for sale' product (Rational Application Developer).
Re: Tool / Utility / API to generate XSD from XML Or DTD File [message #156513 is a reply to message #156422] Sat, 14 January 2006 16:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thisisnot.mymail.com

Ashish Billore wrote:
> Hello Everyone,
>
> I have two requirements:
> 1. Generate XSD file from an existing XML file.
> 2. Convert an existing DTD into XSD file.
>

I thought there is no 1-1 conversion between DTD and XSD? Isn't DTD more
general and can express things that XSD can't express (but is more
difficult to write and not verifiable).
Re: Tool / Utility / API to generate XSD from XML Or DTD File [message #156665 is a reply to message #156478] Mon, 16 January 2006 07:40 Go to previous messageGo to next message
Ashish Billore is currently offline Ashish BilloreFriend
Messages: 4
Registered: July 2009
Junior Member
Thanks Craig. I have voted for the Bug 107499. There are certain
"commercially" available tools which provide both of these
functionalities, such as "XML Spy" and they do a fairly good job at
converting DTD to XSD or generating XSD from and XML.

I was looking for something similar in WTP.

Best Regards,
Ashish


craig wrote:

> Ashish Billore wrote:

>> I have two requirements:
>> 1. Generate XSD file from an existing XML file.
>> 2. Convert an existing DTD into XSD file.

>> So, is there any tool / utility / API available in WTP to do this?

> There's nothing in WTP to let you do this. For XML->XSD see bug 107499
> (feel free to vote for this). AFAIK there's no bug open to request
> DTD->XSD. I should point out that these functions are available in an IBM
> 'for sale' product (Rational Application Developer).
Re: Tool / Utility / API to generate XSD from XML Or DTD File [message #156673 is a reply to message #156513] Mon, 16 January 2006 07:42 Go to previous messageGo to next message
Ashish Billore is currently offline Ashish BilloreFriend
Messages: 4
Registered: July 2009
Junior Member
Thanks Srgjan.
There are certain "commercially" available tools which provide both of
these functionalities, such as "XML Spy" and they do a fairly good job at
converting DTD to XSD or generating XSD from an XML.

I was looking for something similar in WTP.

Best Regards,

Ashish



Srgjan Srepfler wrote:

> Ashish Billore wrote:
>> Hello Everyone,
>>
>> I have two requirements:
>> 1. Generate XSD file from an existing XML file.
>> 2. Convert an existing DTD into XSD file.
>>

> I thought there is no 1-1 conversion between DTD and XSD? Isn't DTD more
> general and can express things that XSD can't express (but is more
> difficult to write and not verifiable).
Re: Tool / Utility / API to generate XSD from XML Or DTD File [message #156692 is a reply to message #156422] Mon, 16 January 2006 12:08 Go to previous message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Ashish Billore wrote:

> Hello Everyone,
>
> I have two requirements:
> 1. Generate XSD file from an existing XML file.
xmlbeans plugin have this - search sourceforge

I don't know for dtd->xsd
Previous Topic:Web Service Explorer + SOAP-ENV:Header
Next Topic:xsl files
Goto Forum:
  


Current Time: Thu Mar 28 08:54:00 GMT 2024

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

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

Back to the top