Yes. I see it is supposed to be able to be created like that.[1]

Note the literal creation of XMLList using <> and </> too. That will probably 
require work in the compiler to support.

[1]https://wso2.com/project/mashup/0.2/docs/e4xquickstart.html#literal

> On Sep 25, 2018, at 10:51 AM, Harbs <[email protected]> wrote:
> 
> I’m not sure I was aware you could create an XMLList from markup like that.
> 
> I assume you know this is supposed to work.
> 
> I’m not available this week, but I can try and work on this late next week if 
> you want.
> 
> Thanks,
> Harbs
> 
>> On Sep 25, 2018, at 10:17 AM, Alex Harui <[email protected]> wrote:
>> 
>> Looking at XMLList.as, it seems like it won't handle an input string that is 
>> more than one XML node, such as:
>> 
>>              <employee>
>>                  <name>Christina Coenraets</name>
>>                  <phone>555-219-2270</phone>
>>                  <email>[email protected]</email>
>>                  <active>true</active>
>>              </employee>
>>              <employee>
>>                  <name>Joanne Wall</name>
>>                  <phone>555-219-2012</phone>
>>                  <email>[email protected]</email>
>>                  <active>true</active>
>>              </employee>
>> 
>> Is that intentional or a bug?
>> 
>> Thanks,
>> -Alex
>> 
> 

Reply via email to