[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Inconsistent expansion of {} inside strings ...
- From: David <dlee@calldei.com>
- To: xml-dev@lists.xml.org
- Date: Mon, 10 May 2010 10:28:40 -0400
I ran into this today and it surprised me. I'm sure this is "as
documented" but was wondering if anyone could provide a rationale ?
{} expansion occurs within strings in attributes but not in "plain strings"
example:
let $a := "foo"
return <elem attr="xxx{$a}">{concat("xxx{$a}","bar")}</elem>
Result:
<elem attr="xxxfoo">xxx{$a}bar</elem>
--
-------------------------
David A. Lee
dlee@calldei.com
http://www.calldei.com
http://www.xmlsh.org
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]