Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3688

XMLDocumentMBS Examples?

$
0
0

There are 3 examples for XML in the Monkeybread documentation, and they all relate to reading an existing file/data.

I am finding the Xojo XMLDocument quite slow on large data, and wonder if the MBS version is faster.
But I cannot find any examples of how to create nodes, children, and set attributes using this plugin

I need to create data like


<body>
<section1>
<item   attr1="Alpha"  attr2="beta"  attr3="12.3" />
<item   attr1="Alpha1"  attr2="beta7"  attr3="12.9" />
<item   attr1="Alpha3"  attr2="beta"  attr3="20" />
<section1/>
<section2>
<pet   type="cat"  attr2="beta"  age="12.3" />
<pet   attr1="dog"  attr2="beta7"  />
<pet   attr1="goldfish"   ages="0.5" />
<section2/>

<body/>

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3688

Trending Articles