RE: [xsl] namespace - don't like to like the like

Subject: RE: [xsl] namespace - don't like to like the like
From: "Jiang, Peiyun" <Peiyun.Jiang@xxxxxxxxxxxxxx>
Date: Thu, 25 Sep 2003 11:50:02 -0400
Thanks, David. I'm using xalan in a third party software. 

I tried <xsl:output method="xml"/> and I have the namespace in the top tag.
I'll try another XSLT processor, but I probably cannot switch it.



This is what I have. Do you see anything wrong?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
   <!ENTITY nbsp '<xsl:text>&#x0020;</xsl:text>'>
   <!ENTITY nl '<xsl:text>&#x000A;</xsl:text>'>   
  xmlns:java = "java"
  version="1.0" >
  <xsl:output method="xml"
       doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
       indent="no" />  
  <xsl:template match="/">
    <xsl:element name="html" namespace="";>
    <xsl:attribute name="lang">en</xsl:attribute>&nl;
    <body bgcolor="#FFFFFF">&nl;
    <a name="top" id="top"></a>&nl;
      <!-- apply templates -->

 XSL-List info and archive:

Current Thread