Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to get the autocompletion element liste from XML Edior?
How to get the autocompletion element liste from XML Edior? [message #202954] Wed, 24 October 2007 10:32 Go to next message
Eclipse User
Originally posted by: roman.reimer.xi-works.de

This is a multi-part message in MIME format.

------=_NextPart_000_0059_01C8165B.868E0AF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hallo,

How to get the autocompletion element liste from XML Edior? ( by =
Ctrl+Space)


------=_NextPart_000_0059_01C8165B.868E0AF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<P><FONT face=3DArial size=3D2>Hallo,</FONT></P>
<P><FONT face=3DArial size=3D2>How to get the autocompletion element =
liste from XML=20
Edior? ( by Ctrl+Space)</FONT></P>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0059_01C8165B.868E0AF0--
Re: How to get the autocompletion element liste from XML Edior? [message #202995 is a reply to message #202954] Wed, 24 October 2007 15:58 Go to previous messageGo to next message
David Carver is currently offline David Carver
Messages: 174
Registered: July 2009
Senior Member
Roman Reimer wrote:
> Hallo,
>
> How to get the autocompletion element liste from XML Edior? ( by Ctrl+Space)
>
>
You'll need a grammar attached to the XML Instance either through an XML
Catalog, DTD, or XML Schema (xsi:schemaLocation) attribute or
declaration. The other option is to turn on the Grammar Constraints
option in the Preferences section under: Web and XML -> XML Files -> Source.

Depending on the size of your XML, the editor should be able to infer
the structure, and provide content assist.

Dave
Re: How to get the autocompletion element liste from XML Edior? [message #203056 is a reply to message #202995] Thu, 25 October 2007 03:39 Go to previous messageGo to next message
Eclipse User
Originally posted by: roman.reimer.xi-works.de

sorry, i need it in my programm as ArrayList.


"David Carver" <d_a_carver@yahoo.com> schrieb im Newsbeitrag
news:ffo4ja$p46$1@build.eclipse.org...
> Roman Reimer wrote:
>> Hallo,
>>
>> How to get the autocompletion element liste from XML Edior? ( by
>> Ctrl+Space)
>>
>>
> You'll need a grammar attached to the XML Instance either through an XML
> Catalog, DTD, or XML Schema (xsi:schemaLocation) attribute or declaration.
> The other option is to turn on the Grammar Constraints option in the
> Preferences section under: Web and XML -> XML Files -> Source.
>
> Depending on the size of your XML, the editor should be able to infer the
> structure, and provide content assist.
>
> Dave
Re: How to get the autocompletion element liste from XML Edior? [message #203275 is a reply to message #203056] Mon, 29 October 2007 05:37 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2235
Registered: July 2009
Senior Member
Roman Reimer wrote:
> sorry, i need it in my programm as ArrayList.

While we don't provide any APIs for this, you may still explore the
internal ModelQuery interface from the XML core plug-in and open
specific API requests in Bugzilla.

--
Nitin Dahyabhai
Structured Source Editing


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Facet install delegate child facet mechanism
Next Topic:Embedding wst/sse xml editor into a Composite
Goto Forum:
  


Current Time: Sat Jul 26 13:13:54 EDT 2014

Powered by FUDForum. Page generated in 0.03692 seconds