Just figured out a solution. I can change the generic.xml file and convert 
all spaces to underscores before calling the following line:
{{=XML(xml(response._vars,quote=False))}}

Thanks,
Ke

On Thursday, June 14, 2012 1:54:43 PM UTC-7, Kemaru wrote:
>
> I use the default way: .../app/controller/function.xml/...
>
>
>
> On Thursday, June 14, 2012 1:46:17 PM UTC-7, Massimo Di Pierro wrote:
>>
>> can you show us how you generate this XML?
>>
>> On Thursday, 14 June 2012 15:09:04 UTC-5, Kemaru wrote:
>>>
>>> Dear all,
>>>
>>> If I use the build-in XML render on the following data:
>>>
>>> {'San Jose' : 37}
>>>
>>> I get the following XML file:
>>>
>>> ...
>>> <San Jose>37</San Jose>
>>> ...
>>>
>>> I am wondering if I can tell the build-in XML render to replace spaces 
>>> with underscores?
>>>
>>> I have searched this group but found no solution. Thanks a lot in 
>>> advance.
>>>
>>> Sorry for re-posting this as a discussion. I posted it as a question but 
>>> cannot find it in the group.
>>>
>>

Reply via email to