Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: how to put XML string in table cell

by bimleshsharma (Beadle)
on Jan 22, 2014 at 10:27 UTC ( [id://1071585]=note: print w/replies, xml ) Need Help??


in reply to Re: how to put XML string in table cell
in thread how to put XML string in table cell

i analysed the html code and found that things are coming right..

<table><tr><td>1</td><td>"Soap Msg Comp"</td><td>49214792</td><td><?xm +l version="1.0" encoding="utf-8" ?> <Soap-ENV:Envelope version="1.1"> <Soap-ENV:Body> <CheckTrade> <tradeId>4921492</tradeId> </CheckTrade> </Soap-ENV:Body> </Soap-ENV:Envelope></td></tr></table>

Replies are listed 'Best First'.
Re^3: how to put XML string in table cell
by Corion (Patriarch) on Jan 22, 2014 at 10:27 UTC

    No, they are not coming right. <Soap-ENV: is not a valid HTML tag.

      ok, i found the way to do that. Just we need to encode the string as below ...

      use HTML::Entities; my $x= encode_entities( $x );

      and use below in td section

      <table><tr><td>test</td><td>$x</td></tr></table>

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-03-29 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found