[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: RE: [xsl] Moving an element along with data manipulation
From: "Pankaj Chaturvedi" <pankaj.chaturvedi@xxxxxxxxx>
Date: Thu, 10 Apr 2008 15:18:23 +0530

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


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."


Current Thread