OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Applying a processing instruction by default in a stylesheet

Per the instructions in Bob Stayton's excellent XSL Guide for
<variablelist> [http://www.sagehill.net/docbookxsl/Variablelists.html],
I've found that I want to use a number of processing instructions in
every variablelist in a set of documents. Something along the lines of:

	<?dbhtml list-presentation='table'?>
	<?dbhtml term-presentation='bold'?>
	<?dbhtml term-width='20%' list-width='80%'?>
	<?dbhtml table-summary='Field Description'?>
	<?dbfo term-width="0.75in"?>

Rather than copying/pasting these into every <variablelist>, it would
make sense to make this the default behavior for each instance. Is there
a way to activate the applicable instructions in my customization layers
for print and html for all variablelists? I've searched through the
stylesheets, but with my limited understanding of XSL, I'm not sure how
exactly the instruction is set during processing and how I can set it
manually in the stylesheet instead of the document.

DAVID GOSS | Technical Writer
P 1.800.876.9218 x 345 | F 1.800.588.9866

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]