Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Parse HTML file
Parse HTML file [message #211644] Thu, 03 April 2008 07:30 Go to next message
Klaus Schaefers is currently offline Klaus SchaefersFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,

how can I programaticaly read a HTML file form my workspace? I'm
generating a file with jet, but it looks a kind of ugly, for example the
elements have wrong indents. Is there any class out of the webtools I can
use to reformat the generated file.

Thanks a lot,

Klaus
Re: Parse HTML file [message #211820 is a reply to message #211644] Fri, 04 April 2008 16:46 Go to previous message
Eclipse UserFriend
Originally posted by: dcarver.starstandard.org

Take a look at the Format Handlers in either the org.eclipse.wst.sse.ui
or org.eclipse.wst.html.ui plugins. This should get you what you want.

Dave

Klaus Schaefers wrote:
> Hi,
>
> how can I programaticaly read a HTML file form my workspace? I'm
> generating a file with jet, but it looks a kind of ugly, for example the
> elements have wrong indents. Is there any class out of the webtools I
> can use to reformat the generated file.
> Thanks a lot,
>
> Klaus
>
Previous Topic:Problem locating a file in deployed WTP 2.0 Web app.
Next Topic:JBoss and WTP
Goto Forum:
  


Current Time: Fri Mar 29 12:26:22 GMT 2024

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

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

Back to the top