Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: A newbie XML and HTTP question.

by bmann (Priest)
on Jul 12, 2005 at 20:04 UTC ( [id://474375]=note: print w/replies, xml ) Need Help??


in reply to A newbie XML and HTTP question.

jdtoronto,

The XML submitted by perl is not well-formed, hence the "malformed" error message.

It looks to me that all you need to do is close the 'campaign' element, ie <campaign action="6" /> (note the ' />').

Replies are listed 'Best First'.
Re^2: A newbie XML and HTTP question.
by jdtoronto (Prior) on Jul 12, 2005 at 20:05 UTC
    Exactly! I sat here and looked at it again for the umpteenth time in as many hours - and suddenly it dawned on me - now it works perfectly.

    Thanks!

      xmllint from the libxml2 project is really good for trouble-shooting possibly bad XML. I use it frequently when working on Petal templates which must be well-formed XML.

      -sam

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-20 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found