This project is read-only.

mdo:service-url ( service-name )

mdo:service-url builds a url of a service, declared using mdo:service section. It returns a string like the following:

/DesktopModules/XsltDb/ws.aspx?service=<service name>&mod=<module id>


<mdo:service name="some-service" type="text/html">
  <h1>Hello, World</h1>
Service URL: <a href="{mdo:service-url('some-service')}">
Service result:<br/>
<iframe src="{mdo:service-url('some-service')}" />

You can manually append the URL with additional parameters that can be queried inside service with mdo:request function.

Last edited Aug 4, 2010 at 7:53 PM by findy, version 2


No comments yet.