VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

XMLGenerator

Deltaoo  (1 Submission)   Internet/HTML   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

Generate XML from ADO recordsets.

Inputs
'Set a ref to MS ADO and MSXML3.0 strParentName=name of top level node (usually the table name) oRS = Recordset

Assumes
Use as follows... Create a procedure to connect to and retreive a recorset from a datasource. Dim a strVariable to hold the returned xml and a boolen to check the ceration process... dim strXML as string Dim bOK as boolean 'Use as follows... bOK=bGenerate_XML("tablename", oRS , strXML)

Returns
strXML = The transformed data bGenerate_XML = Boolean

Side Effects
No error checking.... so there may be some

Rate XMLGenerator (3(3 Vote))
XMLGenerator.bas

XMLGenerator Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters