Altova Mailing List Archives

[xsl] Namespace Problem

From: "Byomokesh Sahoo" <sahoo.byomokesh@--------->
Date: 7/16/2008 12:14:00 PM
Hi All,

I am doing xsl for view DocBook XML (Docbook 5 DTD).

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book SYSTEM "docbook-5.0\dtd\docbook.dtd">
<?xml-stylesheet type="text/xsl" href="sample1.xsl"?>
<book xmlns="">
<title>Endless Universe</title>
<subtitle>Beyond the Big Bang</subtitle>


<xsl:stylesheet version="1.0"  xmlns:xsl=""
                exclude-result-prefixes="db ng">
  <xsl:output method="html" indent="yes" encoding="ISO-8859-1"/>
  <xsl:template match="book">
          <xsl:value-of select="title"/>

  <xsl:template match="book/title">
    <h1 align="center"><font color="red"><xsl:apply-templates/></font></h1>

When i see view in IE8 (beta) its showing all are one line is mixing
in one paragraph. I think i m missing some namespace. Thats why i
could not get it.

Anyone please advice me.

Byomokesh Sahoo

Om Trayambakam Yajaamahe Sugandhim Pushtivardhanam
Urvaarukamiva Bandhanan Mrytor Muksheeya Mamritaat


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.