Subject: Re: [xsl] XML to html From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Thu, 01 Aug 2002 21:38:20 +0200 |
But i put in the default org namespace into the xml file, i dont> get any data into the html.
This is a FAQ. You probably have something like <foo xmlns="my:org.namespace">... in you XML and <xsl:template match="foo"> in your XSLT. In your XML, the "foo" element is in the namespace. In the XSLT, the "foo" in the match attribute is in *no* namespace, even if you declare your namespace somewhere in the XSLT file. You have to declare a prefix and use it explicitely:
<xsl:stylesheet version=... xmlns:xsl=... xmlns:org="my:org.namespace">
<xsl:template match="org:foo"> ...
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XML to html, Mridula Mahadevan | Thread | RE: [xsl] XML to html, Falls, Travis D (CAS |
RE: [xsl] Complete newbie stupid qu, Macaulay,Malcolm (US | Date | Re: [xsl] how to get total string-l, J.Pietschmann |
Month |