cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gou...@osmosis.gr
Subject Re: How to convert HTML fragment to XHTML fragment - something like JTidy?
Date Mon, 26 Jan 2004 09:08:38 GMT


why u dont use jdity and then grab only the content of the body element?

--stavros
On Sun, 25 Jan 2004, Marcin Okraszewski wrote:

> Hi,
> I want to convert HTML document fragment to XHTML fragment. I tried with 
> JTidy, but it seems to work only with full HTML document, while I need 
> only a fragment, like "this is <b>example of <i>fragment</i></b>".
> 
> Is there anything like JTidy to tidy only fragments? Or maybe is there 
> any way to tidy fragments with JTidy (well, maybe without wrapping 
> fragment with <html><body> and than striping it) ?
> 
> Regards,
> Marcin Okraszewski
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message