Subject: Re: [xsl] Can one _generate_ namespace nodes? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sat, 22 Feb 2003 08:42:17 +0100 |
If anyone *does* know of an official and reliable way to generate a namespace declaration into a document at a specific point
<?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslo="dummy" version="1.0">
<xsl:template match="/"> <output> <xsl:copy-of select="document('')/*/namespace::xslo"/> <xslo:embedded/> </output> </xsl:template>
<?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslo="dummy" version="1.0">
<xsl:template match="/"> <output xslo:dummy=""> <xslo:embedded/> </output> </xsl:template>
-- Upcoming hands-on in-depth Europe: February 17-21, 2003 XSLT/XPath and/or XSL-FO North America: June 16-20, 2003
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-10-1 Practical Formatting Using XSL-FO Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Hash-Table in xsl?, Michael Kay | Thread | Re: [xsl] Can one _generate_ namesp, Mike Brown |
[xsl] Re: Can one _generate_ namesp, Dimitre Novatchev | Date | Re: [xsl] XMLPipe model: should we , S Woodside |
Month |