--- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Dirk Meyer wrote: > > Gustavo Sverzut Barbieri wrote: > >> What about using the way Zope does: > >> <ifdef filename> > >> Filename: <getvar filename> > >> <endif> > >> > >> It's ok IMO, and even it's XML compilant... so no need to know > python > >> code. > > > > Nice, I like that. I don't know how to do that in Python (mixture > of > > cdata and tags), but I will try to figure that out. Great idea. > > > > I will support ifdef, ifndef, else and endif as conditions, and > getvar > > as command. > > Oops, sorry, it's no xml. It will be > > <ifdef var="filename"> > Filename: <get var="filename"/> > <ifdef> >
Hum... I prefer the other way... maybe we could evaluate the name of subnodes, so no need the "var". But, for the sake of clarity, I agree with you to use the XML way. > You can also use ifndef, else is not supported. For the cols, <tab> > instead of \t? Or <hflush>? <justify>? > Maybe <justify> and specify the geometry (to know how to align right) > [2 min later] > > Or > > <if condition="filename"> > .. > </if> > > and we could also support condition="filename && title" or > condition="filename || title". And you can put <if> inside <if>. > Ok, > > Dischi > Gustavo _______________________________________________________________________ Busca Yahoo! O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra. http://br.busca.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel