Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server Reporting Services能否用于格式化XML数据类型列中返回的XML?_Sql Server_Sql Server 2005_Reporting Services - Fatal编程技术网

Sql server Reporting Services能否用于格式化XML数据类型列中返回的XML?

Sql server Reporting Services能否用于格式化XML数据类型列中返回的XML?,sql-server,sql-server-2005,reporting-services,Sql Server,Sql Server 2005,Reporting Services,使用SQLServer2005和ReportingServices,我有一个存储过程,返回多个列,其中一个是XML数据类型。我可以在Reporting Services报告中操纵/格式化/样式该XML列吗?如果是,怎么做?还没有尝试过,但SRSS允许您通过脚本在报告中输入代码。您可以使用其中的XML做一些事情,也可以使用XSL。使用System.Xml中的类以您想要的方式解析Xml 在“SSRS报告属性”对话框的“引用”选项卡上,添加对System.Xml的引用。然后将解析代码添加到“代码”选项

使用SQLServer2005和ReportingServices,我有一个存储过程,返回多个列,其中一个是XML数据类型。我可以在Reporting Services报告中操纵/格式化/样式该XML列吗?如果是,怎么做?

还没有尝试过,但SRSS允许您通过脚本在报告中输入代码。您可以使用其中的XML做一些事情,也可以使用XSL。使用
System.Xml
中的类以您想要的方式解析Xml

在“SSRS报告属性”对话框的“引用”选项卡上,添加对
System.Xml
的引用。然后将解析代码添加到“代码”选项卡

有一个例子