xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas B. Passin" <tpas...@mitretek.org>
Subject Re: xml file to pdf file using Xalan
Date Wed, 13 Dec 2000 21:02:15 GMT
si mei asked -

> I am using Xalan's
> process(xmlSource, xslSource,
> XSLTResultTarget)function to transform xml file to pdf
> file, but the file generated is not a pdf file, it is
> a xsl file that i used for transform.
>
> I used the same function to transform xml file to text
> file, and it works fine.
>
> How can I fix the problem?
>
Usually this happens when the xsl namespace in the stylesheet is not
declared to have the correct value.  This is not unique to Xalan, it
happens with any xslt processor.

The correct value to use is

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

Tom Passin


Mime
View raw message