I am attempting to generate XML similar to the below using the xerces
libraries. I cannot find a suitable example to follow; can anyone with experience in this area please advise?
<ad xsi:noNamespaceSchemaLocation="smaato_ad_v0.9.xsd" modelVersion="0.9">
<richmediaAd>
<content>
<script>yadda...yadda... richmedia content ...yadda</script>
</content>
<width>728</width>
<height>90</height>
<beacons>
<beacon>http://mysite.com/beacons/mybeacon1</beacon>
<beacon>http://mysite.com/beacons/mybeacon2</beacon>
</beacons>
</richmediaAd>
</ad>