ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
XML::XPath in Win32 World
by Bruce Wilcox other posts by this author
Jul 28 2005 5:16PM messages near this date
view in the new Beta List Site
Re: Perl XML: next steps | Re: XML::XPath in Win32 World
& XSLT The below code chokes with the following error:

501 Protocol scheme 'e' is not supported e:/...

Is there another way to show that the file resides on the "E:" drive? One
that the module will digest cleanly?

Thanks.

#!/perl/bin/perl.exe
use strict;
use XML::XPath;
my $xp;
my $nodeset;
my $file = "e:/help.thx.xml";
eval {
 $xp = XML::XPath-> new('filename' => $file);
};
eval {
 $nodeset = $xp-> find('//FORMSPECIFICELEM');
};
if ($@) {
    print $@;
}

_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Bruce Wilcox
Richard Rathmann
$Bill Luebkert
Randy Kobes

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved