用Aspx文件,写的XML文件,在IE9无法显示

chong4r 2013-02-06 03:42:43
请问这个是什么原因呀?
见Html
<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="TciEmulator.aspx.cs" Inherits="TestReport.TciEmulator" 
ContentType="text/xml" ValidateRequest="False" Trace="False" EnableSessionState="False" %>

<?xml version="1.0" standalone="no"?>
<!DOCTYPE Response SYSTEM "https://www.tciscreener.com/webApp/XMLCredit/CreditResponse.dtd">
<Response product="1.0" reference="-1019839703">
<Report id="135770">
<Header>
<Bureau code="tu">Transunion</Bureau>
<Product>Credit Report</Product>
<DatePulled>20040616</DatePulled>
<TimePulled>085208</TimePulled>
<NoHit>false</NoHit>
</Header>
<Subject type="primary">
<Name type="primary">
<Prefix/>
<FirstName>JOHN</FirstName>
<MiddleName>R</MiddleName>
<LastName>DOE</LastName>
<Suffix>JR</Suffix>
<FullName>JOHN R DOE JR</FullName>
</Name>
<Residence status="unknown" type="current">
<Address>
<Number>1212</Number>
<ApartmentNumber/>
<POBox/>
<Route/>
<Prefix/>
<StreetName>CONTINENTAL</StreetName>
<StreetType>AV</StreetType>
<Suffix/>
<City>AUBURN HILLS</City>
<State>MI</State>
<ZipCode>48326</ZipCode>
<County/>
<Country/>
<UnparsedAddress/>
</Address>
<DateReported/>
<MoveInDate/>
<MoveOutDate/>
<Phone>
<AreaCode/>
<Number/>
<Extension/>
<UnparsedPhone/>
</Phone>
</Residence>
<Residence status="unknown" type="previous">
<Address>
<Number>1234</Number>
<ApartmentNumber/>
<POBox/>
<Route/>
<Prefix>SW</Prefix>
<StreetName>SQUIRREL</StreetName>
<StreetType>AV</StreetType>
<Suffix/>
<City>GRAND RAPIDS</City>
<State>MI</State>
<ZipCode>49509</ZipCode>
<County/>
<Country/>
<UnparsedAddress/>
</Address>
<DateReported/>
<MoveInDate/>
<MoveOutDate/>
<Phone>
<AreaCode/>
<Number/>
<Extension/>
<UnparsedPhone/>
</Phone>
</Residence>
<Residence status="unknown" type="previous">
<Address>
<Number>6425</Number>
<ApartmentNumber/>
<POBox/>
<Route/>
<Prefix/>
<StreetName>STATE RT 13</StreetName>
<StreetType/>
<Suffix/>
<City>SPRINGFIELD</City>
<State>IL</State>
<ZipCode>62260</ZipCode>
<County/>
<Country/>
<UnparsedAddress/>
</Address>
<DateReported/>
<MoveInDate/>
<MoveOutDate/>
<Phone>
<AreaCode/>
<Number/>
<Extension/>
<UnparsedPhone/>
</Phone>
</Residence>
<Employment type="current">
<EmployerName>FEDERAL EXPRESS</EmployerName>
<Occupation>MECHANIC</Occupation>
<DateHired/>
<DateSeparated/>
<DateReported>20030201</DateReported>
<DateVerified/>
<Income/>
</Employment>
<Employment type="previous">
<EmployerName>A B C INC</EmployerName>
<Occupation>GROWER</Occupation>
<DateHired/>
<DateSeparated/>
<DateReported>19951001</DateReported>
<DateVerified/>
<Income/>
</Employment>
<PersonalInformation>
<Age/>
<DateOfBirth>19701101</DateOfBirth>
<Gender/>
<MaritalStatus/>
<SSN>111111111</SSN>
</PersonalInformation>
<Phone>
<AreaCode/>
<Number/>
<Extension/>
<UnparsedPhone/>
</Phone>
<Credit>
<ConsumerStatement/>
<CreditScore>
<ScoreModel>00950</ScoreModel>
<Score>683</Score>
<Reason>005</Reason>
<Reason>010</Reason>
<Reason>012</Reason>
<Reason>011</Reason>
<Reason>011</Reason>
</CreditScore>
<Collections>
<Collection>
<AccountNumber>1234567</AccountNumber>
<AccountType>O</AccountType>
<CollectionAgency>CBCS</CollectionAgency>
<Comment type="other">AA</Comment>
<Creditor>MEDICAL</Creditor>
<CurrentBalance>000000087</CurrentBalance>
<DateClosed/>
<DateOpened>19990610</DateOpened>
<DatePaid/>
<DateReported/>
<DateVerified>20040430</DateVerified>
<ECOA>I</ECOA>
<MannerOfPayment>9B</MannerOfPayment>
<OriginalBalance>000000087</OriginalBalance>
<Status/>
</Collection>
</Collections>
<Inquiries>
<Inquiry>
<Inquirer>CU ONE</Inquirer>
<InquiryDate>20040616</InquiryDate>
<InquiryType>C</InquiryType>
<IndustryCode>Q</IndustryCode>
<SubscriberID>00005220</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>FLEET NAT</Inquirer>
<InquiryDate>20040416</InquiryDate>
<InquiryType>I</InquiryType>
<IndustryCode>B</IndustryCode>
<SubscriberID>00700045</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>FUSA</Inquirer>
<InquiryDate>20031023</InquiryDate>
<InquiryType>I</InquiryType>
<IndustryCode>B</IndustryCode>
<SubscriberID>00006675</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>NCB/CARD SER</Inquirer>
<InquiryDate>20030521</InquiryDate>
<InquiryType>I</InquiryType>
<IndustryCode>N</IndustryCode>
<SubscriberID>01253242</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>CU ONE</Inquirer>
<InquiryDate>20030306</InquiryDate>
<InquiryType>I</InquiryType>
<IndustryCode>Q</IndustryCode>
<SubscriberID>00200834</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>CITI</Inquirer>
<InquiryDate>20030304</InquiryDate>
<InquiryType>I</InquiryType>
<IndustryCode>N</IndustryCode>
<SubscriberID>00012830</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>FIFTH THIRD</Inquirer>
<InquiryDate>20030206</InquiryDate>
<InquiryType>C</InquiryType>
<IndustryCode>B</IndustryCode>
<SubscriberID>03759888</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>CU ONE</Inquirer>
<InquiryDate>20030203</InquiryDate>
<InquiryType>I</InquiryType>
<IndustryCode>Q</IndustryCode>
<SubscriberID>00200742</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>PFEIFFER LIN</Inquirer>
<InquiryDate>20030203</InquiryDate>
<InquiryType>I</InquiryType>
<IndustryCode>A</IndustryCode>
<SubscriberID>00010020</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>FRANKLIN MTG</Inquirer>
<InquiryDate>20021224</InquiryDate>
<InquiryType>I</InquiryType>
<IndustryCode>R</IndustryCode>
<SubscriberID>00015342</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>INFO1/LANDAM</Inquirer>
<InquiryDate>20021205</InquiryDate>
<InquiryType>P</InquiryType>
<IndustryCode>Q</IndustryCode>
<SubscriberID>00241047</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>MBNA</Inquirer>
<InquiryDate>20020904</InquiryDate>
<InquiryType>I</InquiryType>
<IndustryCode>B</IndustryCode>
<SubscriberID>00008717</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
<Inquiry>
<Inquirer>KOHLS DPT ST</Inquirer>
<InquiryDate>20020712</InquiryDate>
<InquiryType>I</InquiryType>
<IndustryCode>D</IndustryCode>
<SubscriberID>00000514</SubscriberID>
<Loan>
<LoanAmount/>
<LoanTerms/>
<LoanType/>
</Loan>
</Inquiry>
</Inquiries>
<PublicRecords>
<PublicRecord>
<Assets/>
<Attorney/>
<Comment type="consumer"/>
<DateFiled>20061019</DateFiled>
<DatePaid/>
<DateReported>20061019</DateReported>
<DateVerified/>
<Defendant/>
<DocketNumber>112233455</DocketNumber>
<Liabilities>00029999</Liabilities>
<Plaintiff>VENDETTA AUTO</Plaintiff>
<RecordType>GN</RecordType>
<Status/>
<Court>
<CourtName>COURT NUMBER ONE</CourtName>
<CourtType>2</CourtType>
<City/>
<State/>
<SubscriberID/>
</Court>
</PublicRecord>
<PublicRecord>
<Assets/>
<Attorney/>
<Comment type="consumer"/>
<DateFiled>20001019</DateFiled>
<DatePaid/>
<DateReported>20001019</DateReported>
<DateVerified/>
<Defendant/>
<DocketNumber>112233455</DocketNumber>
<Liabilities>00015760</Liabilities>
<Plaintiff>VENDETTA AUTO</Plaintiff>
<RecordType>1D</RecordType>
<Status/>
<Court>
<CourtName>COURT NUMBER ONE</CourtName>
<CourtType>2</CourtType>
<City/>
<State/>
<SubscriberID/>
</Court>
</PublicRecord>
</PublicRecords>
<Trades>
.....................
...全文
107 5 点赞 打赏 收藏 举报
写回复
5 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
chong4r 2013-02-06
IE8模式,显示内容如下:
 <?xml version="1.0" standalone="no" ?> 
  <!DOCTYPE Response (View Source for full doctype...)> 
