Re: xml find text with wildcard

2012-11-12 Thread Gerhard
On Sat, Nov 10, 2012 at 05:33:31PM +, shawn wilson wrote: > [ ... ] > my $xml_data = < > http://www.w3.org/2001/XMLSchema-instance"; > xsi:noNamespaceSchemaLocation="null.xsd"> > > Find Me > Some Data > > > Leave Me Alone > Unimportant Data >

xml find text with wildcard

2012-11-10 Thread shawn wilson
what is the best way to find nodes a certain string (in this example: /Find Me/) ? in the example below, i'm getting too much output - i'd only expect 2 and 4. i had read there's a way of doing this with a newer LibXML, but i was unable to get it to work nor find documentation to suggest the perl m