[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] From where the reference to CSS is added
On Fri, Feb 11, 2011 at 1:26 PM, Sanjaya Liyanage <firstname.lastname@example.org> wrote:
Yes that's the part I am looking for.But docbook users are not adding that part when they are writing their docbook XMLs.Because they are not aware of that.But that part should be inserted somewhere by the system in order to style them as the XMLs are styled not the generated html.
I think these two are two different paths. If docbook document is written to be transformed to another format (such as html), then this CSS is not necessary because CSS can be applied by the XSL file. Currently, most people transforms the XML to another format, so, for them this is not required.To reference the CSS files at tt
SanjayaOn Fri, Feb 11, 2011 at 12:17 PM, Jeff Beal <email@example.com> wrote:
Is this what you are looking for?
<?xml-stylesheet type="text/css" href=""cd_catalog.css"?>
If you put that at the top of the XML file, a browser will apply styling from the referenced CSS.
-- JeffOn Feb 10, 2011 7:50 AM, "Sanjaya Liyanage" <firstname.lastname@example.org> wrote:>> Hello. It can be customized with the *html.stylesheet*<http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html>parameter.
> Hi Kirill,
> If the CSS are applied for the generated html then using that parameter
> will do the referencing.But at the moment CSS are applied to the docbook
> XMLs directly.Not to the generated html.
> Thank you
> On Thu, Feb 10, 2011 at 8:42 PM, Kirill Churin <email@example.com>wrote:
>> On Thu, Feb 10, 2011 at 8:07 PM, Sanjaya Liyanage <firstname.lastname@example.org>wrote:
>>> hi dev,
>>> Currently the docbook is styled using CSS by applling directly to the
>>> docbook XMLs.Once any user wrote his docbook document(XML) from where the
>>> reference to the CSS(to driver.css in the trunk/css/xml/docbook) is being
>>> added to that XML?
>>> Thank you
>> Kirill Churin
>> Jabber: email@example.com, ICQ: 8163230, Skype on demand.