- <Response product="1.0" reference="-1019839703">
- <Report id="135770">
- <Header>
  <Bureau code="tu">Transunion</Bureau> 
  <Product>Credit Report</Product> 
  <DatePulled>20040616</DatePulled> 
  <TimePulled>085208</TimePulled> 
  <NoHit>false</NoHit> 
  </Header>
- <Subject type="primary">
- <Name type="primary">
  <Prefix /> 
  <FirstName>JOHN</FirstName> 
  <MiddleName>R</MiddleName> 
  <LastName>DOE</LastName> 
  <Suffix>JR</Suffix> 
  <FullName>JOHN R DOE JR</FullName> 
  </Name>
- <Residence status="unknown" type="current">
- <Address>
  <Number>1212</Number> 
  <ApartmentNumber /> 
  <POBox /> 
  <Route /> 
  <Prefix /> 
  <StreetName>CONTINENTAL</StreetName> 
  <StreetType>AV</StreetType> 
  <Suffix /> 
  <City>AUBURN HILLS</City> 
  <State>MI</State> 
  <ZipCode>48326</ZipCode> 
  <County /> 
  <Country /> 
............................
  • 打赏
  • 举报
回复
chong4r 2013-02-06
是的,我就是要这样的效果,需要的就是要有XML内容 的网页 我用了IE8,IE7,它们都可以显示,但IE9不可以
  • 打赏
  • 举报
