Subject: Re: [xsl] Escaping Curly Braces in Regex From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 1 Oct 2009 13:01:08 +0100 |
> Where is it documented which attributes require braces to be > doubled up and which do not? In the xslt recommendation, every attribute that takes an attribute value template (or an xpath expression) is listed. possibly the quickest thing to look at is the syntax summary at the start of each element eg 15.1 on analyze-string says <xsl:analyze-string select = expression regex = { string } flags? = { string }> <!-- Content: (xsl:matching-substring?, xsl:non-matching-substring?, xsl:fallback*) --> </xsl:analyze-string> which tells you that the select attribute takes an xpath expression, but the regex and flags attributes take AVT (marked as {string} in the summary) David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Escaping Curly Braces in , rowan@xxxxxxxxxxxxxx | Thread | Re: [xsl] Escaping Curly Braces in , Martin Honnen |
Re: [xsl] Escaping Curly Braces in , rowan@xxxxxxxxxxxxxx | Date | Re: [xsl] Escaping Curly Braces in , Martin Honnen |
Month |