Can not load full XML document.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Can not load full XML document.

This post has NOT been accepted by the mailing list yet.
Can not load full XML document. It parses only first row. What is wrong?

Here is my code:

<!DOCTYPE html>
    <title>dojox/grid/DataGrid with XML</title>
    <meta charset="utf-8"/>
    <link rel="StyleSheet" type="text/css" href=""/>
    <link rel="StyleSheet" type="text/css" href=""/>
    <script src="" type="text/javascript" data-dojo-config="parseOnLoad:true, async:1"></script>

  <body class="claro">
    <article data-dojo-type="" data-dojo-props="url : 'data.xml', rootItem: 'data'" data-dojo-id="display">
Column 1Column 2

    <script> require(["dojo", "dojo/parser", "dojox/data/XmlStore", "dojox/grid/DataGrid"], function(dojo) { dojo.ready(function() { }); }); </script>  </body>

XML Document:

<?xml version="1.0" encoding="UTF-8" ?>