Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
regex for xsl
Bhargav Coca
It's is common practice to break up the relative path to extract the DCR category type etc from a expression like this
$DCRDir !~ m#.+\/WORKAREA\/([^\/]+)\/templatedata\/[^\/]+\/[^\/]+\/data\/([^\/]+)\/?.*$#
if we print S1, S2 we get our values. Can anyone give me a good link as how to do this inside an xsl?
Thank You
Find more posts tagged with
Comments
sazzct
Try this link. This helped me out when I had to do regex in XSLT.
http://www.xml.com/pub/a/2003/06/04/tr.html
Good Luck.