xml editor content assist [message #73619] |
Fri, 15 February 2008 16:13  |
Eclipse User |
|
|
|
Originally posted by: t.agnoloni.gmail.com
in org.eclipse.wst.xmleditor outline view, by right clicking on an
element, the list of valid content is shown. i presume that it's read from
the xsd grammar linked to the document. is it related to org.eclipse.xsd
library? are there methods that provide default valid contents for an
element given the associated schema? which?
|
|
|
Re: xml editor content assist [message #73637 is a reply to message #73619] |
Wed, 20 February 2008 17:06   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Tommaso,
I've been on vacation so I'm slow to respond. I'm not sure if the XML
editor is using the XSD model or not. It's best to ask on the WTP
newsgroup, which I've added to the "to" list of the reply.
tommaso wrote:
> in org.eclipse.wst.xmleditor outline view, by right clicking on an
> element, the list of valid content is shown. i presume that it's read
> from the xsd grammar linked to the document. is it related to
> org.eclipse.xsd library? are there methods that provide default valid
> contents for an element given the associated schema? which?
>
|
|
|
Re: xml editor content assist [message #73655 is a reply to message #73637] |
Wed, 20 February 2008 17:46  |
Eclipse User |
|
|
|
Originally posted by: dcarver.starstandard.org
If there is an XSD associated with the XML file through either a XML
Catalog or through the schemaLocation attribute, it will use the XSD
model from EMF.
Dave
Ed Merks wrote:
> Tommaso,
>
> I've been on vacation so I'm slow to respond. I'm not sure if the XML
> editor is using the XSD model or not. It's best to ask on the WTP
> newsgroup, which I've added to the "to" list of the reply.
>
>
> tommaso wrote:
>> in org.eclipse.wst.xmleditor outline view, by right clicking on an
>> element, the list of valid content is shown. i presume that it's read
>> from the xsd grammar linked to the document. is it related to
>> org.eclipse.xsd library? are there methods that provide default valid
>> contents for an element given the associated schema? which?
>>
|
|
|
Re: xml editor content assist [message #602817 is a reply to message #73619] |
Wed, 20 February 2008 17:06  |
Eclipse User |
|
|
|
Tommaso,
I've been on vacation so I'm slow to respond. I'm not sure if the XML
editor is using the XSD model or not. It's best to ask on the WTP
newsgroup, which I've added to the "to" list of the reply.
tommaso wrote:
> in org.eclipse.wst.xmleditor outline view, by right clicking on an
> element, the list of valid content is shown. i presume that it's read
> from the xsd grammar linked to the document. is it related to
> org.eclipse.xsd library? are there methods that provide default valid
> contents for an element given the associated schema? which?
>
|
|
|
Re: xml editor content assist [message #602825 is a reply to message #73637] |
Wed, 20 February 2008 17:46  |
Eclipse User |
|
|
|
Originally posted by: dcarver.starstandard.org
If there is an XSD associated with the XML file through either a XML
Catalog or through the schemaLocation attribute, it will use the XSD
model from EMF.
Dave
Ed Merks wrote:
> Tommaso,
>
> I've been on vacation so I'm slow to respond. I'm not sure if the XML
> editor is using the XSD model or not. It's best to ask on the WTP
> newsgroup, which I've added to the "to" list of the reply.
>
>
> tommaso wrote:
>> in org.eclipse.wst.xmleditor outline view, by right clicking on an
>> element, the list of valid content is shown. i presume that it's read
>> from the xsd grammar linked to the document. is it related to
>> org.eclipse.xsd library? are there methods that provide default valid
>> contents for an element given the associated schema? which?
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04991 seconds