Good afternoon, I'm trying to devise a text in xml to make it look beautiful, How do I use a javascript function to display the ordered xml text?
Hi Jesus,
Not sure why do you need this, but maybe this can help?
https://stackoverflow.com/questions/376373/pretty-printing-xml-with-javascript
Or maybe this?
https://gist.github.com/sente/1083506/d2834134cd070dbcc08bf42ee27dabb746a1c54d
If this is not what you are looking for, could you be more specific?Cheers.
Eduardo Jauch wrote:
excellent, this is what I need, how would you implement it?
Probably using a non-escaped expression...But you may want to look into the Forge to see if you can find a component that will help you with this (text components, html utilities, etc).
Cheers.