Hi Jan,
Thanks. Are there any perl modules to solve this problem?
Regards,
Like
- Original Message -
From: Jan Dubois [EMAIL PROTECTED]
To: 'Like Ma' [EMAIL PROTECTED]
Cc: perl-win32-users@listserv.activestate.com
Sent: Tuesday, May 09, 2006 6:38 AM
Subject: RE: How to query
Hi Carter
I suggest you have a look at the following XML modules:
In your scipt, these module should suffice.
use XML::Parser;
use XML::Simple;
# mod to convert from/to other output
use XML::Dumper;
use CGI::XML;
they should cover the basic XML parsing and generation requierment you
have.
Cut and pasting your code gives me this output:
-
C:\Tempsig4.pl
First wait
Second Wait
continuing on
Third wait
continuing on
--
So, I'm losing the first call for whatever reason. I thought it might
be an autoflush thing so I turned it on
Thanks, Bruno.
I've been using XML::Writer to generate the XML and that works well.
Problem is I need to
display the generated XML code in a browser. To display the code
you generally need to
escape the special characters, like the ' ' (gt, lt amp) which
is where I have the problem.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Bremer
Sent: Tuesday, May 09, 2006 14:49
To: Active State Perl
Subject: Calling Acrobat Reader
I'm developing a nice little program that will search a directory on
another server and return
Wow, that's it? Thanks, Mark.
Seems to do exactly what I want.
print $q-escapeHTML($xml);
Carter.
On May 10, 2006, at 8:20 AM, Thomas, Mark - BLS CTR wrote:
If character escaping is your only problem, all you have to do is
this:
use CGI qw/:all/;
print escapeHTML($xml);
--
Mark Thomas
Hi Carter
I believe that there are perl modules that just does exactly that, helping
you to escape the generated XML.
In the meantime you can test your output with the (deprecated but still
supported) HTML tag: xmp
so your code XML will look like:
xmp
projectname=foobardefault=xyz
Hello Carter,
maybe this helps:
http://search.cpan.org/~lds/CGI.pm-3.20/CGI.pm#AUTOESCAPING_HTML
Sorry, if this was suggested before. I did not follow the whole thread.
Dietmar
-Ursprüngliche Nachricht-
Von: Carter Thompson [mailto:[EMAIL PROTECTED]
If character escaping is your only problem, all you have to do is this:
use CGI qw/:all/;
print escapeHTML($xml);
--
Mark Thomas
Internet Systems Architect
___
BAE SYSTEMS Information Technology
2525 Network Place
Herndon, VA 20171 USA
Hi Like,
I'm not aware of any modules for this. A *long* time ago I started
working on a Win32::COM implementation, but abandoned it because almost
all interesting COM components support IDispatch properly. You are
really running into a case where the developer of the component hasn't
been
Ng, Bill wrote:
Cut and pasting your code gives me this output:
-
C:\Tempsig4.pl
First wait
Second Wait
continuing on
Third wait
continuing on
--
So, I'm losing the first call for whatever reason. I thought it might
be an autoflush
Using Win32-OLE for automation results in crash of perl.
The scenario is as follows.
Create an IE object subscribe for the events
my $IE = Win32::OLE-new(InternetExplorer.Application)|| die Could not start Internet Explorer.Application\n;
12 matches
Mail list logo