Subject: Re: [xsl] Why does using the XSL namespace default namespace preclude literal result elements in the empty namespace? From: Aaron Hope <edh@xxxxxxxxxxxxx> Date: Sat, 21 Jul 2001 15:16:35 -0400 |
<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:html="http://www.w3.org/1999/xhtml" version="1.0">
<!-- plus a little magic here to tell the xslt processor that the "http://www.w3.org/1999/xhtml" namespace should map to the null namespace --> <output method="html"/>
<template match="/"> <html:html> <html:head><html:title>My Title</html:title></html:head> <html:body>My Body (lies over the sea...)</html:body> </html:html> </template> </stylesheet>
<namespace-alias stylesheet-prefix="html" result-prefix="#none"/> seemed like the obvious way to achieve the desired result.
I asked my original question largely because it seemed like a deficiency in the standard. It's simply something that I SHOULD be able to do!
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Why does using the XSL na, Aaron Hope | Thread | Re: [xsl] Why does using the XSL na, David Carlisle |
Re: [xsl] Was test for presence of , Goetz Bock | Date | Re: [xsl] Why does using the XSL na, Aaron Hope |
Month |