Lists Home |
Date Index |
- From: "Robert Hanson" <firstname.lastname@example.org>
- To: "Richard James Anderson" <email@example.com>,"XMLDEV" <firstname.lastname@example.org>
- Date: Wed, 4 Nov 1998 11:19:05 -0500
I downloaded your control, and have some questions...
1. Why can't I get it to work?
Ok, that was only one question, but a serious one.
I'm am trying to add Perl to your list of "Tested with", but ran into some
problems. Below is the code I used:
1. use Win32::OLE;
3. $parser = Win32::OLE->new('SAX.SAXParser') or die $!;
4. $parser->parseFile('c:\winn95\desktop\test.xml') or die $!;
5. undef $parser;
7. sub characters
9. my ($sCharacter, $iLength) = @_;
10. print "$sCharacter\n\n";
It seems to be able to create the SAX object in line 3, but dies on line 4
with the parseFile method. Is there anyway to
get an error from the parser to see what the problem is... maybe a
getLastError method? If I get a chance, I may also try it out with
PerlScript (or VBScript) in ASP later this week.
...If you (or anyone else) have any other ideas on getting this to work,
please let me know.
From: Richard James Anderson <email@example.com>
To: XMLDEV <firstname.lastname@example.org>
Date: Wednesday, November 04, 1998 6:36 AM
Subject: RE: xml parser
>For those who are interested, I've posted an early version of my ActiveX
>control up on my website ( URL below ).
>The control still has a long way to go, but it can parse most files that do
>not contain references to external entities.
>The download includes a sample VB6 app for reading and processing XML
>It just loads the XML file into a tree control, and shows the SAX events in
>a list control. Of course, the control can be used to anything that
>supports COM automation controllers.
>*** The text contained within this message is of a personal nature that
>not reflect the development of opinions of data interchange plc unless
>specifically stated ***
>xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
>Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
>To (un)subscribe, mailto:firstname.lastname@example.org the following message;
>To subscribe to the digests, mailto:email@example.com the following
>List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)