in reply to Re^2: Reading and Manipulation XML Files
in thread Reading and Manipulation XML Files

..so I didn't add the entire xml/dtd just a snipe of it.

Thats fine, but you could have made it a valid snip, unless the purpose of your post was to troubleshoot your xml (which would be off topic , How (Not) To Ask A Question)

. Now you did say that it is rather a bad idea, what would you suggest how I can solve this sleeker?

Like I already said and showed. Using proper parser always beats hand parsing xml.

  • Comment on Re^3: Reading and Manipulation XML Files

Replies are listed 'Best First'.
Re^4: Reading and Manipulation XML Files
by gizmojunkee (Novice) on Mar 26, 2010 at 13:18 UTC
    Hi, thanks again. It was not my intention to ask something non-Perl related so let me just show you the lot. Basically this is a config dtd of an Automation tool called Control-M. The Jobs which are the automated processes reflect the information in the xml. (Start time, Group-name etc). And this is an extract of 1 application witch is setup in Control-M. Every other App will have the same structure and I need to merge for every single App now the Quantitative Resources which enable me later on in Control-M to stop Job-Groups or an entire Node rather than every single Process. I hope I made a little more sense now? Thanks again
      Hi, thanks again. It was not my intention to ask something non-Perl related so let me just show you the lot.

      I never believed that was your intention.

      an entire Node rather than every single Process. I hope I made a little more sense now?

      You were making sense before, and I'm sure I've answered that question already. If you have a more specific question, please go ahead and ask it. See How (Not) To Ask A Question for tips, like providing a runnable program, along with sample input (which you provided) and expected output (which you didn't provide) and how it differs from your actual output.