[XSL-LIST Mailing List Archive Home]
RE: [xsl] applying templates to attribute value
Subject: RE: [xsl] applying templates to attribute value|
From: mark bordelon <markcbordelon@xxxxxxxxx>
Date: Tue, 1 Jul 2008 10:30:41 -0700 (PDT)
Thats for pointing out htmlparse.xsl -- it looks great. I imagine being able
to use it to turn the attribute value string into the structure that would
then be matched by my fo templates. I will play around with this and get back.
To everyone else, thanks for the education.
--- On Tue, 7/1/08, Michael Kay <mike@xxxxxxxxxxxx> wrote:
From: Michael Kay <mike@xxxxxxxxxxxx>
Subject: RE: [xsl] applying templates to attribute value
Date: Tuesday, July 1, 2008, 1:19 PM
> Of course it is possible to parse reasonably complicated
> "quoted html in attributes" just using xslt if you want to
> avoid extension functions.
> 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