Nested list/html list in Advanced Document Templating

Hi all,

I have a list that I need to display the fields dynamically for, and one of the fields are a list. Right now I am using a styledTextEditorField for users to input a list, and the output is in HTML format. The document template I use so far is this -

«@before-row[#list doc.notes.note as n]»«${n.@title}»

Reports(s): «${n.@reports}»

«${n.@noteText}»

«@after-row[/#list]»

The noteText must be a list, and if I try to export with the noteText as is, it just exports the html directly like 

<ul><li><p>edit 1</p></li><li><p>edit 2</p></li><li><p>edit 3</p></li></ul>

When I try to replace the special characters in the XML generation it throws an error 

  • "The value of attribute "noteText" associated with an element type "note" must not contain the '<' character."(Text)

      I would like it to export a nested bulleted list in the regular "list". How can I do this?

        Discussion posts and replies are publicly visible

      Parents Reply Children