Hi Sudhakar,
According to your post, it is the issue with syntax.
You can refer to the code below, try to solve the issue:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="Details">
<xsl:for-each select="@*">
<xsl:element name="{name(.)}">
<xsl:value-of select="." />
</xsl:element>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
These articles are about XSLT file, you can refer to it.
http://www.w3schools.com/xsl/xsl_transformation.asp
http://technet.microsoft.com/en-us/library/ms172510(v=sql.90).aspx
Regards,
Alisa Tang
No comments:
Post a Comment