[Home] [By Thread] [By Date] [Recent Entries]

  • From: David <dlee@c...>
  • To: xml-dev@l...
  • 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@c...
http://www.calldei.com
http://www.xmlsh.org



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member