Home>Knowledge Base>Support FAQ>Liquid XML Data Binding>Why is the attribute xs:type getting written into my XML Document?
Information
Article ID53
Created On4/20/2010
Modified4/22/2010
Share With Others

Why is the attribute xs:type getting written into my XML Document?

Please see the W3C standard (http://www.w3.org/TR/xmlschema-1/#xsi_type) for a description of xsi:type.

This value tells a parser which derived type the element should be interpretted as and is required if your Xml Schema defines a type in a hierarchy using derivation.

Note: The W3C example use the prefix 'xsi:', the Liquid generated code uses prefix 'xs:', but any prefix can be used. This is declared as an attribute of the root element of the xml document:

xmlns:xs

="http://www.w3.org/2001/XMLSchema-instance"