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

  • Home
  • SEARCH
  • 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 3952390
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:50:42+00:00 2026-05-20T01:50:42+00:00

I have extracted an XML file (using Export Test Suite functionality) in TestLink. The

  • 0

I have extracted an XML file (using Export Test Suite functionality) in TestLink. The issue I am facing is that most of the summary and steps tags have been given as HTML code, embedded in CDATA.

As such this is not an issue, but I need to convert this file into an EXCEL sheet for importing into Visual Studio Test Manager. When I try to convert it, it does not come in the proper fashion and also, the data still has those HTML tags enclosing it, making it difficult to read.

My question is: Is there any simple way to remove those CDATA and HTML tags from the XML file? I tried converting it to Canonical form, but that only removes the CDATA string and not the actual HTML tags from the files. Thus, making it more difficult for me to export them to EXCEL.

SAMPLE INPUT:

                <expectedresults><![CDATA[
                    1. <span style="font-size: 10pt; color: black; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><font face="Arial">Sample Text Which I want to Keep</font></span>
                    2. Sample Text Which I want to Keep
                    3. <font face="Arial"><span style="font-size: 10pt; color: black; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Sample Text Which I want to Keep</span>
                    4. <span style="font-size: 10pt; color: black; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Sample Text Which I want to Keep</span>
                    ]]>
                </expectedresults>

SAMPLE OUTPUT:

                <expectedresults>
                    1. Sample Text Which I want to Keep
                    2. Sample Text Which I want to Keep
                    3. Sample Text Which I want to Keep
                    4. Sample Text Which I want to Keep
                </expectedresults>
  • 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-20T01:50:43+00:00Added an answer on May 20, 2026 at 1:50 am

    Assuming the format is exactly as you have mentioned. Perhaps you could write a macro to create another excel using the current one with all HTML tags in it.

    I think there could be a multi step process to extract what you need.

    1. Remove all the end tags for – and as that will make the ending of all the rows clean.
    2. Find the last occurrence of “> in each row. See help here http://www.mrexcel.com/archive/General/30895.html
    3. Use RIGHT function to extract the data.

    HTH.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application which extracts data from an XML file using XPath. If
I have a xml file. That I want to parse with NXXMLParser. I have
I have a piece of data. At the moment, it's an XML file, but
I have a file, which is in XML format (consists just of root start
I am navigating this office open xml file using XPath 1.0 (extract): <sheetData ref=A1:XFD108>
I have an XML file which is about 200MB in size, i wish to
I have an XML file, I need to extract values from it, and put
I have an SVG file that I've added information to and I am trying
I have a script that needs to extract data temporarily to do extra operations
I have a PHP web application on an intranet that can extract the IP

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.