xsl-list
[Top] [All Lists]

RE: [xsl] Moving an element along with data manipulation

2008-04-10 02:48:47
Thanks David. I chaged it to 

<xsl:template match="article/meta">
<xsl:element name="meta">                       
<xsl:copy-of select="@*"/>
<xsl:apply-templates select="*[not(self::author)]"/>
</xsl:element>
</xsl:template>



<xsl:apply-templates select="*[not(self::author)]"/>
</meta>
</xsl:template>






But this one leading to "meta" to become empty element.

in that case the templates matching the other children of meta are not
producing output, but I can't say why without seeing them.

David


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


Confidentiality Notice:" This message and any attachment(s)
contained here are information that is confidential, proprietary to
IDS Infotech Ltd. and its customers.
Contents may be privileged or otherwise protected by law. The
information is solely intended for the individual or the entity it
is addressed to. If you are not the intended recipient of this
message, you are not authorized to read, forward, print, retain,
copy or disseminate this message or any part of it. If you have
received this e-mail in error, please notify the sender immediately
by return e-mail and delete it from your computer."

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