xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si mei <sime...@yahoo.com>
Subject Re: xml file to pdf file using Xalan
Date Thu, 14 Dec 2000 21:41:39 GMT
I am using that xsl namespace in my stylesheet.
 
When I did the transform at command line using command
java org.apache.fop.apps.XalanCommandLine xmlfile
xslfile pdffile, it works corretly.

It doesn't work only when I use 
process(xmlSource,
xslSource,XSLTResultTarget)function.

Thank you for your help!

--- "Thomas B. Passin" <tpassin@mitretek.org> wrote:
> 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
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Mime
View raw message