Sunday, October 27, 2013

SSRS XML reformating using xslt during export

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




We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time.

Thanks for helping make community forums a great place.


No comments:

Post a Comment