Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. xml to xml [modified]

xml to xml [modified]

Scheduled Pinned Locked Moved XML / XSL
xmltutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 4700633
    wrote on last edited by
    #1

    Hi, i need to convert a raw xml file into another xml file using xslt. I have no idea how to achieve the desire output. Can anyone provide an example? Thanks. Input xml:

    header name1 result1 header name2 result2 result22 reading name3 result3 reading name4 result4 result5

    The final xml will be like this:

    name1 result1 name2 result2 result2

    name3 result3 name4 result4 result5

    modified on Monday, August 25, 2008 11:25 AM

    L 2 Replies Last reply
    0
    • U User 4700633

      Hi, i need to convert a raw xml file into another xml file using xslt. I have no idea how to achieve the desire output. Can anyone provide an example? Thanks. Input xml:

      header name1 result1 header name2 result2 result22 reading name3 result3 reading name4 result4 result5

      The final xml will be like this:

      name1 result1 name2 result2 result2

      name3 result3 name4 result4 result5

      modified on Monday, August 25, 2008 11:25 AM

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Member 4703966 wrote:

      I have no idea how to achieve the desire output.

      Anyone who is a beginner would be in that same situation. Rather than ask someone to do it for you, you should be learning the XML/XSLT technology, that's what a developer does.

      Member 4703966 wrote:

      Can anyone provide an example?

      There are many examples on the internet. Try the Top XML site and www.w3schools.com, both have great tutorials with sample/example code.

      led mike

      1 Reply Last reply
      0
      • U User 4700633

        Hi, i need to convert a raw xml file into another xml file using xslt. I have no idea how to achieve the desire output. Can anyone provide an example? Thanks. Input xml:

        header name1 result1 header name2 result2 result22 reading name3 result3 reading name4 result4 result5

        The final xml will be like this:

        name1 result1 name2 result2 result2

        name3 result3 name4 result4 result5

        modified on Monday, August 25, 2008 11:25 AM

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        Since you voted my post down I guess that means you don't believe that as a developer you should learn the technology you need to work with. Ok, good luck.

        led mike

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups