teradata_optional Attribute
teradata_optional_attributes Attribute - Analytics Database - Teradata Vantage

XML Data Type

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-10-30
dita:mapPath
tkc1628112506748.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dgs1472251600184
lifecycle
latest
Product Category
Teradata Vantage™
You can specify the following in the stylesheet:
  • Elements that are optional and will not be serialized if the corresponding value is a NULL
  • Elements that are required. An empty element, <el/>, or attribute with a null string value, at="", is created if the corresponding value is NULL.

Use the teradata_optional attribute to specify whether an element is generated as an empty element with an empty string value, or whether the element is skipped if the corresponding value in the SQL result set is NULL.

Use the teradata_optional_attributes attribute to specify which attributes of the element is skipped if the corresponding values in the SQL result set is NULL.