Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
--declare a string to hold you xml from your table
DECLARE @v_XMLString VARCHAR(2000)
--replace proper fieldname and tablename
SELECT @v_XMLSTring = xmlfield FROM MyTable
--Open File handle to read XML
DECLARE @FileHandle INT -- Filehandle to the xml stuff
--Execute the inbuilt XML stored proc handler
EXEC dbo.sp_xml_preparedocument @FileHandle output, @v_XMLSTring
SELECT
*
FROM
OPENXML(@FileHandle, 'root/noderoot/node', 1 )
WITH ( field1 Int '@attribute1',
field2 Int '@attribute2')
EXEC dbo.sp_xml_removedocument @FileHandle