Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Re: xml editor content assist
Re: xml editor content assist [message #208844] Wed, 20 February 2008 12:06 Go to next message
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 #208860 is a reply to message #208844] Wed, 20 February 2008 12:46 Go to previous message
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?
>>
Previous Topic:Facet Install Order question
Next Topic:native library in a web project
Goto Forum:
  


Current Time: Thu Jul 31 03:40:54 EDT 2014

Powered by FUDForum. Page generated in 0.06179 seconds