multiple get parameter with xf:load

InDaOctagon

New Member
I'm building a webapplication with eXist as backend.I wanna load a new ressource with the xf:load element.What I did is this:\[code\]<xf:trigger> <xf:label>Trigger</xf:label> <xf:action ev:event="DOMActivate"> <xf:load> <xf:resource value="http://stackoverflow.com/questions/10703091/concat('start.xql?floor={$floor}&room={$room}', '')" /> </xf:load> </xf:action></xf:trigger>\[/code\]But when I click the trigger this url is loaded:\[code\]start.xql?floor=0&room=E.01\[/code\]Which is obiviously not desired. When I don't escape the ampersand I get an parsing error:\[code\]Invalid character in entity name (=) or missing ;\[/code\]So, what is the correct way to pass multiple parameters via the xf:load element?Can I workaround this problem with the ampersand or am I just missing something?Thank for any helpKind regardsChristian
 
Back
Top