<?xml version="1.0"?>
<!-- Sample data from W3C XML Schema Part 0: Primer -->
<purchaseOrder orderDate="1999-10-20">
<shipTo country="US">
<name>Alice Smith</name>
<street>123 Maple Street</street>
<city>Mill Valley</city>
<state>CA</state>
<zip>90952</zip>
</shipTo>
<billTo country="US">
<name>Robert Smith</name>
<street>8 Oak Avenue</street>
<city>Old Town</city>
<state>PA</state>
<zip>95819</zip>
</billTo>
<comment>Hurry, my lawn is going wild!</comment>
<items>
<item partNum="872-AA">
<productName>Lawnmower</productName>
<quantity>1</quantity>
<USPrice>148.95</USPrice>
<comment>Confirm this is electric</comment>
</item>
<item partNum="926-AA">
<productName>Baby Monitor</productName>
<quantity>1</quantity>
<USPrice>39.98</USPrice>
<shipDate>1999-05-21</shipDate>
</item>
</items>
</purchaseOrder>
<family familyname="Wong">
<member>
<name role="father" sex="male">Alex</name>
<drink>coffee</drink>
</member>
<member>
<name role="mother" sex="female">Mary</name>
<drink>tea</drink>
</member>
<member>
<name role="child" sex="male">John</name>
<drink>milk</drink>
<drink>juice</drink>
</member>
</family>
This is not an editor designed for the professional. This is designed for quite
and simple editing of XML data that can be done from a web browser.
A large XML file would
translate to a form with many input elements, and that will really push the
browser. Editing the structure of the XML document is done with JavaScript,
not exactly suited for large amount of computation. So it is not surprising
that it would not work well except for smaller XML files.
I suppose that if we only bring a slice of the XML file into the XML Form at
a time, then we can handling larger files. That would be a completely different
animal, requiring a lot of work and there is no immediate plan to do it.
So only use this for what it is designed for, quick editing of small amount of
XML data.
Since DOM is used heavily, you should try to use a recent version of the browser.
IE: IE6 or IE5.5 (Window only, not the Macintosh version) usually works fine,
with a lot of extra work in Javascript.
Opera: Opera7 mostly works fine except it would not display the generated XML file
so you have to output it as HTML. Opera6 does not work.
Mozilla: mostly tested with 1.2, 1.6 and the Firefox 0.8. It works fine with minor problems
here and there. However if you try to generate the XML data, often it would fail due to
a bug in Mozilla. If you take a snap shot and then generate the XML data from the snap shot,
then it should generate the XML data correctly. However you would not have this
problem if you generate the data with client side JavaScript.
Safari: has the same problems as Mozilla and more, saving the file would not help. Also Safari
would not display XML file so you have to output it as HTML. Taking snap shot does not work
so you cannot use the work around . It cannot handle radio buttons.
There are enough problems that currently you should avoid using Safari with this editor.
For the Mac the best browser to use for this editor would be Mozilla/Firefox.
See also section on keyboard navigation to see more incompatibilities.