A script-enabled browser is required for this page to function properly.

Contains XML Tags property

The Contains XML Tags property indicates whether or not a report column contains XML tags.

Applies to

Column with a source datatype of Character .

Values

Yes

No XML character encoding takes place and the value is simply passed to the output.

No

Any XML character is encoded (that is,  <, >, and & would resolve to &lt;, &gt; and &amp; respectively).

Default

No 

Required/Optional

Optional

Example

Suppose your database already has XML tags included in the values of a column. In the first instance below, the XML tag <DESTINATION> represents a user-specified parameter called &p_dest. If the Contains XML Tags property is set to Yes, Reports Builder will recognize <DESTINATION> as an XML tag, interpret &p_dest as a changing value according to user specifications, and substitute a unique value in the place of &p_dest in XML output. This is true for any value in a column with the syntax of &[report_object_name].

Variable column value with XML tag:

Original Text String in column:

<DESTINATION>&p_dest<DESTINATION>

Contains XML Tags = Yes:

<DESTINATION>FIJI<DESTINATION>

Contains XML Tags = No:

&lt;DESTINATION&gt;&amp;p_dest&lt;DESTINATION&gt;

 

Non-variable column value with XML tag:

Original Text String in column:

<JOB>Clerk<JOB>

Contains XML Tags = Yes:

<JOB>Clerk<JOB>

Contains XML Tags = No:

&lt;JOB&gt;Clerk&lt;JOB&gt;