Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error while opening XML file 'The XML page cannot be displayed' .

Former Member
0 Likes
1,695


Hi  ,

I have created an xml file in the application server . when i try to open it , it is giving error .

"

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.  "

There is no error in the file. But, when i open it in notepad ,and save it without doing any modificatons . it is openning correctly .

Can any anybody suggest how to make the file opened directly with out openning it in notepad and do save ?

Br.

Prithvi.

4 REPLIES 4
Read only

Former Member
0 Likes
1,159

Hi Prithvi,

Please check the extension of the file. By default the program used to open is XSL stylesheet in your case.Change the defaults.

Regards,

Sheetal.

Read only

0 Likes
1,159

HI Sheetal ,

Could you please give me some sample code ? I am new to this concept.

BR.

Prithvi.

Read only

0 Likes
1,159

Hi Prithvi,

Are you using READ DATASET for reading the file from application server.

Can you elaborate your scenario a little further.

Regards,

Sheetal.

Read only

0 Likes
1,159


Hi Sheetal ,

I have to generate a .xml file. Scenario is like this , Open the file in output (dataset) in Bin mode, use call transformation to generate xml format of data then transfer it to dataset , close dataset .

After file is created , I am getting error while opening the file in IE browser as mentioned above .

Br.

Prithvi.