xsl-list
[Top] [All Lists]

Re: [xsl] Adding prefix to elements when I import a XML file

2007-10-31 03:01:52
On 31/10/2007, Andrew Welch <andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> 
wrote:

<xsl:apply-templates select="document('file.xml')" mode="addPrefix"/>

with:

<xsl:template match="@*|node()" mode="addNamespace">


...but unlike me, make sure the modes match :)



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--