How can I find attribute values based on a regular expression of the attribute name in xslt? In this snippet, I am trying to match attributes like "url.title", or "page.title", etc... anything with ".title".
<attribute name="withRegexp">
<value-of select='matches(@*[name()], "\.title")'/>
</attribute>
That doesn't work, any ideas what to fix?
Thanks!