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. C#
  4. XML file resturctued with XSL style sheet

XML file resturctued with XSL style sheet

Scheduled Pinned Locked Moved C#
xmltutorialquestion
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.
  • Z Offline
    Z Offline
    zaboboa
    wrote on last edited by
    #1

    Hi, I have a XML file, I want to apply a style sheet to it, and create a new XML file as per style sheet. Does anyone have any ideas how to do it? Is it possible? Thanks!

    L Z 2 Replies Last reply
    0
    • Z zaboboa

      Hi, I have a XML file, I want to apply a style sheet to it, and create a new XML file as per style sheet. Does anyone have any ideas how to do it? Is it possible? Thanks!

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

      zaboboa wrote:

      Does anyone have any ideas how to do it?

      Yes

      zaboboa wrote:

      Is it possible?

      Yes It makes no difference if you are generating HTML or XML or Java code or whatever, it all works the same way, the only thing that is different is the XSLT.

      led mike

      Z 1 Reply Last reply
      0
      • L led mike

        zaboboa wrote:

        Does anyone have any ideas how to do it?

        Yes

        zaboboa wrote:

        Is it possible?

        Yes It makes no difference if you are generating HTML or XML or Java code or whatever, it all works the same way, the only thing that is different is the XSLT.

        led mike

        Z Offline
        Z Offline
        zaboboa
        wrote on last edited by
        #3

        Thank you! I know that the XSL file is different, that is what applies the transformation. What I was looking for is the actual way of how to do it. But I found the answer to my own question with XslTransform class. Regards,

        1 Reply Last reply
        0
        • Z zaboboa

          Hi, I have a XML file, I want to apply a style sheet to it, and create a new XML file as per style sheet. Does anyone have any ideas how to do it? Is it possible? Thanks!

          Z Offline
          Z Offline
          zaboboa
          wrote on last edited by
          #4

          If anyone else has the same question with regards to XML and XSL, the XslTransform class will do the job. Regards

          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