Jump to content
harish pathak

XML file download in notepad in correct format like xml file

Recommended Posts

Hi Guys,

We have a requirement to download the internal table data as XML file.

Able to download the XML file in correct format, but when opened in NOTEPAD we are getting the complete tags of the XML in a single line.

We need the notepad file also to look like the format of the XML file when opened.

Please reply as soon as possible.

Thanks in advance.

Harish Pathak

Share this post


Link to post
Share on other sites

Hi dsonesuk,

Thanks for your prompt reply.  What do you say about the following statement that I found in another forum.  Please give your views, I am not getting this point.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The XML file needs to be formatted (or viewed) with an XML editor or processed with an XML formatting tool, if you want to view it with Notepad.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

What should I do to view xml file in notepad in xml format.

Thanks in advance.

Harish Pathak

 

Share this post


Link to post
Share on other sites

XML is text based data storage, it can be viewed just as well in editor such as Notepad++ properly indented and formatted. XML specific editors can do the same and much more, including importing data as xml, as well as styling with XSLT.

To view in Notepad in a proper format such as indented etc, it would have to be formatted with required line break, tabbing that notepad will recognised to produce the required result.

Share this post


Link to post
Share on other sites

Hi dsonesuk,

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------To view in Notepad in a proper format such as indented etc, it would have to be formatted with required line break, tabbing that notepad will recognised to produce the required result.                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

How to do that ? Could you please give an example ? Which formatting tool we will use ?

Please reply as soon as possible.

Thanks in advance.

Harish Pathak

Share this post


Link to post
Share on other sites

You would google to find such a formatting tool, or online service, I searched and there are such tools. Which tool? I wouldn't know cause I haven't had to use such a tool, I would use what I've already mentioned.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...