Thank you Kasun.I'll try to contact one of them to get more info. On Fri, Feb 11, 2011 at 5:08 PM, Kasun Gajasinghe < [email protected]> wrote:
> On Fri, Feb 11, 2011 at 1:26 PM, Sanjaya Liyanage <[email protected]>wrote: > >> Hi Jeff, >> 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 trunk/css/xml/docbook, you may have to copy > those CSS files to the local folder where your docbook documents resides. > It's the understanding I got after going through the > trunk/css/xml/docbook/index.html. > It gives the CSS's as a tar ball (which you have to download and extracts at > the folder you need) although the links seems to be broken. May be this > needs some more documentation on how to configure things. There are some > developers under the CREDITS file in the same folder, they might be able to > give you more details. This is according to my understanding, I may be > wrong! > > Thanks, > Kasun > > >> >> thank you >> Sanjaya >> >> >> On Fri, Feb 11, 2011 at 12:17 PM, Jeff Beal <[email protected]> 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. >>> >>> -- Jeff >>> On Feb 10, 2011 7:50 AM, "Sanjaya Liyanage" <[email protected]> wrote: >>> > 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 >>> > Sanjaya >>> > >>> > On Thu, Feb 10, 2011 at 8:42 PM, Kirill Churin <[email protected] >>> >wrote: >>> > >>> >> On Thu, Feb 10, 2011 at 8:07 PM, Sanjaya Liyanage < >>> [email protected]>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 >>> >>> Sanjaya >>> >>> >>> >> >>> >> >>> >> Hello. It can be customized with the *html.stylesheet*< >>> http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html >>> >parameter. >>> >>> >> >>> >> See >>> >> >>> http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html >>> >> >>> >> -- >>> >> Kirill Churin >>> >> Jabber: [email protected], ICQ: 8163230, Skype on demand. >>> >> >>> >> >>> >> >> >
