Chris Herrebrugh <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> I'm trying the mm:formatter tag like this:
> 
> <mm:field
> name="episodes.description"><mm:isnotempty><description><mm:formatter
> 
>format="escapexml"><mm:write/></mm:formatter></description></mm:isnotempty></mm:field>
> 
> ...trying to get the "episodes.description" field in an XML-friendly
> way.
> 
> But when I try this, nothing is being printed to the page.

Eh, perhaps because 'description' is no html-tag? How does the source look?
Do you mean, by any chance:

<mm:formatter format="escapexml"><description><mm:write/></description></mm:formatter>

Another thing that I see going wrong is the fact that mm:formatter is a
'writer' too, if i am not mistaken.

So perhaps:

<mm:formatter format="escapexml">
 <mm:field name="..">
  <mm:isnotempty><description> etc would perhaps work better..

Or use ids.

> Is this the right function for the tag?

Well, I'm not sure what you're trying or hoping to achieve. Do you want to
output XML or HTML?

 Michiel

-- 
Michiel Meeuwissen 
Mediapark, C 107 tel. +31 (0)35 6772979



Reply via email to