i figured i'd explain this once in its entirety to find
out just what part of this i'm missing.

  i want to use red hat's "xmlto" utility and FOP to process
docbook into PDF.  if you're familiar with xmlto (or even if
you're not), the basic invocation is

  $ xmlto {fo,ps,dvi,...} -m frag1 -m frag2 ... dbfile.xml

the "-m" fragments represent stylesheet fragments which will
automatically be added to a final stylesheet as "include"s,
so you don't have to build your own all-encompassing
stylesheet.  in a nutshell, "xmlto" will automatically
select the appropriate fundamental stylesheet, and then
create a temporary with references to all of your fragments
being <xsl:include>d.  this just takes all the work off of
you.

  it also means that any overrides you'd like to add
must be able to be added as official stylesheet fragments,
which will override "param"s or attribute-sets.  as an
example, consider the following stylesheet fragment:

------------------------------------

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                xmlns:fo="http://www.w3.org/1999/XSL/Format";
                version='1.0'>

<!-- This sets the extension for HTML files to ".html".     -->
<!-- (The stylesheet's default for XHTML files is ".xhtm".) -->
<xsl:param name="html.ext" select="'.html'"/>

<!-- This sets the filename based on the ID.                -->
<xsl:param name="use.id.as.filename" select="'1'"/>

</xsl:stylesheet>

------------------------------------

  so i can override any property which is set by an
xsl:param.  if you look at norm walsh's FO Parameter
Reference at:

http://docbook.sourceforge.net/release/xsl/current/doc/fo/index.html

in Section XVII, there is a parameter for hyphenate -- true
or false.  so i can define whether i want hyphenation or not
with a single stylesheet fragment.  but there's no parameter
which specifies hyphenation *country* as far as i can see.
so, at the moment, i don't see how to use this technique
to specify that i want my hyphenation country to be "en_GB"
using this technique.

 am i making any sense here?

rday


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to