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] | [Elist Home]


Subject: DOCBOOK-APPS: DB XSL: Best way to control the formatting of elements?



Hi,

What is the suggested/best way to change the output of specific docbook 
elements without necessarily applying that change to all instances of 
that element?

Take for instance an <address> - at the top of my document I'd like it 
right-aligned under the logo, but addresses later in the document should 
probably use the default formatting.

In my titlepage.xml I have added <address fo:text-align="right"/> which 
works well, but I fear that later addresses that are immediate children of 
the root node will also be affected – probably not an issue, but this does 
not "feel" right.

Is there some way to apply formatting such as this to specific nodes, 
perhaps using their id attribute? i.e. a dirty Xpath expression to use in 
select= in the titlepage.xml?

Best wishes,
Marc



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


Powered by eList eXpress LLC