CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2002
    Posts
    44

    How to do translation between two kinds of XML?

    To do unit test for C++ projects and Java projects, we choose cppUnit & JUnit. after the test processes, we will get test report in XML files. and they are in different format now.
    but we want to use one task of Ant (Junitreport) to generate HTML file according to the XML file. so we have to convert cppUnit report into the format of the JUnit report.

    so I wanna know how to do this kind of translation? I am really a newcomer to XML, I just got some general ideas on it in recent days.

    who can show me the feasible way or give me some suggestions to help me to do investigation on it?

    thanks sincerely

  2. #2
    Join Date
    Oct 2002
    Location
    Ukraine
    Posts
    7
    You can write an xsl file with instructions on how to convert xml file. And then apply this transform.

    ------------------
    Sincerely,
    Serg Dzysyak
    AlarIT programmer
    http://www.AlarIT.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured