On 4/26/07, b_alen <[EMAIL PROTECTED]> wrote:
> I have a huge XML file with complex DTD. Now I have to parse this into
> something more usable by stripping the redundant tags and modifying
> some of them. I see two options:
>
> 1. Recursivly visit all the nodes and handle them with "if" statements.
> 2. Use RegEx to do some sort of find and replace.
>
> The second options seems easier and faster if someone can point me in
> the right direction. Or maybe some other ideas?

Just an idea - if your XML is coming from the server, perhaps running
an XSL transformation on the document would be easier and faster.

e

Reply via email to