Hi Andreas,
thank you for answering.
I'm using BaseXGUI 7.5.
Probrably I misunderstood your suggestion, but if I try:
let $c := <script>{""}</script>
return $c
It still returns <script/> and not <script></script>.
I need to point an external script file from my html file but I can't use a self closing script tag (e.g. <script type="text/javascript" src="script/myjsfile.js"/>) otherwise the bowser can't parse the html file properly.
Thanks anyway.
This workaround produces the output:
copy $c := <script>{" "}</script>
modify (
replace value of node $c with ""
)
return $c
-- Andreas
Am 01.02.2013 um 14:28 schrieb marco fregonese:
> _______________________________________________
> Hi there,
>
> I have to return from a query tags like this:
>
> <script></script>
>
> not self closing tags like this:
>
> <script/>
>
> Is there any way to do that in BaseX?
>
> Thanks.
> BaseX-Talk mailing list
> BaseX-Talk@mailman.uni-konstanz.de
> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk