xsl-list
[Top] [All Lists]

RE: [xsl] applying templates to attribute value

2008-07-01 10:31:08
Mike,
 
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. 
 
Mark


--- On Tue, 7/1/08, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:

From: Michael Kay <mike(_at_)saxonica(_dot_)com>
Subject: RE: [xsl] applying templates to attribute value
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
XML days]

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
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>
--~--




--~------------------------------------------------------------------
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>
--~--