Smartsite SXML CopyCode image Copy Code
{url.setrelative('http://mysite/picture.jpg')}
{url.tostring('http://mysite/picture.jpg')}
{url.tostring('/picture.jpg', true)}
{url.tostring('http://mysite/picture.jpg&paramwithwhitespace=my value&page=13', false, true)}
Example Result CopyCode image Copy Code
/picture.jpg
/picture.jpg
http://localhost:7812/picture.jpg
/picture.jpg&paramwithwhitespace=my%20value&page=13