开发者

Reading XML in SSRS

开发者 https://www.devze.com 2023-01-04 04:22 出处:网络
I have a field in开发者_如何转开发 a table in Oracle that contains an XML formatted string.In this string is a node value that I need.How can I parse an XML string contained in a database column/field

I have a field in开发者_如何转开发 a table in Oracle that contains an XML formatted string. In this string is a node value that I need. How can I parse an XML string contained in a database column/field?


you have two options either pre-shred the xml on the db side or use an xml datasource in SSRS.

The tricky part is to setup up the data source as embedded xml and have the value come from an ssrs expression which uses the xml column from the db as the embedded data, plus adds the query syntax. this can be done using string concatenation in the expression

Here is an article that shows the syntax: http://msdn.microsoft.com/en-us/library/ms345251.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号