Help for this page

Select Code to Download


  1. or download this
    # Example in section 9.1.3 of RFC4918
    my $txt1 = '<?xml version="1.0" encoding="utf-8" ?>
    ...
           <propname/>
         </propfind>
    ';
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    print "\$txt2 \$xpath6 \n";
    &doitLX(\$txt2, $xpath6);
    
  3. or download this
    $txt1 $xpath1 
    Failed XML::LibXML::Document::findnodes('/DAV:propfind/DAV:prop') $@ X
    +Path error : Undefined namespace prefix
    ...
    XML::LibXML::Document::findnodes('/propfind/propname') 0 nodes
    
    XML::LibXML::Element::findnodes('/propfind/propname') 0 nodes
    
  4. or download this
    my $xpath1 = '/DAV:propfind/DAV:prop';
    my $xpath2 = '/DAV:propfind/DAV:propname';