Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Adding support for mixed content in xml
Adding support for mixed content in xml [message #131320] Tue, 09 August 2005 12:45 Go to next message
Eclipse UserFriend
Hi,

Anyone with pointers to what docs/code to look at do add support for
mixed content in XML ? e.g. how to enable/disable different contentassist
for a region ?
Like JSP ?

Or is it just more simpler to do it manually ;)

/max
Re: Adding support for mixed content in xml [message #131975 is a reply to message #131320] Thu, 11 August 2005 10:27 Go to previous messageGo to next message
Eclipse UserFriend
Max, can you post an example of your file format?
Re: Adding support for mixed content in xml [message #132641 is a reply to message #131975] Sun, 14 August 2005 06:47 Go to previous messageGo to next message
Eclipse UserFriend
> Max, can you post an example of your file format?

normal xml.

<hibernate-mapping>

<sql-query name="blahblah">
<!-- in here the code completion should be done as if it was SQL (for
which I hope to use the WTP SQL color/code completion) -->
select * from blah
</sql-query>

<query name="qqq">
<!-- in here the code completion should be done as if it was HQL, for
which I have another content assist -->
from java.lang.Object
</query>

</hibernate-mapping>
Re: Adding support for mixed content in xml [message #133486 is a reply to message #132641] Thu, 18 August 2005 03:23 Go to previous message
Eclipse UserFriend
being a semi-bad citizen - bump ;)

Craig, did you have any pointers ?

/max

>
>
>> Max, can you post an example of your file format?
>
> normal xml.
>
> <hibernate-mapping>
>
> <sql-query name="blahblah">
> <!-- in here the code completion should be done as if it was SQL (for
> which I hope to use the WTP SQL color/code completion) -->
> select * from blah
> </sql-query>
>
> <query name="qqq">
> <!-- in here the code completion should be done as if it was HQL, for
> which I have another content assist -->
> from java.lang.Object
> </query>
>
> </hibernate-mapping>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Previous Topic:Web services client
Next Topic:refactor-> rename and dynamic web projects
Goto Forum:
  


Current Time: Sun Jul 27 12:57:50 EDT 2025

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

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

Back to the top