[XML-SIG] using xslt with python

Paul Tremblay phthenry at earthlink.net
Sat Jun 14 01:58:41 EDT 2003


On Thu, Jun 12, 2003 at 04:17:55PM -0600, Mike Brown wrote:
> From: Mike Brown <mike at skew.org>
> Subject: Re: [XML-SIG] using xslt with python
> To: jedp at ilm.com
> Date: Thu, 12 Jun 2003 16:17:55 -0600 (MDT)
> Cc: Paul Tremblay <phthenry at earthlink.net>, xml-sig at python.org
> 
> Jed Parsons wrote:
> > 
> > Hi, Paul,
> > 
> > You can do something like this:
> > 
> >     from Ft.Xml import InputSource
> >     from Ft.Xml.Xslt.Processor import Processor
> > 
> >     document = InputSource.DefaultFactory.fromUri(xmlfile)
> >     stylesheet = InputSource.DefaultFactory.fromUri(xsltfile)
> >     # there's also a fromString() method
> >     
> >     processor = Processor()
> >     processor.appendStylesheet(stylesheet)
> >     result = processor.run(document)
> >     
> 
> 
> That is, after you've installed 4Suite... get it from 4suite.org.

Downloaded and installed with no problem.

But now I am sure I already saw the FT in my site-packages. How did that
get there--when I installed PyXml?

thanks

Paul

-- 

************************
*Paul Tremblay         *
*phthenry at earthlink.net*
************************



More information about the XML-SIG mailing list