Subject: Re: [xsl] applying templates to attribute value From: Michael Ludwig <mludwig71@xxxxxx> Date: Wed, 2 Jul 2008 00:47:13 +0200 |
Michael Kay schrieb am 01.07.2008 um 18:19:01 (+0100): > > Just bash the attribute value with enough regular expressions > > and generate some element nodes... (see htmlparse.xsl for > > some examples of this). > > Long live the DPH [Desperate Perl Hacker, a figure of derision in the > early XML days] > > Michael Kay The DPH - that's great. Went googling and found an interesting book ` propos: One of the original goals of XML was that it be simple enough that a "Desperate Perl Hacker" (DPH) be able to write an XML parser. The exact interpretation of this requirement varied from person to person. At one extreme, the DPH was assumed to be a web designer accustomed to writing CGI scripts without any formal training in programming, who was going to hack it together in a weekend. At the other extreme, the DPH was assumed to be Larry Wall and he was allowed two months for the task. The middle ground was a smart grad student with a couple of weeks. Processing XML with Java: A Guide to SAX, DOM, JDOM, JAXP, and TrAX By Elliotte Rusty Harold http://tinyurl.com/3ve9ub "One of the original goals of xyz was ..." - that's usually the start of an interesting story. Michael Ludwig
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] applying templates to att, David Carlisle | Thread | Re: [xsl] applying templates to att, Liam Quin |
RE: [xsl] Truncated text string, re, Michael Kay | Date | Re: [xsl] applying templates to att, Liam Quin |
Month |