I am trying to specify an xsd schema for a dataset (using
dataset.readxmlschema), before filling the dataset from an xml document
(using dataset.readxml), in order to define relationships between tables.
This gets me a dataset with the relevant relationships between tables etc.
However, I specify in the xsd that an element of a complexType can be
"xs:any". i.e "Allow any other elements to appear here, in addition to those
specified in the schema"
The dataset seems to ignore this, and therefore ignores any data from the
loaded xml.
If I dont specify a dtd at all, the dataset quite happily reads all the
elements in the xml - so why does it not read all elements when xs:any is
specified?
Can I use a schema to define relationships between tables, but also have
some columns in the resulting tables be created from elements not spcified
in the schema?
Thanks in advance,
Chris