Xml-DataSource and BO-DataSource behave totally different.

Xml-DataSource and BO-DataSource behave totally different.

I have a nested "Master-Child-Subchild" Business-Object.
After registration it's a well nested tree.
The relations fit, the semantic is correct and its nice to work with.
- So far so good. -

But if i use an "Xml-File" as DataSource, which is an exact representation (in fact an XMl-Serialization) of
the BO, its's *not* nested. Objects are all on the same level, an there is a strange structure of generated
IDs and Parent-Objects. (Even an explicit xsd, which describes the nested-tree-structure doesn't change
that behaviour.)

Is there a solution for that problem? (I've read, the BO-Engine was redesigned some times ago, and previously
it behaved like the "XmlDataEngine" obviously still does. Are there plans to update the XmlDataEngine also?)

Thx for any reply...

Comments

  • edited 1:15PM
    Hello,

    XML-datasource reads the xml file into the DataSet using the code -
    dataSet.ReadXML(xmlFile);
    then registers all the tables in this dataset. So the xmlfile must be DataSet-compatible.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.