[jdom-interest] Newbie XSLT: transform error on tiny xslt file
mbennett at ideaeng.com
Tue Dec 4 16:45:45 PST 2001
Changing the xmlns reference fixed it, thanks.
I had sent this to the mailing list since the MS tools had processed it OK
(with the other header, which I copied from the book I was reading), so it
seemed specific to the Java xml tools.
From: jdom-interest-admin at jdom.org [mailto:jdom-interest-admin at jdom.org]On
Behalf Of Ian Lea
Sent: Friday, November 30, 2001 1:37 AM
To: mbennett at ideaeng.com
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] Newbie XSLT: transform error on tiny xslt file
Does this have anything to do with JDOM?
All my stylesheets have
and the O'Reilly XSLT book by Doug Tidwell says on page 26
"... stylesheet should always begin with this element, coded
exactly as shown here" and goes on to say that some processors,
Xalan in particular, object if they don't.
ian.lea at blackwell.co.uk
Mark Bennett wrote:
> I've been playing with xslt files in IE and would now like to use them
> I'm doing a really trivial xslt file, but I keep getting this error:
> javax.xml.transform.TransformerException: stylesheet requires attribute:
> versionfile:///...path...\tiny.xsl; Line 2; Column -1;
> I _do_ have the version tag:
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
> I must be doing something really brain dead, but I don't know what.
To control your jdom-interest membership:
More information about the jdom-interest