回复
Ho_Johnson 2013-02-06
楼主 是要写网页还是要写XML 如果要写XML 要一个记事本写好了,保存成XML 后缀的文件就可以了 你这个是 XML内容 的网页,不是XML文件,当然不会 显示出 XML ,只是网页的内容是XML形式的字符串,你要理解懂
  • 打赏
  • 举报
回复
chong4r 2013-02-06
想用Aspx界面,建个XML页面 <!DOCTYPE Response SYSTEM "https://www.tciscreener.com/webApp/XMLCredit/CreditResponse.dtd"> 这句是为了从远程服务器获取另外一个XML信息
  • 打赏
  • 举报
回复
我是小李 2013-02-06
<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="TciEmulator.aspx.cs" Inherits="TestReport.TciEmulator" ContentType="text/xml" ValidateRequest="False" Trace="False" EnableSessionState="False" %> <?xml version="1.0" standalone="no"?> <!DOCTYPE Response SYSTEM "https://www.tciscreener.com/webApp/XMLCredit/CreditResponse.dtd"> 看到了这三段代码,请问下LZ你这是想建个aspx的页面啊还是XML的页面啊还是xhmtl的页面啊。 把这三段都写上就什么都不是了。
  • 打赏
  • 举报
回复
相关推荐
发帖
.NET社区
加入

5.9w+

社区成员

.NET技术交流专区
申请成为版主
帖子事件
创建了帖子
2013-02-06 03:42
社区公告
暂无公告