Hello everyone,

I have spent some of the weekend looking at wrapping plex, a _javascript_ library into a widget.
I am following Kevin's third _javascript_ tutorial and it is great.
However I can't seem to wrap my head around getting some XML data into a kid template without
it getting mangled. The plex system uses embedded XML to perform its magic.
<xmp class="View">
<px:Box>
   ...
</px>
</xmp>
In my early attempts, the JS failed to run because all the XML attributed were converted to upper case. Also,
all the <px:...>  were changed to <ns1:...> Very weird.
I figured out that it was a namespace issue so I did a little grepping and found
xmlns:px="http://www.plextk.org/2005/pxm "
I noticed that if I render(format='xml') that did not happen.

--
Nicky Ayoub
G-Mail Account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to