Subject: [xsl] namespace xmlns="http://www.w3.org/1999/xhtml" From: "Mathieu Malaterre" <mathieu.malaterre@xxxxxxxxx> Date: Sat, 13 Jan 2007 22:21:05 -0500 |
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>
<?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>
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XML Elements to XML Attri, Michael Kay | Thread | Re: [xsl] namespace xmlns="http://w, CyberSpace Industrie |
Re: [xsl] XML Elements to XML Attri, Andrew Franz | Date | Re: [xsl] namespace xmlns="http://w, CyberSpace Industrie |
Month |