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. Merge XML

Merge XML

Scheduled Pinned Locked Moved XML / XSL
xmlquestion
7 Posts 3 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.
  • P Offline
    P Offline
    Prashant C
    wrote on last edited by
    #1

    Can we merge two xml documents using XSLT ???

    L G 2 Replies Last reply
    0
    • P Prashant C

      Can we merge two xml documents using XSLT ???

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

      who is "we"?

      1 Reply Last reply
      0
      • P Prashant C

        Can we merge two xml documents using XSLT ???

        G Offline
        G Offline
        George L Jackson
        wrote on last edited by
        #3

        Yes, you can merge two or more XML documents. You will usually use the xsl:copy and xsl:copy-of elements to accomplish this. The following link may be helpful to you: http://www.topxml.com/xsltStylesheets/xslt_XML_to_XML.asp[^]

        "We make a living by what we get, we make a life by what we give." --Winston Churchill

        L 1 Reply Last reply
        0
        • G George L Jackson

          Yes, you can merge two or more XML documents. You will usually use the xsl:copy and xsl:copy-of elements to accomplish this. The following link may be helpful to you: http://www.topxml.com/xsltStylesheets/xslt_XML_to_XML.asp[^]

          "We make a living by what we get, we make a life by what we give." --Winston Churchill

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

          George L. Jackson wrote:

          Yes, you can merge two or more XML documents.

          are you sure about that? I don't see that in the link you provided. Last I checked (several years back) they had added the mechanism to the ( XSLT??? don't remember) standard but none of the engines had implemented it.

          G 2 Replies Last reply
          0
          • L led mike

            George L. Jackson wrote:

            Yes, you can merge two or more XML documents.

            are you sure about that? I don't see that in the link you provided. Last I checked (several years back) they had added the mechanism to the ( XSLT??? don't remember) standard but none of the engines had implemented it.

            G Offline
            G Offline
            George L Jackson
            wrote on last edited by
            #5

            See Solution III: http://www.devguy.com/fp/XML/XSL/Merge/Example1/index.html[^] I think outputing multiple documents is still implementation dependant, however. -- modified at 21:50 Tuesday 7th August, 2007

            "We make a living by what we get, we make a life by what we give." --Winston Churchill

            L 1 Reply Last reply
            0
            • L led mike

              George L. Jackson wrote:

              Yes, you can merge two or more XML documents.

              are you sure about that? I don't see that in the link you provided. Last I checked (several years back) they had added the mechanism to the ( XSLT??? don't remember) standard but none of the engines had implemented it.

              G Offline
              G Offline
              George L Jackson
              wrote on last edited by
              #6

              Xslt document function: http://msdn2.microsoft.com/en-us/library/ms256465(vs.80).aspx[^]

              "We make a living by what we get, we make a life by what we give." --Winston Churchill

              1 Reply Last reply
              0
              • G George L Jackson

                See Solution III: http://www.devguy.com/fp/XML/XSL/Merge/Example1/index.html[^] I think outputing multiple documents is still implementation dependant, however. -- modified at 21:50 Tuesday 7th August, 2007

                "We make a living by what we get, we make a life by what we give." --Winston Churchill

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

                That looks sweet, thanks. I am going to have to try some of that and see it in action!

                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