- or download this
#!/usr/bin/env perl -l
...
for ($doc->findnodes('//span/text()')) {
print $1 while /$re/g;
}
- or download this
<span ...>%var%</span>
- or download this
<span ...>
%var%
</span>
- or download this
<root>
<A>
...
</C>
</B>
</root>
- or download this
PN1
PN2
...
DIMINCH
DIMMM
DIMINCH
- or download this
for my $context ($doc->findnodes('//span')) {
print $context;
...
}
}
}
- or download this
<span color="#231f20" whatever="%DoNotMatch%" textOverprint="false">%P
+N1%</span>
%PN1%
...
%DIMMM%%%%DIMINCH%
DIMMM
DIMINCH