Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Easily XML filtering?

by mattr (Curate)
on May 07, 2008 at 18:10 UTC ( #685281=note: print w/replies, xml ) Need Help??


in reply to Re: Easily XML filtering?
in thread Easily XML filtering?

Wow that is really cool. Thanks! (And thank everyone else too!) Your update about doing db updates at same time as filtering is also pertinent.

Yes I will have to study the module to see how to specify rules for subtrees nested inside the Company tag. My description wasn't so great. My data is basically a Feed of many Company twigs each wrapped in an Entity.

<Feed> <Entity> <Company> <Identity> <Address>... </Identity> <Executives> <Section> <Executive> <Executive> </Section> ... </Company> </Entity> <Entity> <Company> ...
and so on.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://685281]
help
Chatterbox?
shmem doesn't have mp3info, but mp3info2 - which is a perl script ;-)
[marioroy]: my @music_times = qx(find \$HOME/Music/ Albums/ -type f -iname '*.mp3' -exec mp3info -p "%S\\\n" {} \\;);
[marioroy]: might need 2 or 3 backslash for \n. Also \\;
[Lady_Aleena]: shmem, there is MP3::Info/
[Discipulus]: too much complex qx when you know perl are better to avoid
[marioroy]: might need to backslash \'*.mp3\'
[marioroy]: It's a quoting issue inside qx. It's File::Find or qx. LA chooses qx. Almost there.
[marioroy]: Also \"%S\\\n\" oh my, not fun.
[Discipulus]: good night folks

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2017-04-23 21:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.