-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi diez,
you may laugh at me, but today i found XML accepted my text.
yesterday, it complained my text has no valid xml header.
the only difference is, that now i call XML(value) in py:content, while
yesterday it was just ${XML(value)} in the middle of the section.
btw: how can i contribute some nice widgets i've set up?
best regards,
alex
Diez B. Roggisch wrote:
> alex bodnaru schrieb:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> i have a field made with tinymce, that contains valid xhtml.
>>
>> in a widget i've made, i wish to just display it's deefault text,
>> without escaping it's formatting < or > .
>>
>> the XML function expects a full xml document, hence i have to prepend
>> <?xml version="1.0"> to the text.
>
> It doesn't.
>
> (TG10_trunk)meskal-2:~/projects/GH28/d3mail/d3server deets$ python2.5
> Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
> [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> impWelcome to rlcompleter2 0.96
> for nice experiences hit <tab> multiple times
> >>> import kid
> >>> kid.XML("<div>the proof</div>")
> <kid.parser.ElementStream object at 0x1220ad0>
> >>>
>
> So what are the actual problems you encounter? Show us your code &
> stacktraces, please.
>
> Diez
>
> >
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBR3UIztpwN1sq38njAQJd+QP/bphBqjhpMtb70gBADyBehD6ila22naMu
1x8BSItmF17Of+G9o1+l6tbC1KxalXBky1bROeflDFohtpkX1ug20RJ/pYjSLVzS
3k/cGp4VlKD4K7DNQ6JKlZT8Vz7QS8DxC5VBLiHZcGxMYFpAPrsdjc2RCD1NdXXo
yFeESOBP9tc=
=JVSk
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---