ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
XML::SAX::Machines - calling widget methods
by Aaron Straup Cope other posts by this author
Feb 14 2002 4:08PM messages near this date
view in the new Beta List Site
RE: PPM for XML-GDOME? | Re: XML::SAX::Machines - calling widget methods
Hi,

I am trying to decide if I want to tackle writing an "as PDF" stylesheet
and SAX filter using PDFLib. That is, the stylesheet would generate a new
XML file where the contents of the source would be wrapped in elements
that a final filter could interpret to call PDFLib methods.

Setting aside all the issues involved in that part of the puzzle, I am
unclear on how I would call the XML::Filter::XSLT-> set_stylesheet_uri
method in the pipeline.

If I can call the constructor in the pipeline, is there any reason why I
couldn't do this :

 my $machine = Pipeline(
      "XML::Filter::XSLT-> new()->set_stylesheet_uri('my_pdflib.xsl')"
      "XML::Filter::PDF",
      $pdf_file,
    );

  $machine-> parse_uri($xml_file);

Thanks,




_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Aaron Straup Cope
Matt Sergeant
Barrie Slaymaker

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved