It's not in general possible to parse XML using regular expressions,
though you might succeed if you know that only a small subset of XML is
in use.
Saxon has the saxon:parse() extension function for precisely this use case.
It's better, though, to avoid putting markup inside CDATA sections.
Since the only purpose of CDATA is to say "ignore any markup that you
find here", it follows that if you don't want to ignore the markup then
it's better not to put it in CDATA.
Michael Kay
Saxonica
On 31/08/2012 04:20, Sujatha Udayabanu wrote:
Hello, is it possible to parse the CDATA section to get the anchor
tags within? Is this possible with a regular expression using
tokenize?
I am using xslt 2.0 and saxon parser
Thanks
Sujatha
--~------------------------------------------------------------------
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>
--~--