Hi,

We'd like to handle xml nodesets in our forms, for example:

 <template name="foo">
        <textarea id="/document/bar" />
  </template>

... where the document is something like:
<document>
  <bar>
    <foo>
       <x>y</x>
    </foo>
  </bar>
</document>

At the moment I can't see how to do this as the only layout widget that can
handle nodesets seems to be the htmlarea, which in turn insists on something
resembling HTML.

I could attack the HTMLCleanerConfiguration.xml and add all possible
elements, but that seems like a horrible solution.
I could use binding javascript as defined at
http://hippocms.org/display/CMS/Template+Business+Logic+definition and munge
DOMs, but this also seems horrible (and requires a painful upgrade to 6.06).

Any other suggestions?


Andrew.
--
Sourcesense: Making sense of Open Source
Tel: +44 (0)870 741 6658  Fax: +44 (0)700 598 1135
Web: http://www.sourcesense.com/
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to