HTML from XML
-
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
-
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
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.)
-
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.)
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
-
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
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.)
-
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.)
Thank you for your great help.