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: Adding attributes/parameters to the "<para>" template?

I am having a hard time trying add a "para template" in my "customization" layer.
I would want to add an parameter to the para template.  This parameter would
contain a string that would be prepended to the paragraph.
So if I had in my xml file this ...
<para pm="+++ ">Hi there </para>
... output would be in html something like ...
<p>+++ Hi there</p>
Also how would I make the template use a default value if the attribute/parameter
was left out?  Also how could I make another template say ... strict_para ... that
would cause an error if the parameter was left out?
I guess I should get a book on xsl ... right?  or is xstl?

What are the most popular cars? Find out at Yahoo! Autos

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