[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

namespace - don't like to like the like

Subject: namespace - don't like to like the like
From: "Jiang, Peiyun" <Peiyun.Jiang@xxxxxxxxxxxxxx>
Date: Thu, 25 Sep 2003 10:37:09 -0400
xsl namespace declare
I'm trying hard to produce an (X)HTML file like this:
<!DOCTYPE .....>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
I want to declare a default namespace for the html tags (I was asked to do
this though it won't make any difference for the browsers at leat for now.
XHTML insists you declare a namespace as I read the standard).

I tried:
<xsl:tylesheet ...>
      <xsl:template match="/">
            <html lang="en" xmlns="http://www.w3.org/1999/xhtml">

I tried the <xsl:element name="html" namespace="....."> too. The namespace
was not in the HTML file.

I always get <html lang="en">.

Have I missed the obvious and nobody wants to post an answer or else?

Thanks for your help.


p.s. I wonder if my message is posted. Can someone please let me know? 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.