|
|||||||
![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
Hello,
I am going back and forth working on UI widgets but then back to look at my JSP java backend as I am unsure what ExtJS can handle. I have other systems that use Apache Cocoon to serve the data or content based on a 'sitemap.xmap. file. The 'XML' returned looks like this:
But I read somewhere ExtJS doesn't like the ":" in XML. Is this true? Makes it a little hard for me to use Apache Cocoon if this is the case so just wanted to be sure. As far as I know the ":" is a standard part of the XML generator within Cocoon, so changing it would be difficult. Thanks for helping, Mark |
|
#2
|
||||
|
||||
|
Yeah, XML namespaces aren't supported. Your options are to process the XML that cocoon returns and:
Personally, if it was me, I'd go with the last option as the payload size is smaller and the parsing time is many times less (evaling some JSON takes no time compared to parsing an XML doc).
__________________
Jeff Howden Ext JS - Support Team Volunteer jeff@extjs.com Any and all code samples that are authored by me and posted on the Ext forums or website are hereby released into the public domain and I release anyone or entity of liability by using said code samples unless explicitly stated otherwise. Opinions are mine and not necessarily endorsed by Ext, LLC. Please do not contact me directly for assistance unless requested by me. |
|
#3
|
|||
|
|||
|
Thanks for the info.
I will have a search for info on converting xml to json using xslt. Not used xlst before so any pointers for where to look would be great. Thanks for your help. Mark |
![]() |
| Thread Tools | |
|
|