Sorry, forgot to add a subject,

Christine Li
XSLT Development
IBM Toronto Lab
Tel: (905)413-2601
Email: [EMAIL PROTECTED]

----- Forwarded by Christine Li/Toronto/IBM on 10/14/2004 11:16 AM -----
Christine Li/Toronto/IBM

10/14/2004 11:16 AM

To
[EMAIL PROTECTED]
cc
[EMAIL PROTECTED]
Subject




Hi, Kirk

>I am having trouble with an xslt that generates xhtml. I include an xhtml file in the output with ><xsl:apply-templates select="$sourceRoot"/>

>However, all of the top level tags look something like this:
><h1 xmlns:xmlns:cms="http://www.ais.columbia.edu/sws/xmlns/cucms#">

>I have tried the following, but the namespace stuff still appears. The namespaces are not in the source >xhtml that I am retriveing.
>exclude-result-prefixes="xsl xmlns xmlns:cms cms cfs rdf dc"

I can't reproduce the problem. I don't know how you can get the result "xmlns:xmlns:cms" and I don't think you can specify "xmlns" in exclude-result-prefixes. The Xalan-J processor should complain about the prefix xmlns. By the way, the current XSLT processors don't support <xsl:output method="xhtml"> yet.

Provide your test case, we will try to figure out the problem.

Christine Li
XSLT Development
IBM Toronto Lab
Tel: (905)413-2601
Email: [EMAIL PROTECTED]

Reply via email to