public inbox for gentoo-doc@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-doc] Simple XSLT script for xml -> html?
@ 2012-07-26 19:57 Xavier Miller
  2012-07-27  8:53 ` Sven Vermeulen
  0 siblings, 1 reply; 3+ messages in thread
From: Xavier Miller @ 2012-07-26 19:57 UTC (permalink / raw
  To: gentoo-doc

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-doc] Simple XSLT script for xml -> html?
  2012-07-26 19:57 [gentoo-doc] Simple XSLT script for xml -> html? Xavier Miller
@ 2012-07-27  8:53 ` Sven Vermeulen
  2012-07-27 16:17   ` Xavier Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Vermeulen @ 2012-07-27  8:53 UTC (permalink / raw
  To: gentoo-doc

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-doc] Simple XSLT script for xml -> html?
  2012-07-27  8:53 ` Sven Vermeulen
@ 2012-07-27 16:17   ` Xavier Miller
  0 siblings, 0 replies; 3+ messages in thread
From: Xavier Miller @ 2012-07-27 16:17 UTC (permalink / raw
  To: gentoo-doc

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
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-27 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 19:57 [gentoo-doc] Simple XSLT script for xml -> html? Xavier Miller
2012-07-27  8:53 ` Sven Vermeulen
2012-07-27 16:17   ` Xavier Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox