This is the mail archive of the mailing list for the DocBook project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook] docbook.xsl -- xsl help needed!


I have documents in docbook xml format that I would like to convert into
HTML, using docbook.xsl.  My requirement is simple, and they are:

(1) <html tag  should have the id attribute with the value to be sent  
as parameter during conversion <html id=$parameterValue>   
(2) Whole content of the page should be in one table.
(3) I have to remove the horizontal line at the top of the page, so that
title of the page starts right from the top, leaving no space.

I have done the following:

<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="";

<!-- Locate html/docbook.xsl, and change the directory as necessary -->

<!-- generate HTML skeleton on root element -->
<xsl:template match="/">
  <html id="?????">
      <title>testing only</title>
        <table id="mainText" width="100%">

So far, only my requirement number 2 is working ie the content inside a

How can I set <html id to take a sent parameter value as its
value? How can I send parameter during process? I am using xsltproc.

How can I remove top horizontal line and the space above it?

Any pointers/relevant docs etc would be highly appreciated.


To unsubscribe, e-mail: docbook-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-help at lists dot oasis-open dot org

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]