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. create multiple XML files

create multiple XML files

Scheduled Pinned Locked Moved XML / XSL
xmlquestion
6 Posts 2 Posters 19 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.
  • H Offline
    H Offline
    hmise
    wrote on last edited by
    #1

    how I can create multiple XML files from a single XML file using xsltproc?

    P 1 Reply Last reply
    0
    • H hmise

      how I can create multiple XML files from a single XML file using xsltproc?

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      If you are using XSL 2, you can use xsl:result-document to target multiple output documents.

      I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be

      Forgive your enemies - it messes with their heads

      My blog | My articles | MoXAML PowerToys | Onyx

      H 1 Reply Last reply
      0
      • P Pete OHanlon

        If you are using XSL 2, you can use xsl:result-document to target multiple output documents.

        I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be

        Forgive your enemies - it messes with their heads

        My blog | My articles | MoXAML PowerToys | Onyx

        H Offline
        H Offline
        hmise
        wrote on last edited by
        #3

        I must use XSLTProc it does not support XSLT 2.0

        P H 2 Replies Last reply
        0
        • H hmise

          I must use XSLTProc it does not support XSLT 2.0

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          The only way I can see to do this with this tool then is to have multiple XSLT files and run them in sequence. It's not pretty, but XSLT 1 was not designed for a 1-in to many-out scenario.

          I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be

          Forgive your enemies - it messes with their heads

          My blog | My articles | MoXAML PowerToys | Onyx

          1 Reply Last reply
          0
          • H hmise

            I must use XSLTProc it does not support XSLT 2.0

            H Offline
            H Offline
            hmise
            wrote on last edited by
            #5

            thank you Pete O'Hanlon

            P 1 Reply Last reply
            0
            • H hmise

              thank you Pete O'Hanlon

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              You are welcome. I hope we have helped.

              I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be

              Forgive your enemies - it messes with their heads

              My blog | My articles | MoXAML PowerToys | Onyx

              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