|
Re: working with XML and XML schemas [message #198715 is a reply to message #198668] |
Wed, 22 August 2007 09:38 |
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 #198867 is a reply to message #198843] |
Thu, 23 August 2007 06:17 |
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 |
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.
>>
>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03269 seconds