[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: parsing markup with Perl

  • From: Gareth Oakes <goakes@gpslsolutions.com>
  • To: Hans-Juergen Rennau <hrennau@yahoo.de>
  • Date: Sun, 9 Feb 2014 16:25:24 -0800

Re:  parsing markup with Perl
> From: Hans-Juergen Rennau <hrennau@yahoo.de>
> Date: Sunday, 9 February 2014 6:01 am
> Subject: Re:  parsing markup with Perl
>
> My experience with Perl is positive, to put it mildly: using it as a
> preprocessor for XML processing - as an XMLifier I would call it.

I had a similar positive experience transitioning a customer from Ventura
Publisher (!!) to an XML-based authoring/CMS/publishing system. We built
Perl
scripts to interpret Ventura markup and express the content in an XML form.

We also had another project where database extracts were converted to XML
via
Perl. Again, positive experience.

As far as the intersection between XML and Perl goes, I think that sort of
thing has to be the sweet spot. I wouldn't want to use Javascript for that
sort
of text processing. I have also been quite disappointed in Javascript's XML
features. E4X, for example, is a waste of time.

My negative thoughts about Perl as it relates to XML processing:
- special syntax means a large learning curve
- sheer variety of syntax and special effects make code difficult to
maintain
  (especially for non-trivial codebases with many contributors)
- "toolbox" of features gives the uninitiated just enough rope to hang
themselves

My positive thoughts about Perl:
- powerful, fast, cross-platform
- big community, lots of modules, CPAN
- regex support is amazing

Cheers,
Gareth




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.