Hi all, Can I somehow control the serialization of element contents? I want to use Xquery to generate parts of source code for javascript and put the generated code inside a script element on the webpage. Basically this:
define function web:display-graph($term) { <script> { string-join(( 'd3.select("#graph").graphviz().renderDot(', "'digraph {a -> b}'", ');' ), out:nl()) } </script> } But it doesn't work as the > character gets replaced with its corresponding HTML entity >. Is there a way to circumvent this behaviour? Best regards Kristian Kankainen