[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Unicode character blocks in strings
At 2009-05-29 15:25 +0100, tom tom wrote:
My confusion came when I was trying to the value 'IsCJKUnifiedIdeographs' in a variable and reference this in an attribute value template. Right ... If I understand you correctly the innermost {} flags the AVT, Yes. the outermost ones are the actual braces required for this expression. Indeed, but not quite the way you think. Are the middle ones to process the results of the first AVT within a second AVT? No, it is simpler than that. When you want an evaluation, using a single matched set of "{" and "}" with the expression inside. When you want a literal left brace, use two. When you want a literal right brace, use two. There is no need in XSLT for matching the pairs of braces, right for left ... it is just a simple escaping method of using two to get one. Of course for the regular expression to be interpreted by XSLT properly you need to match them, but my point is that in an AVT there is no obligation to match the escaped braces. I hope this helps. . . . . . . . . . . Ken -- XSLT/XSL-FO/XQuery hands-on training - Los Angeles, USA 2009-06-08 Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
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
|