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

Re: Inserting xml:namespace and prefixed elements into

Subject: Re: Inserting xml:namespace and prefixed elements into html output
From: "W. Sierke" <wsierke@xxxxxxxxx>
Date: Wed, 30 Jan 2002 13:35:51 +1030
vml xml namespace
>  I'm attempting to generate html output containing vml and following a
>  vml example, I'm trying to insert:
>  <html><head>
>  <xml:namespace prefix="v"/>
> If you are generating html then XSLT won't use th eXML /> empty element
> syntax, and won't allow an element name starting with XML (as teh XMl
> REC reserves these)
> Similarly if you are using the xml output method then XSLT would use the
> /> syntax but still can not allow an element called xml...
> Doesn't the microsoft weird-namespace-use-in-html system have an option
> of a processing instruction syntax for namespaces?

Ah! Thanks for the reply. It prompted me to discover two things:

    IE(6) is just as happy to see the <? ... ?> syntax
    Adding:  xmlns:v="urn:schemas-microsoft-com:vml"   to the xslt
declarations results in the <HTML> tag in the xslt being inserted as <HTML
xmlns:v="urn:schemas-microsoft-com:vml">, obviating the need for the
<xml:namespace....> element.

And now it all works.

Many thanks,


 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.