S
Stefan Schulze Frielinghaus
Hello everyone,
I would like to convert a XML file to show up in a HTML file. Up till
now I do that via sed to replace "<>&" with > etc. and afterwords I
embed the code in the HTML file. But now I switched to XML and XSL and
hoped that there is a way to do that automatically. My intend is to
display a XML file in a browser just like as in an ASCII-editor.
Is there something like this pseudo-code:
<pre>
<![CDATA[<xsl:copy-of select="document('test.xml')"/>]]>
</pre>
Just import a XML file and replace the tags so that a browser can display it.
Best regards
Stefan
I would like to convert a XML file to show up in a HTML file. Up till
now I do that via sed to replace "<>&" with > etc. and afterwords I
embed the code in the HTML file. But now I switched to XML and XSL and
hoped that there is a way to do that automatically. My intend is to
display a XML file in a browser just like as in an ASCII-editor.
Is there something like this pseudo-code:
<pre>
<![CDATA[<xsl:copy-of select="document('test.xml')"/>]]>
</pre>
Just import a XML file and replace the tags so that a browser can display it.
Best regards
Stefan