Dataview progressive

If several data views are needed at once, the view “progressive” should be used. It provides a central point of access for all data views, which are progressively reloaded. The Xml document grows so to speak in the direction you enter it. This view is a comfort tool, but offers a performance advantage compared to datacalls when more than two data views are needed.

<onion:meta xmlns:onion="http://onionworks.net/2004/data" onion:id="onion://data/objects/40" onion:name="Buch 1.1.1" onion:parent="onion://data/objects/39" onion:dateCreated="2007-02-21T12:12:27.4400000+01:00" onion:creator="admin" />
<onion:content xmlns:onion="http://onionworks.net/2004/data">
<book onion:id="onion://data/objects/40" onion:schema="Onion:http://www.getit.de/2007/books/book">
<artist>Dudenredaktion</artist>
<bookname>Duden - Die deutsche Rechtschreibung</bookname>
<lang>deutsch</lang>
<price>20.00</price>
<description>Die deutsche Rechschreibung</description>
</book>
</onion:content>
<onion:incomingreferences xmlns:onion="http://onionworks.net/2004/data" onion:id="onion://data/objects/40">
<onion:object onion:href="onion://data/objects/41" onion:schema="Onion:http://www.getit.de/2007/books/chapter" />
</onion:incomingreferences>
<onion:status xmlns:onion="http://onionworks.net/2004/data" onion:id="onion://data/objects/40" onion:state="checkedIn" onion:lastModification="2007-02-22T14:30:37.3200000+01:00" onion:editor="admin" onion:version="1" />
<onion:children xmlns:onion="http://onionworks.net/2004/data" onion:id="onion://data/objects/40">
<onion:object onion:href="onion://data/objects/41" onion:schema="Onion:http://www.getit.de/2007/books/chapter" />
</onion:children>

The example shows the progressive view for a book, where the data of the book as well as information on structure are provided. Unlike with the meta view, “onion: meta” is used to access the meta data.