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

Newbie Namespace Problem in Meta-XSL

Subject: Newbie Namespace Problem in Meta-XSL
From: Adrian Grigore <adrian@xxxxxxxxxxxxxxx>
Date: Tue, 15 Jul 2003 22:59:58 +0200
meta xsl
Hi,

I'm doing some xsl metaprogramming and need to use xsl in order to output an xsl-stylesheet with the msxml-namespace. In other words, I am trying to output something like this with xsl:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:msxsl="urn:schemas-microsoft-com:xslt">

The problem is that I don't know how to output the xmlns:msxsl attribute. I've tried this:

<xsl:element name="xsl:stylesheet">
<xsl:attribute name="xmlns:msxsl" >urn:schemas-microsoft-com:xslt</xsl:attribute>
<xsl:attribute name="version">1.0</xsl:attribute>
...


but it fails with the error message "The value of the 'name' attribute may not be 'xmlns:msxsl'". As the : is the culprit, I tried replacing it with &#58;, but that did not work either. I tried messing with namespaces in the meta-stylesheet, but without any success so far. I'm sure the solution is very simple, but I just don't get it... Please help! :-)

Thanks,


Adrian Grigore


--
Adrian Grigore
adrian@xxxxxxxxxxxxxxx
Lobstersoft - Fun Brain-Bending Games For All Ages
http://www.lobstersoft.com
Member of the Association of Shareware Professionals


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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.