- 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' );
- or download this
<camel:sdnList xmlns:camel="http://tempuri.org/sdnList.xsd">
<camel:sdnEntry>
<camel:lastName>Hello world!</camel:lastName>
</camel:sdnEntry>
</camel:sdnList>
- 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>
- 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>