You can certainly write and use extension functions with Xalan-C++, but we
don't have a standard ones that do this.  That book may have been talking
about Xalan-J and some custom-written extension functions.

You can generate PDFs with Xalan-J and FOP, both of which are Apache
products.  You could use Xalan-C++ instead of Xalan-J, but FOP is written
in Java, so you might as well stick with Xalan-J.

Dave



                                                                                       
                                                     
                      "Jim Morrison                                                    
                                                     
                      [Mailinglists]"          To:      <[EMAIL PROTECTED]>, 
<[EMAIL PROTECTED]>                     
                      <junk@mediaisoto         cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                                
                      pe.com>                  Subject: Xalan C++ / XML::Xalan -> 
JPEG/PDF etc...                                           
                                                                                       
                                                     
                      05/02/2002 03:42                                                 
                                                     
                      AM                                                               
                                                     
                      Please respond                                                   
                                                     
                      to xalan-dev                                                     
                                                     
                                                                                       
                                                     
                                                                                       
                                                     



Guys,

(Appologies for cross-posting, wasn't sure which was best..)

Is it possible, using Xalan C++ (and inparticular, the Perl XML::Xalan
module) to generate things like JPEG's and PDF's...

My Oreilly XSLT book describes how to do the actuall XSLT, but, just
running
a simple template with:

[snip] xmlns:jpeg="xalan://JPEGWriter" extension-element-prefixes="jpeg"
[snip]

[snip]
<xsl:when test="function-available('jpeg:buildJPEGFile')">
    Yes
</when>
<xsl:otherwise>
    No!
</xsl:otherwise>

... returns a "No"...

Kinda what I'd expected really...

Is it possible?  Do I need to install an extenstion?  Do I have to find a
JPEG/PDF standalone program and write my own extension?  Is that possible?
Am I up to it ;-) ?

Thanks,



Jimbo








Reply via email to