[xsl] Selecting the xsl-file

Subject: [xsl] Selecting the xsl-file
From: "Kaarle Kaila" <kaarle.kaila@xxxxxx>
Date: Wed, 8 Oct 2003 08:28:14 +0300

If I use the browser to view XML-files the XSLT file is defined in
the <?xml-stylesheet type="text/xsl" href="tables.xsl"?> processing 

With a Java program  with about 3 lines of code I can separately
define the xml-file and the xslt file to produce different outputs
e.g. 1. the main document, 2. the index etc.

Can I get different outputs from the xml-file using the browser?
How would I define the xslt file if that is not hardcoded in the xml-file?


Kaarle Kaila
email: kaarle dot kaila at iki dot fi

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread