XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Inconsistent expansion of {} inside strings ...

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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS