[oXygen-user] Programatic DocBook generation
Sorin Ristache
Thu Jul 28 08:53:30 CDT 2005
Hello,
If you can call Ant from your plugin the easiest way to do the
transformation to HTML is using the "xslt" Ant task:
http://ant.apache.org/manual/CoreTasks/style.html
For examples of calling Saxon form a Java application see:
http://saxon.sourceforge.net/saxon7.0/using-xsl.html#Embedding
For sample Java applications that use Xalan see:
http://xml.apache.org/xalan-j/samples.html
Best regards,
Sorin
T Reaves wrote:
> Hello all.
>
> I use Oxygen mainly standalone for editing DocBook XML files. I'd
> like to start processing these to HTML for inclusion in my web site. I
> love that I can do this from within Oxygen, but I'd like to be able to
> do it programatically as well. I'm wondering if someone can point me
> in the right direction; I'd like to know the easiest way to do this.
> What libraries are required, and the API for how to convert from XML to
> HTML.
>
> As always, a short example would be wonderful!
>
> As to why I don't simply save the html Oxygen produces: I'm using a
> CMS solution, and the DocBook would be stored as XML. I'm writing a
> plugin that will do the transform when the page is requested.
>
> Thanks!
>
>
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list