XML Device Information Settings

The following table lists the device information settings for rendering in XML format.

Setting

Value

XSLT

The path in the report server namespace of an XSLT to apply to the XML file, for example /Transforms/myxslt. The xsl file must be a published resource on the report server and you must access it through a report server item path. The value of this setting is applied after any XSLT that is specified in the report. If the XSLT setting is applied, the OmitSchema setting is ignored.

MIMEType

The Multipurpose Internet Mail Extensions (MIME) type of the XML file.

UseFormattedValues

Indicates whether to render the formatted value of a text box when generating the XML data. A value of false indicates that the underlying value of the text box is used.

Indented

Indicates whether to generate indented XML. The default value of false generates non-indented, compressed XML.

OmitNamespace

Indicates whether to omit the default namespace from the XML.

If true, the XML does not specify a default namespace.

If false, the XML specifies a default namespace with the value of the report’s DataSchema property. The DataSchema property defaults to the report name.

The default value is false.

OmitSchema

Indicates whether to omit the schema location from the XML. The location is the SchemaLocation attribute.

The default value of OmitSchema depends on the value of OmitNamespace:

  • If OmitNamespace = False, then OmitSchema = False by default. The user can override the default by setting OmitSchema = True.

  • If OmitNamespace = True, then OmitSchema will function as True regardless of the value explicitly configured for OmitShema.

Encoding

The Internet Assigned Numbers Authority (IANA) name of a character encoding that is supported by the .NET Framework. The default value is UTF-8. Examples of other values include ASCII, UTF-7, and UTF-16.

FileExtension

The file extension to use for the generated file.

Schema

Indicates whether the XML schema definition (XSD) is rendered or whether the actual XML data is rendered. A value of true indicates that an XML schema is rendered. The default value is false.

See Also

Reference

Render

Concepts

Passing Device Information Settings to Rendering Extensions

Customize Rendering Extension Parameters in RSReportServer.Config

Technical Reference (SSRS)