Hi,
I'm trying to include some svg in a kid template, but I'm having some
namespace problems. I pass the svg to the template in a variable caled
"svg". I then do
${XML(svg, xmlns="http://www.w3.org/2000/svg")}
in my kid template. This avoids the literal encoding of < and &, but
the namespace does not seem to be included. The source of the output
file reads
<ns1:svg> ...svg elements in here... </ns1:svg>.
The kid docs (http://www.kid-templating.org/language.html#xml-function)
say that passing an xmlns argument to the XML function should work just
fine. I'm using the latest development version of Turbogears.
This seems like a straight kid problem, but I figured I might have more
luck getting help here on the Turbogears list -- it seems much more
active.
Regards,
Tobias Brandvik.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---