Subject: Re: xml
To: None <symka@netbsd.vejas.lt>
From: Mike M. Volokhov <mishka@apk.od.ua>
List: netbsd-docs
Date: 02/03/2004 12:01:44
On Tue, 03 Feb 2004 11:27:30 +0200
Simas Mockevicius <symka@netbsd.vejas.lt> wrote:

> >
> > 	<xsl:output method="html" encoding="YOUR-ENCODING" indent="yes"/>
> >
> > will produce good output for you (rather than UTF-8 by default).
> >
> > --
> > Best wishes,
> > Mishka.
> Thanx, Mishka,
> 
> all works now fine, but what about editing xsl files in NetBSD htdocs dir? 
> If I change,
> all xml files will be in my encoding. Maybe we need to make separate files 
> for every translating language? I am new to xml, so don;t beat me ;-)
> 

Taking a brief look to current NetBSD htdocs build process, I think you can
solve this problem by creating you own file within following contents:

	<xsl:import href="/path/to/netbsd/htdocs/sitewide/default-stylesheet.xsl"/>
	<xsl:output method="html" encoding="YOUR-ENCODING" indent="yes"/>

and use it as ${XSLT_*_*} stylesheet referrers instead in your Makefiles.

May be this already good documented somewhere?
(possible htdocs/developers/translate.html ?)

--
Kind regards,
Mishka.