XML Helper Functions

The Aloaha Cardconnector, sign! and also the Aloaha Signator include some very usefull XML API's.

One of the most requested helper functions is to c14n Canonize XML Files. The usage is pretty easy as usual.

The object to reference is aloahacsp.xml. Two functions cover canonizing:

Canonize(InputFilename, OutputFilename,OverWrite) canonizes Inputfilename and writes the result ot OutputFilename.

and

CanonizeString(InputXMLString) canonizes directly the given XML String and returns the canonized XML String.

Sample:

dim xml
set xml = createobject("aloahacsp.xml")

     msgbox xml.canonize(cstr("c:\1.xml"),cstr("c:\out.xml"),true)

set xml = nothing



Please do not hesitate to contact us if you need further information, assistance or more APIs.


Company
Contact Person  
E-Mail
Telephone
Fax
Comment:

Please enter the code shown on the left in the following field: (This is to prevent automatic spammers)

Aloaha Software