I'm working with an SOA vendor who provides a URL that looks like this:
It's supposed to be a URL which returns an HTML string that should show as a web page.
When I use it in a browser, IE or Firefox it shows the html code and seems to treat it as an XML document instead of showing the actual data.
Can someone explain why my browsers don't render the page from the html string it gets back?
The plan was to use the URL as the source in an iframe but all the frame shows is the source below:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<html><head><META http-equiv="Content-Type" content="text/html; charset=utf-16"/><style type="text/css">
th.th_title
{ border-bottom-width : 0px; }
th {
font: bold 14px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border-bottom: 1px solid #C1DAD7; text-align: Center;
padding: 2px 1px 2px 10px; }
th.papertype
{
font: bold 14px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px solid #C1DAD7;
padding: 2px 1px 2px 1px;
color: #4f6b72;
text-align: left ;
width:75px;
}
td
{
font: 12px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px solid #C1DAD7;
background: #fff; padding: 2px 5px 5px 10px;
color: #4f6b72; width:65px; text-align:right ;
}
td.papertype
{
font: 12px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px solid #C1DAD7; background: #fff; padding: 2px 1px 2px 1px;
color: #4f6b72; text-align: left ; width:75px;
}
td.dollar_col
{
font: 12px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px solid #C1DAD7; background: #fff; padding: 2px 5px 2px 2px;
color: #4f6b72; width:70px; text-align:right ;
}
td.papertypetotal
{
font: bold 12px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px solid #C1DAD7; background: #fff; padding: 2px 5px 2px 1px;
color: Black ; width:75px; text-align: left ;
}
</style></head><body><table><tr><th colspan="4" class="th_title">Today's Orders </th></tr><tr><th class="papertype"> Type </th><th>Stock #'s </th><th>Special #'s </th><th>Total$ </th></tr><tr><td class="papertype">Writing</td><td>47,517 </td><td>1,320 </td><td>48,837 </td></tr><tr><td class="papertype">T & C</td><td>204,849 </td><td>159,422 </td><td>364,271 </td></tr><tr><td class="papertype">SPECIALTY</td><td>19,721 </td><td>0 </td><td>19,721 </td></tr><tr><td class="papertype">Opague</td><td>4,590 </td><td>0 </td><td>4,590 </td></tr><tr><td class="papertype">COLOR COPY</td><td>67,400 </td><td>0 </td><td>67,400 </td></tr><tr><td class="papertype">Coated</td><td>50,690 </td><td>6,075 </td><td>56,765 </td></tr><tr><td class="papertype">Brights</td><td>38,117 </td><td>0 </td><td>38,117 </td></tr><tr><td class="papertypetotal">Total</td><td>432,884 </td><td>166,817 </td><td>599,701 </td></tr></table></body></html>
Vince
It's supposed to be a URL which returns an HTML string that should show as a web page.
When I use it in a browser, IE or Firefox it shows the html code and seems to treat it as an XML document instead of showing the actual data.
Can someone explain why my browsers don't render the page from the html string it gets back?
The plan was to use the URL as the source in an iframe but all the frame shows is the source below:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<html><head><META http-equiv="Content-Type" content="text/html; charset=utf-16"/><style type="text/css">
th.th_title
{ border-bottom-width : 0px; }
th {
font: bold 14px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border-bottom: 1px solid #C1DAD7; text-align: Center;
padding: 2px 1px 2px 10px; }
th.papertype
{
font: bold 14px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px solid #C1DAD7;
padding: 2px 1px 2px 1px;
color: #4f6b72;
text-align: left ;
width:75px;
}
td
{
font: 12px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px solid #C1DAD7;
background: #fff; padding: 2px 5px 5px 10px;
color: #4f6b72; width:65px; text-align:right ;
}
td.papertype
{
font: 12px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px solid #C1DAD7; background: #fff; padding: 2px 1px 2px 1px;
color: #4f6b72; text-align: left ; width:75px;
}
td.dollar_col
{
font: 12px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px solid #C1DAD7; background: #fff; padding: 2px 5px 2px 2px;
color: #4f6b72; width:70px; text-align:right ;
}
td.papertypetotal
{
font: bold 12px "Trebuchet MS" , Verdana, Arial, Helvetica, sans-serif;
border-bottom: 1px solid #C1DAD7; background: #fff; padding: 2px 5px 2px 1px;
color: Black ; width:75px; text-align: left ;
}
</style></head><body><table><tr><th colspan="4" class="th_title">Today's Orders </th></tr><tr><th class="papertype"> Type </th><th>Stock #'s </th><th>Special #'s </th><th>Total$ </th></tr><tr><td class="papertype">Writing</td><td>47,517 </td><td>1,320 </td><td>48,837 </td></tr><tr><td class="papertype">T & C</td><td>204,849 </td><td>159,422 </td><td>364,271 </td></tr><tr><td class="papertype">SPECIALTY</td><td>19,721 </td><td>0 </td><td>19,721 </td></tr><tr><td class="papertype">Opague</td><td>4,590 </td><td>0 </td><td>4,590 </td></tr><tr><td class="papertype">COLOR COPY</td><td>67,400 </td><td>0 </td><td>67,400 </td></tr><tr><td class="papertype">Coated</td><td>50,690 </td><td>6,075 </td><td>56,765 </td></tr><tr><td class="papertype">Brights</td><td>38,117 </td><td>0 </td><td>38,117 </td></tr><tr><td class="papertypetotal">Total</td><td>432,884 </td><td>166,817 </td><td>599,701 </td></tr></table></body></html>
Vince