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

Re^2: Tomcat context.xml parsing using XML::SImple

by jagadish1982 (Initiate)
on Nov 21, 2012 at 12:57 UTC ( #1004913=note: print w/replies, xml ) Need Help??


in reply to Re: Tomcat context.xml parsing using XML::SImple
in thread Tomcat context.xml parsing using XML::SImple

Is there any good option to parse the tomcat context.xml files using perl .
  • Comment on Re^2: Tomcat context.xml parsing using XML::SImple

Replies are listed 'Best First'.
Re^3: Tomcat context.xml parsing using XML::SImple
by Anonymous Monk on Nov 21, 2012 at 13:28 UTC

    Use something like XML::LibXML instead.

    or even XSH2

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004913]
help
Chatterbox?
[atcroft]: PriNet: Those code bits worked for me, with test hashes, but I didn't test it with more than a few simple test cases. *shrug* Had hoped it would help, at least.
[PriNet]: i think i found the problem, the "source" array that sets the individual key values isn't being cleared, it's keeping the previous values...
[atcroft]: PriNet: You might consider posting a small, self-contained snippet of that segment of your code, and see if someone else has a better idea.....
[atcroft]: PriNet: Ahhh... interesting.
[PriNet]: small would be a problem *heh*... the program reads all the lines from a pdf and converts the individual colum data to a seperate key/value pair... that's where the "previous" array from the pdf is not being cleared properly before reading the next pdf

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2017-06-28 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (619 votes). Check out past polls.