I have recently been involved in a project that gave me my first chance to get 
acquainted with the UV XDOM API functions.

<gripe>
I must say that I was bitterly disappointed with the documentation on the XML 
functionality in UniVerse 10.2. Nothing more than a simple description of each 
of the API functions, and no clear example of how to go about getting started. 
Not to mention the inter-weaving of UniData and UniVerse configurations that 
lead me into much confusion about what was going on.
</gripe>

Once I got a handle on how things worked, it was obvious that if we were to be 
building XML docs in code, we would need to create some supporting code to make 
things easier. I ended up creating a function to add new elements and 
attributes that made a huge difference. I used a function instead of a 
subroutine because it fits in easier with the XDOM API function calls, and this 
makes it easier to adopt.

I created a description of the function and its implementation over at 
http://gdoesu2.wordpress.com/2010/10/25/an-easier-way-to-build-xml-in-universe/,
 in case anyone else needs a helping hand getting started with manual XML 
document building.

The site also has a few other entries on the quirks/"features" of the XDOM API 
functions which might be of interest as well.

Regards,

Gregor


________________________________
This email and any attachments to it are confidential.
You must not use, disclose or act on the email if you are not the intended
recipient. Liability limited by a scheme approved under Professional
Standards Legislation.
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to