[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

namespace xmlns="http://www.w3.org/1999/xhtml"

Subject: namespace xmlns="http://www.w3.org/1999/xhtml"
From: "Mathieu Malaterre" <mathieu.malaterre@xxxxxxxxx>
Date: Sat, 13 Jan 2007 22:21:05 -0500
 namespace xmlns="http://www.w3.org/1999/xhtml"
Hello,

 I have been reading the FAQ entry:
[XHTL to fo, namespace problems.]
http://www.dpawson.co.uk/xsl/sect2/N5536.html#d6784e1669
 I thought this would work for me, but I can't get any output using
(1). My xml is the following:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>...</head>
<body>...</body>
</html>

and my xsl file (according to the FAQ) is:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
               xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
               xmlns="http://www.w3.org/1999/xhtml">
<xsl:template match="/">
   <xsl:for-each select="html/body">
     <xsl:value-of select="."/>
   </xsl:for-each>
</xsl:template>
</xsl:stylesheet>

Am I doing something wrong here ?

Thanks again !
(1)
$ xsltproc --version
Using libxml 20627, libxslt 10119 and libexslt 813
xsltproc was compiled against libxml 20627, libxslt 10119 and libexslt 813
libxslt 10119 was compiled against libxml 20627
libexslt 813 was compiled against libxml 20627

--
Mathieu

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.