Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Design recommendation for parsing and creating XML files.

by jmurphy (Acolyte)
on Jun 19, 2002 at 07:17 UTC ( #175571=note: print w/replies, xml ) Need Help??

in reply to Design recommendation for parsing and creating XML files.

I apologize. I just re-read the post and realized the formatting for the last paragraph was incorrect. It probably didn't make much sense. It should have read:

The problem is that I have to extract (inclusively) the data between each <Message>...</Message> section and write each chunk to its own file using the value in <MessageID>...</MessageID> for the file name. I understand that this module generates SAX events as a result of the query however, I was considering building a DOM tree and using XPath to extract the necessary text. Can anyone offer any advice on my purposed method of attack? I understand the benefits of using SAX with regards to performance however, the ease of the XPath syntax seems very appealing.

Thanks again,

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://175571]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2023-06-09 14:20 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (36 votes). Check out past polls.