Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have an xml file output from WordPress.

I have BBEdit as my main search tool.

I am on a Mac running 10.7.4

I am trying to find a muli-line block of text that starts with <item> and end with </item>

In the block, there must be <wp:status>publish</wp:status> and <wp:post_type>post</wp:post_type>

Does anyone have any idea how I would find that using GREP or Automator?

(Sorry I don't have enough rep to make better tags)

share|improve this question
    
Posting questions on multiple sites isn't generally allowed. Can you delete either this question or the one at Super User? –  Lri Aug 24 '12 at 20:12
    
It won't let me delete it –  Nohl Aug 24 '12 at 20:21
    
I ended up using Filemaker pro and two related sql tables to create a new xml file. very messy. it took weeks to figure out. –  Nohl Sep 8 '12 at 1:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.