[IronPython] IronPython + XSLT 2.0 Extension Functions

M. David Peterson xmlhacker at gmail.com
Thu Sep 14 16:38:02 CEST 2006

Hey All,

If you access > http://pypod.net/console/index.html < inside of Internet
Explorer, click "Install", and as long as the application installs correctly
(it should -- I've verified as such on several machines -- but you never
know until you know ;), at the prompt, type,

>>> import test.extf_test

After some churning should produce the same output as below. [you may need
to first give the application permission to access the internet and then run
the script again.]

Obviously this is nothing all that exciting, but the xml
and xslt [http://xslt.googlecode.com/svn/test/extensionfunction.xsl ] files
that are being processed are accessed via HTTP from the GoogleCode XSLT
project repository, so with a few more pieces of code, the ability to check
files into a repository to then point people at them for testing should be
pretty straight forward.  While it will take a bit more code, by adding an
APP-enabled server to the mix, the ability to create an Atom feed that lists
all of the Python modules, and/or XML/XSLT files if you're an XSLT
developer, that are a part of a given package should then allow nicely to
access this Atom feed, import the modules and/or xml/xslt files, to then run
them locally should act nicely in regards to being able to point people to
one Atom feed in which contains links to all of the code necessary to run
any given application.

NOTE: This also has all of the Mvp.Xml libraries so testing on a variety of
engines is possible as well.

I'll be putting this into more of a demoable format and posting this to my
XML.com blog later today.  But now that all of the pieces are in place this
should allow nicely for some pretty cool things.

Enjoy! :)


M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060914/db2dd840/attachment.html>

More information about the Ironpython-users mailing list