Hi,
Frankly, I never test your use case.
But I guess that you need to have an XHTML file in input with no
header, footer or navbar something to the div bodyColumn in [1].
The snippet should be something like the following:
File f = new File( "blabla.html" );
XhtmlParser parser = new XhtmlParser();
StringWriter output = new StringWriter();
Sink sink = new AptSink( output );
parser.parse( new FileReader( f ), output );
Output will contain APT declaration.
HTH,
Vincent
[1]
http://maven.apache.org/doxia/2008/3/1, krycho fandino <
cristobalft@...>:
> I'm a newbie using doxia. I've a lot of documentation in HTML format an I'd
> like convert these files to apt format. Is there some way to transform
> easily? I want to create a maven site for my project and, right now, I only
> have this documentation in HTML format without css styles nor menu.
>
> Could you help me? Very thanks
> Cristóbal
>