Version 0.9  What is XML4Ada95?  Installation  How-To  API  Download 

COUNTER
counter


Programmers notes

Here you will find some tips about working with XML4Ada95.
This is not much as no one has much experience with this package yet. I hope you will find it useful, and should you stumble upon a nice pattern that can ease working with XML4Ada95, feel free to send it in.

What to use and what to with


I am usually always use "org_w3c_dom" - these eleven letters are a pain to write! I don't use any of the other packages, you don't need to.

Instead of using "org_w3c_dom" you can also rename it to something nice, like just "DOM".

Useful renames


I especially tend to rename the DOMString/Standard.String-converting functions with some very short like "s":

function s(S : in Standard.String) return DOMString renames From_Standard_String;
function s(S : in DOMString) return Standard.String renames To_Standard_String;

This makes the code far more readable.

Although I didn't use them, I think renaming all the To_Node/From_Node-converting functions would to something like "n" can further ease working with this package, though I didn't try this yet.


Installing How to ... Programmers notes Examples License

e-Mail: denny@nodix.de

design shareright © 2002 Phlash  
inhalt © 2003-04 Zdenko Denny Vrandecic  
last update: 14.01.2004 website created by XML4Ada95 DocGen