|
![](/i/fill.gif) |
Invisible <voi### [at] dev null> wrote:
> Now, it ought to be simple to write a 3-line file that says "take this
> XML file and that XSLT file, and display the result". But after over a
> week searching the Internet and even consulting Stack Overflow, I cannot
> find any way of doing this. I literally cannot *believe* that something
> so trivially simple is also so utterly impossible.
I don't understand. This in an XML file seems to work just fine (at
least with Firefox):
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type='text/xsl' href='test.xsl'?>
...
(and then obviously you need a separate test.xsl file.)
What exactly is the problem you are having?
I don't know if it matters, but that test xsl file starts with:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="no"
doctype-public="-//W3C//DTD HTML 4.01//EN"
doctype-system="http://www.w3.org/TR/REC-html40/strict.dtd"
/>
...
(if it makes any difference.)
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |