Re: Uses for Perl & XML
by Old_Gray_Bear (Bishop) on Jun 07, 2005 at 16:36 UTC
|
I use XML::Simple to generate/parse data streams for a Network Monitoring application. Since I have pretty much complete control over both ends of the pipeline, I can get away with very simple XML structures to pass data between my various plugins.
At the other extreme is a "display" generator for banking system, where I don't have control over what is coming into the pipe. The application reads a Data Stream and builds an XSLT template to parse and format the stream for an output 'device'. The device may be another application (with a different data structure), a browser (there are three accepted, 'company standard' browsers, each with its own set of quirks to be coded for), a backup device (with the data formated for storage efficiency rather than Human readability), a virtual device (I haven't a clue what is on the other end of the pipe, convert everything into cannonical form and ship), a plotter/printer (several kinds), etc.
This one started as an XML::Simple application and quickly got out of hand. The second system was based on XML::Tree, and it is starting to have some issues. We may have to fall back to building something unique from XML::Parser, but all the votes aren't in yet.
----
I Go Back to Sleep, Now.
OGB
| [reply] |
Re: Uses for Perl & XML
by dorward (Curate) on Jun 07, 2005 at 16:18 UTC
|
Well, I'm using XML::RAI to suck my bookmarks from del.icio.us and store them in a local database. I then have a script to build a list of the most recent 5 bookmarks on my homepage whenever I regenerate the site.
| [reply] [d/l] |
Re: Uses for Perl & XML
by mirod (Canon) on Jun 07, 2005 at 16:26 UTC
|
I use Perl and XML mostly for publishing purposes, to go from SGML to HTML pages or fragments (via XML). Also in a lot of the web work I do I process the HTML as XML (usually using tidy to get XHTML from random HTML).
As for the module I use, as you might have guessed, it's XML::Twig. I also use XML::Simple every now and then, and a LOT of other modules every time I work on the Ways to Rome series.
| [reply] |
|
| [reply] |
|
| [reply] |
Re: Uses for Perl & XML
by gellyfish (Monsignor) on Jun 07, 2005 at 17:24 UTC
|
I mantain a number of XML Based modules, and I mostly use (and have used) XML for the integration of a diverse bunch of systems - I work a lot with .NET based systems where XML is the lingua franca for interoperability purposes.
/J\
| [reply] |
Re: Uses for Perl & XML
by Hero Zzyzzx (Curate) on Jun 07, 2005 at 20:12 UTC
|
In addition to being recently brought to maintain the module, I use XML::RSS to produce, consume (meaning "publish others content to my sites"), and aggregate RSS feeds in number of different places. RSS is great technology, and it's all XML.
Moveable Type is one blog that's written in perl and produces/consumes XML via RSS.
-Any sufficiently advanced technology is indistinguishable from doubletalk.
My Biz
| [reply] |
Re: Uses for Perl & XML
by goonfest (Sexton) on Jun 07, 2005 at 20:03 UTC
|
I use XML::Simple to read/parse the results of an asp.net web service.
| [reply] |
Re: Uses for Perl & XML
by astroboy (Chaplain) on Jun 07, 2005 at 20:11 UTC
|
| [reply] |
Re: Uses for Perl & XML
by holli (Abbot) on Jun 07, 2005 at 22:04 UTC
|
| [reply] |
Re: Uses for Perl & XML
by injunjoel (Priest) on Jun 07, 2005 at 23:58 UTC
|
| [reply] |