Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6117789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:21:39+00:00 2026-05-23T15:21:39+00:00

I have a huge xml file and i want to convert it to a

  • 0

I have a huge xml file and i want to convert it to a readable format.

This is how my xml file looks like:

<entries>
<entry title="earth" id="9424127" date="2006-04-19T08:22:16.140">
<![CDATA[earth is the place where we live.]]>
</entry>
</entries>

So i have more than 5000 entries like this and i want to put them online so i can read them easily. How can i convert it?

This is the output that i want to have:

Earth

earth is the place where we live. (2006-04-19T08:22:16.140)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T15:21:40+00:00Added an answer on May 23, 2026 at 3:21 pm

    You could use an XSLT stylesheet to create a simple html table.

    For example, this stylesheet:

    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output indent="yes"/>
      <xsl:strip-space elements="*"/>
    
      <xsl:template match="node()|@*">
        <xsl:copy>
          <xsl:apply-templates select="node()|@*"/>
        </xsl:copy>
      </xsl:template>
    
      <xsl:template match="/entries">
        <html>
          <body>
            <table border="1">
              <xsl:apply-templates/>
            </table>
          </body>
        </html>
      </xsl:template>
    
      <xsl:template match="entry">
        <tr>
          <td><xsl:value-of select="@title"/></td>
          <td>
            <xsl:apply-templates/>
          </td>
          <td>(<xsl:value-of select="@date"/>)</td>
        </tr>
      </xsl:template>
    
    </xsl:stylesheet>
    

    would create:

    <html>
      <body>
        <table border="1">
          <tr>
            <td>earth</td>
            <td> earth is the place where we live. </td>
            <td>(2006-04-19T08:22:16.140)</td>
          </tr>
        </table>
      </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple but huge xml file like below. I want to parse
So I have this huge XML file that I am converting to an object
I have an XML file like this: <LogFiles> <Type1> <File> <Component>1</Component> <Path>C:\TypeFiles</Path> <FileName>a.txt</FileName> </File>
I have got a huge xml file (~ 85 Mo) and I would like
I have an HTML file and i want to convert to XML only using
I have a huge xml file that I would like to split up into
I have a huge xml file (1 Gig). I want to move some of
I have an HTML file and i want to convert to XML document only
I have a huge XML file of 9 GB where i need to add
I've got a huge struts.xml file and I want to add some logic in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.