Python Plugin/Script using xslt, is an xslt library included with XBMC?
#1
Hi,

I'm fairly new to the scene and I've been looking into learning how to write script/plugin.

From the small number of script/plugin code that I've looked at, I can see that there's always a recurring theme: html scraping.

I'm a programmer by trade (though not a Python programmer) and I was wondering if there's any xslt library avaible to Python that can be used to transform the html into something that is more plugin/script friendly (instead of always having to write it in Python)

Has anyone tried this or is it?

Any inputs appreciated.

P.
Reply
#2
Try libxml2 & libxslt.

Though it`s not difficult to play in Python. Try the very simplistic tutorials in my sig.
Reply
#3
Thanks for the info Voinage.

I've already looked at your excellent tutorial. Big Grin
Is libxml2 & libxslt lib included with the xbmc binaries (say t3ch distro)?
Or is it something that I'll have to download and install separately?

Regards,
P.
Reply
#4
Download and install as new python modules, then package along with your plugin.

Put them in your plugin folder then import them.
Reply

Logout Mark Read Team Forum Stats Members Help
Python Plugin/Script using xslt, is an xslt library included with XBMC?0