Subject: Re: [xsl] namespace xmlns="http://www.w3.org/1999/xhtml" From: "CyberSpace Industries 2000 Inc." <csi2000@xxxxxxxxxxxxxxx> Date: Sat, 13 Jan 2007 23:51:39 -0500 |
Cheers....Hugh CyberSpace Industries 2000 Inc. XML Training and Consulting
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] namespace xmlns="http://www.w, Mathieu Malaterre | Thread | Re: [xsl] namespace xmlns="http://w, James A. Robinson |
[xsl] namespace xmlns="http://www.w, Mathieu Malaterre | Date | Re: [xsl] namespace xmlns="http://w, James A. Robinson |
Month |