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="http://docbook.org/ns/docbook">
<title>Endless Universe</title>
<subtitle>Beyond the Big Bang</subtitle>
........
</book>
My XSL
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:ng="http://docbook.org/docbook-ng"
xmlns:db="http://docbook.org/ns/docbook"
exclude-result-prefixes="db ng">
<xsl:output method="html" indent="yes" encoding="ISO-8859-1"/>
<xsl:template match="book">
<html>
<head>
<title>
<xsl:value-of select="title"/>
</title>
</head>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="book/title">
<h1 align="center"><font color="red"><xsl:apply-templates/></font></h1>
</xsl:template>
</xsl:stylesheet>
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.
Thanks
Byomokesh Sahoo
Om Trayambakam Yajaamahe Sugandhim Pushtivardhanam
Urvaarukamiva Bandhanan Mrytor Muksheeya Mamritaat
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--