This one is about Genshi, but it's for a Trac plugin. Hope you don't mind ;o)

I'd like to do the following :

  1- Retrieve a text written using WikiFormatting. Wiki text contains
    some Genshi template expressions (done !)
  2- Render the text as (X)HTML leaving template expressions intact (done !)
  3- Transform the text using a known dict as context , thus expanding
    template expressions
  4- Insert that text in an specific place inside another «static» XML template
    using same rendering context

Q:
  - Is there a way to pass the output of 2) directly to 4) ? I mean to have
    something in the «static» template just like ${wiki_tx(text)} and
expand the
    contents inside the wiki text too when transforming the «static» template

I thought I knew, but I either forgot or was dreaming ...

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Assessment of unittest 2.7 API : new features and opinions  -
http://feedproxy.google.com/~r/simelo-en/~3/cVOgG8NIBFY/assessment-of-unittest-27-api-new.html

--

You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.


Reply via email to