I have xml message in variable and i want to put in html->table->cell but i am not sure why that xml string is not displaying on web browser. here is code:
If i run above and see the html in browser then it looks like as below. Where i can see first TD value but not not second TD value exactly. Instead of this ID it should show complete $x. I have used print command for $x and value is coming fine. Please help Thanksopen FH, ">tt.html" or die "file could not be not created"; my $x= qq(<?xml version="1.0" encoding="utf-8" ?> <Soap-ENV:Envelope> <Soap-ENV:Body> <CheckTrade> <tradeId>49214792</tradeId> </CheckTrade> </Soap-ENV:Body> </Soap-ENV:Envelope> ); print FH "<table><tr><td>Message</td><td>$x</td></tr></table>;
________________________ Message | 49214792 __________|_____________
In reply to how to put XML string in table cell by bimleshsharma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |