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. HTML from XML

HTML from XML

Scheduled Pinned Locked Moved XML / XSL
questionxmlhtmldebugging
5 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.
  • B Offline
    B Offline
    Boniolopez
    wrote on last edited by
    #1

    Hi all, once more starter question. I am starting with XML and XSLT. I created XML document and XSLT to it. But the IE shows to me not what I expect. Can I somehow see the HTML, which comes after the transformation? (Or how can I debug my stuff?) Thanks, boni

    D 1 Reply Last reply
    0
    • B Boniolopez

      Hi all, once more starter question. I am starting with XML and XSLT. I created XML document and XSLT to it. But the IE shows to me not what I expect. Can I somehow see the HTML, which comes after the transformation? (Or how can I debug my stuff?) Thanks, boni

      D Offline
      D Offline
      DavidNohejl
      wrote on last edited by
      #2

      show some source, plz... Boniolopez wrote: But the IE shows to me not what I expect. What does it show? btw It's good to see that you are starting with XSLT ;) If I saw this post litle earlier, I would not suggest u this in post above :-O Never forget: "Stay kul and happy" (I.A.)

      B 1 Reply Last reply
      0
      • D DavidNohejl

        show some source, plz... Boniolopez wrote: But the IE shows to me not what I expect. What does it show? btw It's good to see that you are starting with XSLT ;) If I saw this post litle earlier, I would not suggest u this in post above :-O Never forget: "Stay kul and happy" (I.A.)

        B Offline
        B Offline
        Boniolopez
        wrote on last edited by
        #3

        Hi Dave, thank you for your very clear answer in my previous posting. Now I understand the idea, and what I have to do. Algthouth I don't think, that it is worse to post my XSL errors into forum so far:). . The question is how can I debug the output of the transformation myself. I want to see the HTML code, which is generated after the transformation, but if I make "show source" in the IE, it shows the XML before the transformation. Is it some magic too, whic looks like magic_tool input.xml input.xsl >output.txt Thanks in advance, boni

        D 1 Reply Last reply
        0
        • B Boniolopez

          Hi Dave, thank you for your very clear answer in my previous posting. Now I understand the idea, and what I have to do. Algthouth I don't think, that it is worse to post my XSL errors into forum so far:). . The question is how can I debug the output of the transformation myself. I want to see the HTML code, which is generated after the transformation, but if I make "show source" in the IE, it shows the XML before the transformation. Is it some magic too, whic looks like magic_tool input.xml input.xsl >output.txt Thanks in advance, boni

          D Offline
          D Offline
          DavidNohejl
          wrote on last edited by
          #4

          Boniolopez wrote: if I make "show source" in the IE, it shows the XML before the transformation. Of course it does. Original XML is real source stored in file, isn't it? If you want to see transformed source, transform your XML into HTML, then save transformed HTML into file and only then open this file in IE. If you work in .NET, magic tool can be XslTransform class for System.Xml.Xsl namespace. Write little app which saves transformed XML into HTML file or something like that. With MSDN or google it won't be difficult task. David Never forget: "Stay kul and happy" (I.A.)

          B 1 Reply Last reply
          0
          • D DavidNohejl

            Boniolopez wrote: if I make "show source" in the IE, it shows the XML before the transformation. Of course it does. Original XML is real source stored in file, isn't it? If you want to see transformed source, transform your XML into HTML, then save transformed HTML into file and only then open this file in IE. If you work in .NET, magic tool can be XslTransform class for System.Xml.Xsl namespace. Write little app which saves transformed XML into HTML file or something like that. With MSDN or google it won't be difficult task. David Never forget: "Stay kul and happy" (I.A.)

            B Offline
            B Offline
            Boniolopez
            wrote on last edited by
            #5

            Thank you for your great help.

            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