Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Doc

Simple XSLT script for xml -> html?

 

 

Gentoo doc RSS feed   Index | Next | Previous | View Threaded


xavier.miller at cauwe

Jul 26, 2012, 12:57 PM

Post #1 of 3 (315 views)
Permalink
Simple XSLT script for xml -> html?

Hello,

Is there a simple script to convert a GuideXML file to html?

Is it enough to use handbook.xslt applied to the xml files?

Kind regards,
Xavier Miller.


swift at gentoo

Jul 27, 2012, 1:53 AM

Post #2 of 3 (297 views)
Permalink
Re: Simple XSLT script for xml -> html? [In reply to]

On Thu, Jul 26, 2012 at 09:57:47PM +0200, Xavier Miller wrote:
> Is there a simple script to convert a GuideXML file to html?
>
> Is it enough to use handbook.xslt applied to the xml files?

I don't know if it is considered simple, but currently most development is
done through the gorg application (should be installable through portage).

See http://www.gentoo.org/proj/en/gdp/doc/gorg.xml

You can also write an XSL that transforms the GuideXML/HandbookXML into
whatever you like. I have one to convert documents to docbook (which then
can be used to generate all other formats, including HTML).

See https://github.com/sjvermeu/small.coding/tree/master/gxml2docbook


xavier.miller at cauwe

Jul 27, 2012, 9:17 AM

Post #3 of 3 (300 views)
Permalink
Re: Simple XSLT script for xml -> html? [In reply to]

Hello Sven,

I will simply use xslt-transfom by using website xslts (from CVS
gentoo/xml). It works almost out-of-the-box :)

Kind regards,
Xavier.

Le 27/07/12 10:53, Sven Vermeulen a écrit :
> On Thu, Jul 26, 2012 at 09:57:47PM +0200, Xavier Miller wrote:
>> Is there a simple script to convert a GuideXML file to html?
>>
>> Is it enough to use handbook.xslt applied to the xml files?
>
> I don't know if it is considered simple, but currently most development is
> done through the gorg application (should be installable through portage).
>
> See http://www.gentoo.org/proj/en/gdp/doc/gorg.xml
>
> You can also write an XSL that transforms the GuideXML/HandbookXML into
> whatever you like. I have one to convert documents to docbook (which then
> can be used to generate all other formats, including HTML).
>
> See https://github.com/sjvermeu/small.coding/tree/master/gxml2docbook
>

Gentoo doc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.