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. How can i post xml header in my output xml using xslt?

How can i post xml header in my output xml using xslt?

Scheduled Pinned Locked Moved XML / XSL
xmlquestion
4 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.
  • J Offline
    J Offline
    jagjit_surfer
    wrote on last edited by
    #1

    Hi all! I want to add an extra header in my output xml which is generated by converting simple xml. how can i add header in o/p xml? plz suggest me.

    L 1 Reply Last reply
    0
    • J jagjit_surfer

      Hi all! I want to add an extra header in my output xml which is generated by converting simple xml. how can i add header in o/p xml? plz suggest me.

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

      jagjit_surfer wrote:

      how can i add header in o/p xml?

      Well you could use XSLT for that. There are other ways.

      J 1 Reply Last reply
      0
      • L led mike

        jagjit_surfer wrote:

        how can i add header in o/p xml?

        Well you could use XSLT for that. There are other ways.

        J Offline
        J Offline
        jagjit_surfer
        wrote on last edited by
        #3

        I m currently using xslt, but i don't know the way how can i set xml declaration? I want to add extra declaration like in my transformed xml doc. Would u plz suggest me?

        modified on Friday, February 20, 2009 1:55 AM

        L 1 Reply Last reply
        0
        • J jagjit_surfer

          I m currently using xslt, but i don't know the way how can i set xml declaration? I want to add extra declaration like in my transformed xml doc. Would u plz suggest me?

          modified on Friday, February 20, 2009 1:55 AM

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

          jagjit_surfer wrote:

          but i don't know the way how can i set xml declaration?

          Are you looking for this[^]? Or maybe you are looking for this element[^] If not I don't understand what you want to do. Try using the tutorials and documentation on that site I linked to. Also don't repost your messages in these forums. It is considered rude and is a waste of resources.

          modified on Friday, February 20, 2009 10:46 AM

          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