I would like to use XML SQL Utility to load XML where some of the data is stored in attributes; yet, XML SQL Utility seems to ignore the XML attributes. What can I do?
Unfortunately, for now you will have to use XSLT to transform your XML document (that is, change your attribute s into elements). XML SQL Utility does assume canonical mapping from XML to a database schema. This takes away a bit from the flexibility, forcing you to sometimes resort to XSLT, but at the same time, in the common case, it does not burden you with having to specify a mapping.
Related Questions
- I would like to use XML SQL Utility to load XML where some of the data is stored in attributes; yet, XML SQL Utility seems to ignore the XML attributes. What can I do?
- Does MS SQL Maestro support XML data type for storing documents in Microsoft SQL Server 2005 table columns?
- Can XML- SQL Utility store XML data across tables?