Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » working with XML and XML schemas
working with XML and XML schemas [message #198668] Wed, 22 August 2007 06:33 Go to next message
Zohar Amir is currently offline Zohar Amir
Messages: 419
Registered: July 2009
Senior Member
Hi,
I need to work with XML and XML schemas. I'm looking for something which is
schema-aware, so that it can auto-complete as I type and suggest possible
values.
Is there anything I can use with eclipse for this?
Thanks,
Zohar.
Re: working with XML and XML schemas [message #198715 is a reply to message #198668] Wed, 22 August 2007 09:38 Go to previous messageGo to next message
Eclipse User
Originally posted by: merks.ca.ibm.com

Zohar,

Have you tried the XML and XML Schema editors provided by WTP?


zohar wrote:
> Hi,
> I need to work with XML and XML schemas. I'm looking for something
> which is schema-aware, so that it can auto-complete as I type and
> suggest possible values.
> Is there anything I can use with eclipse for this?
> Thanks,
> Zohar.
Re: working with XML and XML schemas [message #198722 is a reply to message #198715] Wed, 22 August 2007 12:15 Go to previous messageGo to next message
Zohar Amir is currently offline Zohar Amir
Messages: 419
Registered: July 2009
Senior Member
Any tutorial or something to learn how to use them?

"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fah080$gn4$1@build.eclipse.org...
> Zohar,
>
> Have you tried the XML and XML Schema editors provided by WTP?
>
>
> zohar wrote:
>> Hi,
>> I need to work with XML and XML schemas. I'm looking for something which
>> is schema-aware, so that it can auto-complete as I type and suggest
>> possible values.
>> Is there anything I can use with eclipse for this?
>> Thanks,
>> Zohar.
Re: working with XML and XML schemas [message #198843 is a reply to message #198722] Thu, 23 August 2007 02:41 Go to previous messageGo to next message
David Williams is currently offline David Williams
Messages: 696
Registered: July 2009
Senior Member
On Wed, 22 Aug 2007 08:15:36 -0400, zohar <david_fire4@hotmail.com> wrote:

> Any tutorial or something to learn how to use them?
>

Do you have them installed yet? I'll start there.
If you use/install Eclipse 3.3 base platform (or SDK) you can go to the Europa
update site, find the XML Feature (under WST, I believe) select it, and then click
the 'required featues' button to automatically select the other things that are needed.

Once installed, under the New .... Samples menu is an option to create an example project with some sample xml and schema files.

That should get you started, at least to the point where perhaps you could ask a more specific question? Others might know of some more specific tutorials, but I'm not sure there is one for simple editing ... which is what I think you are asking for. Let us know if not and/or if this helps.
Re: working with XML and XML schemas [message #198867 is a reply to message #198843] Thu, 23 August 2007 06:17 Go to previous messageGo to next message
Zohar Amir is currently offline Zohar Amir
Messages: 419
Registered: July 2009
Senior Member
Is there a way to assign a schema to an XML file? I have both and I want to
"link them", so that the XML is validated according to the schema I have.
Thanks,
Zohar.

"David Williams" <david_williams@us.ibm.com> wrote in message
news:op.txhq2rofac05ss@dmw2t23.ibm.com...
> On Wed, 22 Aug 2007 08:15:36 -0400, zohar <david_fire4@hotmail.com> wrote:
>
>> Any tutorial or something to learn how to use them?
>>
>
> Do you have them installed yet? I'll start there.
> If you use/install Eclipse 3.3 base platform (or SDK) you can go to the
> Europa
> update site, find the XML Feature (under WST, I believe) select it, and
> then click
> the 'required featues' button to automatically select the other things
> that are needed.
>
> Once installed, under the New .... Samples menu is an option to create an
> example project with some sample xml and schema files.
>
> That should get you started, at least to the point where perhaps you could
> ask a more specific question? Others might know of some more specific
> tutorials, but I'm not sure there is one for simple editing ... which is
> what I think you are asking for. Let us know if not and/or if this helps.
>
>
>
>
Re: working with XML and XML schemas [message #198880 is a reply to message #198867] Thu, 23 August 2007 11:11 Go to previous message
Eclipse User
Originally posted by: merks.ca.ibm.com

Zohar,

You could use an xsi:schemaLocation for this purpose. WTP also has
support for an XML catalog where you can specify that a particular
target namespace is associated with a particular schema location, which
is basically the same as an xsi:schemaLocation but is outside the XML
document rather than repeated in each one.


zohar wrote:
> Is there a way to assign a schema to an XML file? I have both and I
> want to "link them", so that the XML is validated according to the
> schema I have.
> Thanks,
> Zohar.
>
> "David Williams" <david_williams@us.ibm.com> wrote in message
> news:op.txhq2rofac05ss@dmw2t23.ibm.com...
>> On Wed, 22 Aug 2007 08:15:36 -0400, zohar <david_fire4@hotmail.com>
>> wrote:
>>
>>> Any tutorial or something to learn how to use them?
>>>
>>
>> Do you have them installed yet? I'll start there.
>> If you use/install Eclipse 3.3 base platform (or SDK) you can go to
>> the Europa
>> update site, find the XML Feature (under WST, I believe) select it,
>> and then click
>> the 'required featues' button to automatically select the other
>> things that are needed.
>>
>> Once installed, under the New .... Samples menu is an option to
>> create an example project with some sample xml and schema files.
>>
>> That should get you started, at least to the point where perhaps you
>> could ask a more specific question? Others might know of some more
>> specific tutorials, but I'm not sure there is one for simple editing
>> ... which is what I think you are asking for. Let us know if not
>> and/or if this helps.
>>
>>
>>
>>
Previous Topic:Launch NewXMLWizard programmatically
Next Topic:Tomcal server.xml out of sync - any way to refresh ?
Goto Forum:
  


Current Time: Wed Oct 01 16:30:36 GMT 2014

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

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