Yes, which outputs

<embed flashvars="zoomifyImagePath%3dimg/hb193a%26zoomifySplashScreen %3d0" ...

which breaks the plugin completely.

On Jan 7, 2009, at 12:46 PM, David Sewell wrote:

Did you use xdmp:url-encode() on the entire string to pass to flashvars?

On Wed, 7 Jan 2009, Shannon wrote:

Hello,

I understand that in XML and XQuery an ampersand needs to be written as &amp;, but I need a constructed node to be output with a literal "&" string, but it's
being translated into &amp; -- The following tag in an XQY prolog:

<object>
<embed flashvars="{concat("zoomifyImagePath=img/", $filename,
"&zoomifySplashScreen=0")}" src="ZoomifyViewer.swf" menu="false"
pluginspage="http://www.adobe.com/go/getflashplayer";
type="application/x-shockwave-flash" width="800" height="500"
name="ZoomifyViewer"></embed>
</object>

I have tried encoding and escaping.  Please, is there a workaround?

Thanks,


--
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 801079, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: dsew...@virginia.edu   Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
_______________________________________________
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general

--
Shannon Scott Shiflett, Software Engineer II
ROTUNDA, The University of Virginia Press
PO Box 801079, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: shifl...@virginia.edu   Tel: +1 434 924 4495
Web: http://rotunda.upress.virginia.edu/

_______________________________________________
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general

Reply via email to