[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Multi-language documentation
Michael Westbay wrote: > You might want to look at SmartDoc: > > http://www.asahi-net.or.jp/~dp8t-asm/java/tools/SmartDoc/ > > You can create blocks with different lang="..." attributes so that the > original source may be bilingual, with monolingual output. When I first > started with DocBook, I thought that I could do that, but soon found that it > isn't set up to filter out only the lang="..." attributes of a specified > language. You can use profiling stylesheet (tools/profile/profile.xsl) from XSL distribution to do it. Just run it with parameters "attr=lang" and "lang=xx", where xx is language you want to extract. (Many thanks to Mike Smith who brings idea making profiling stylesheet customizable this way.;) However storing multiple translations in one document is not good idea IMHO. Jirka ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC