I have a problem, when I test my XSL file from Dreamweaver it opens and transforms the XML document into a temporal HTML file.

But if I create a Hyperlink in another web page that links to the file.xls it does not transforms the XML document it just shows the HTML code.

How can I actually link to the XSD file.

For instance, the Main page has a link to Catalog, Catalgo is a xsl file, which transform and XML document into an HTML file. The thing is that if I put catalog.xsl in the href attribute of the hyperlink it takes me to that page but it does not transforms the XML.

Thanks in advance.

7 Years
Discussion Span
Last Post by MrCapuchino

Point the link to the XML file (not the XSL).
The top of the XML should look SIMILAR to the following (you need to provide the correct path to your file): <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="Catalog.xsl"?> Also, at the top of the XSL file make sure you declare the xsl namespace: <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

Edited by hielo: n/a



I solved the problem, it was the SCRIPT tag problem, I had to put a comment between the opening and closing tags.


This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.