
May 16th, 2005, 09:35 AM
|
|
Registered User
|
|
Join Date: May 2005
Posts: 3
Time spent in forums: 26 m 52 sec
Reputation Power: 0
|
|
|
SAX2 in ASP?
Post repeated from ASP Development forum due to feelings of disgraceful neglect.
--------------------
Hi
Is it possible to parse XML files using SAX2 in ASP? I mean, is it possible to create the contentHandler with all that argument types and all in the variant world of ASP?
I did make a dll of the class, but then nobody allows usage of 3rd party components on free web hosting services. And I'm not going to pay for just that.
The declaration in VB for the contentHandler class's most important subroutine (important atleast for me), startElement goes like:
Code:
Private Sub IVBSAXContentHandler_startElement(strNamespaceURI As String,strLocalName As String,strQName As String, ByVal oAttributes As MSXML2.IVBSAXAttributes)
We even have to use the "Implements IVBSAXContentHandler" statement on top of the class module in VB, and we can do that since we reference MSXML2. I'm muddled up.
Thanks
|