xsl-list
[Top] [All Lists]

Re: [xsl] Effect of default namespace specifications on imports

2012-10-28 06:19:54
On Sun, Oct 28, 2012 at 11:09 AM, Ihe Onwuka 
<ihe(_dot_)onwuka(_at_)gmail(_dot_)com> wrote:
On Sun, Oct 28, 2012 at 9:52 AM, Andrew Welch 
<andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> wrote:
  <xsl:template match="*">
    <xsl:element name="{local-name()}">
      <xsl:apply-templates/>
    </xsl:element>
  </xsl:template

Dont forget attributes...


There are none in my XML.

But you are right if considering the more general case so that is a
good reminder.

--~------------------------------------------------------------------
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>
--~--