Help for this page

Select Code to Download


  1. or download this
    my $xc = XML::LibXML::XPathContext->new( $doc->documentElement() );
    $xc->registerNs( foobar => 'http://tempuri.org/sdnList.xsd' );
    my $result = $xc->findvalue( '//foobar:lastName' );
    
  2. or download this
    <camel:sdnList xmlns:camel="http://tempuri.org/sdnList.xsd">
      <camel:sdnEntry>
        <camel:lastName>Hello world!</camel:lastName>
      </camel:sdnEntry>
    </camel:sdnList>
    
  3. or download this
    <camel:sdnList xmlns:camel="http://tempuri.org/sdnList.xsd">
      <penguin:sdnEntry xmlns:penguin="http://tempuri.org/sdnList.xsd">
        <camel:lastName>Hello world!</camel:lastName>
      </penguin:sdnEntry>
    </camel:sdnList>
    
  4. or download this
    <sdnList xmlns="http://tempuri.org/sdnList.xsd">
      <penguin:sdnEntry xmlns:penguin="http://tempuri.org/sdnList.xsd">
        <lastName>Hello world!</lastName>
      </penguin:sdnEntry>
    </sdnList>