I'm using a WSI Query to retrieve data from the ExtensionData column in the Manufacturer table. My table contains an XML fragment. When my result is returned the XML has been escaped and is not usable.
This is the WSI command:
Code:
<AspDotNetStorefrontImport Version="7.1">
<Query Name="Manufacturers" RowName="Manufacturer" retType="xml">
<SQL><![CDATA[ select convert(xml, ExtensionData) ExtensionData from manufacturer]]></SQL>
</Query>
</AspDotNetStorefrontImport>
This is the response:
Code:
<?xml version="1.0" encoding="utf-8"?>
<AspDotNetStorefrontImportResult Version="7.1" DateTime="1/2/2012 5:21:55 PM">
<Query Name="Manufacturers">
<Manufacturer>
<extensiondata><VE_CD>1AMA</VE_CD></extensiondata>
</Manufacturer>
</Query>
</AspDotNetStorefrontImportResult>
What am I missing?