Subject: Re: [xsl] Adding prefix to elements that belong to certain namespace From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 23 Sep 2003 18:39:52 -0400 |
Is there a way to transform the following xml
<envelope xmlns="http://somenamespace.com"> <Header> <from>me</from> <to>you</to> </Header> <body> <command xmlns="http://somenamespace.com"> <type>ADD</type> </command> </body> </envelope>
to
<pfx:envelope xmlns:pfx="http://somenamespace.com"> <Header> <from>me</from> <to>you</to> </Header> <body> <pfx:command> <type>ADD</type> </command> </body> </envelope>
-- Next public US delivery: 3-day XSLT/2-day XSL-FO 2003-10-13 Next public European delivery: 3-day XSLT/2-day XSL-FO 2003-11-?? Instructor-led on-site corporate, government & user group training for XSLT and XSL-FO world-wide: please contact us for the details
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-11-X Practical Formatting Using XSL-FO Member of the XML Guild of Practitioners: http://XMLGuild.info Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Adding prefix to elements tha, Venkat Gyambavantha | Thread | Re: [xsl] Adding prefix to elements, Venkat Gyambavantha |
[xsl] xmlns and java, Robert Ogden | Date | RE: [xsl] Accessing node-sets by in, Americo Albuquerque |
Month |