> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0">
> wich one is right?...

If you write a stylesheet that contains formatting objects you have to include both the Transform and Format namespace.

> i seem to get the error anyway with both namespaces... =(

The version attribute has nothing to do with namespace declarations.
The version attribute is the only mandatory attribute of the stylesheet element. Be sure there are no typos.

See http://www.w3.org/TR/xslt#stylesheet-element.


Reply via email to