Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Formatting XML / XSD files options
Formatting XML / XSD files options [message #71502] Fri, 04 February 2005 05:13 Go to next message
Eclipse UserFriend
Hi everybody,

is there a possibility to define the way the XML and the XSD editor do
the formatting of text (right click with the mouse => Format => Document) ?

In my case I have some tags that contain text that should not be
(re)formatted.
...
<e>
textextextextex... <= should not be formatted
</e>
...

Is there something planned for further milestones? In the java / ant
editor there is something like "Formatter Options" that could do the job...

Thanks.,

Raphael
Re: Formatting XML / XSD files options [message #71558 is a reply to message #71502] Fri, 04 February 2005 07:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chabert.fimasys.fr

Hello Raphael,

you can set the XML formatter in windows->preferences->Web and XML->XML
files->XML Source. But I am not sure it will be sufficient for your
problem. I do not know if there is any formatter settings improvments
planned.

Sylvain

Raphael A. Bauer wrote:
> Hi everybody,
>
> is there a possibility to define the way the XML and the XSD editor do
> the formatting of text (right click with the mouse => Format => Document) ?
>
> In my case I have some tags that contain text that should not be
> (re)formatted.
> ..
> <e>
> textextextextex... <= should not be formatted
> </e>
> ..
>
> Is there something planned for further milestones? In the java / ant
> editor there is something like "Formatter Options" that could do the job...
>
> Thanks.,
>
> Raphael
Re: Formatting XML / XSD files options [message #71596 is a reply to message #71558] Fri, 04 February 2005 09:34 Go to previous messageGo to next message
Eclipse UserFriend
Sylvain Chabert wrote:
> you can set the XML formatter in windows->preferences->Web and XML->XML
> files->XML Source. But I am not sure it will be sufficient for your
> problem. I do not know if there is any formatter settings improvments
unfortuntely they are not sufficient, because if I set the line length
to 999 the Formatter also reformats text nodes between elements. And
that destroys in my case a lot of "human" structure I need...

thanks,

(are there impovements planned on the Formatter Configuration?)

Raphael
Re: Formatting XML / XSD files options [message #73006 is a reply to message #71596] Fri, 11 February 2005 00:26 Go to previous message
Eclipse UserFriend
Raphael A. Bauer wrote:

> unfortuntely they are not sufficient, because if I set the line length
> to 999 the Formatter also reformats text nodes between elements. And
> that destroys in my case a lot of "human" structure I need...

Raphael, I'd encourage you to open a bugzilla bug (mark it as an
enhancement)and attach your xml file (formatted the way you like it)
along with any xsd or dtd you're using. As always, if you'd like to take
a crack at implementing the enhancement yourself I'd be happy to point you
to the relevant code.

thanks for your feedback!

craig
Previous Topic:JSP & XML Support
Next Topic:Servlet and Filter templates
Goto Forum:
  


Current Time: Sun Jul 13 06:37:34 EDT 2025

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

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

Back to the top