I thought I was pretty close to getting this to work, but I could be way off. The system I'm using stores a variable called 'title' that keeps the title of an article stored. It also has 'url' which, as you guessed, keeps the URL of the article stored. I'd like to call both of these inside this snippet below to 'email a friend.'
The problem is, that snippet doesn't like the < and > signs. How else can I can I call that variable? I want the title of the article to be passed to the subject line. Once I get that, I'll figure out how to pass the URL variable to the body of the email.
Code:
<div class="title">
<a href="mailto:&subject=<xsl:value-of select='title'/>&body=<xsl:value-of select='url'/>">Email a Friend</a>
</div>