is content stored as xmlnodes or inside cdata section?
I like to store same xml to work with using xslt, but default textbox multiline stores content inside cdata, and is harder to convert it back to xml nodes.
The content is handled as basic text, passed on as the umbraco.interfaces.IData result of the datatype, and as I'm not doing anything specifically to save it any other way. In the same way, the text it added directly to the multiline textbox on load.
I have not tried using it directly from xslt, but I'll try playing around with that.
Now I uploaded a new version (0.3) of the TidyHtml datatype that supports saving the content as xml, in case you want to use- and query it from e.g. a xslt macro. The save-as-xml option must be enabled in your datatype setup.
Download count reset - I forgot that, it's really annoying.
How is content stored?
Hello,
is content stored as xmlnodes or inside cdata section?
I like to store same xml to work with using xslt, but default textbox multiline stores content inside cdata, and is harder to convert it back to xml nodes.
Thank you
Petr
Hi Peter, good point +1.
The content is handled as basic text, passed on as the umbraco.interfaces.IData result of the datatype, and as I'm not doing anything specifically to save it any other way. In the same way, the text it added directly to the multiline textbox on load.
I have not tried using it directly from xslt, but I'll try playing around with that.
>Tommy
Now I uploaded a new version (0.3) of the TidyHtml datatype that supports saving the content as xml, in case you want to use- and query it from e.g. a xslt macro. The save-as-xml option must be enabled in your datatype setup.
Download count reset - I forgot that, it's really annoying.
Great
Thank you
You are welcome Petr - and obvious extension.
I'm considering changing the name of the package to something else, btw, not sure what.
>Tommy
is working on a reply...