cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin Okraszewski <>
Subject How to convert HTML fragment to XHTML fragment - something like JTidy?
Date Sun, 25 Jan 2004 22:27:11 GMT
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) ?

Marcin Okraszewski

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message