xsl-list
[Top] [All Lists]

Re: [xsl] applying templates to attribute value

2008-07-01 15:47:38
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--