No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
1 Posted Topic
This is the generic xslt. Please suggest if someone has better approach <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions"> <xsl:output method="xml" indent="yes" ></xsl:output> <xsl:strip-space elements="*" ></xsl:strip> <xsl:variable select="document('Second.xml')" name="file2" ></xsl:variable> <xsl:template match="/"> <xsl:call-template name="main" ></xsl:call> </xsl:template> <xsl:template match="@*"> <xsl:copy> <xsl:apply-templates select="." ></xsl:apply> </xsl:copy> </xsl:template> <xsl:template match="node()" name="main"> <xsl:copy> <xsl:apply-templates select="@*" ></xsl:apply> …
The End.
rahul4aug