Dear all,my present problem consists in an annoying message issued by
javascript when saving changes from an XForm (within which xsltforms is used)
to an xml file: "JavaScript from 'localhost' Unsupported mediatype 'text/html'
for instance #my-category-list"
No matter whatever flavour of "declare option exist:serialize" I'm trying to
set at the beginning of my Xquery, the message persists...
This is the code fragment relative to the incriminated instance:
<xf:instance id="my-category-list">
<data xmlns="">{$categories}</data>
</xf:instance>
where the variable $categories points to the following database xml file
fragment in order to extract a list of categories:
<legenda>
<categoria id="231/01">D.Lgs 231/01</categoria>
<categoria id="81/08">D.Lgs 81/08</categoria>
<categoria id="privacy">Privacy</categoria>
<categoria id="macchinari">Macchinari</categoria>
<categoria id="imp.elettr.">Impianti elettrici</categoria>
<categoria id="trasformatori">Trasformatori</categoria>
<categoria id="antincendio">Antincendio</categoria>
<categoria id="riscaldam.">Riscaldamento</categoria>
</legenda>
Should I perhaps specify a particular mimetype inside the xml relevant nodes
(<categoria/>)?
Best regards
Alex
--
Inviato in modo sicuro con Tutanota. Ottieni la tua mailbox crittografata e
senza pubblicità:
https://tutanota.com
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support