If this is for output you might consider using the xhtml or html serialization options [1]  E.g.
 
declare option output:method "xhtml";
<script/>

Will output <script></script>

/Andy
[1] http://docs.basex.org/wiki/Serialization

On Fri, Feb 1, 2013 at 1:35 PM, Andreas Weiler <andreas.weiler@uni-konstanz.de> wrote:
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

_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk