[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Regex in @select Escaping Puzzle
Am 16.08.2020 um 18:06 schrieb Martin Honnen martin.honnen@xxxxxx:
Part of the problem I think is that the "regexp" attribute of "xsl:analyze-string" allows attribute value templates so you either have to double curly braces or better declare your pattern as a parameter or variable before the element e.g. using Michael's suggestion And to be safe in XSLT 3 in any context you probably want <xsl:param name="pattern" as="xs:string" expand-text="no">\{\{image_[^}]+\}\}([^{]+)\{\{/image\}\}</xsl:param>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|