xml - How can I extract a string within square brackets in xslt -


given string such "hello [world]", how value of text inside square brackets xslt?

substring-before(substring-after(root, '['),']') 

where "root" node having string.


Comments