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
|