XSL "Mailto" parameter formatting

Posted on 2007-10-10
Last Modified: 2013-11-18
I am attempting to create my own XSL Stylesheet for an XML table. (The table is actually a "user defined table" residing on a dotnetnuke website).

Almost everything is working very well.  However, I can't seem to get the syntax/format correct for the mailto: tag for the user to click for more information.  I would like to include a couple of the record elements into the subject and the body of the email message automatically.  Here's what I have:

              <xsl:attribute name="href"><xsl:value-of select="udt:Name" />;?body=Hello, I would like to reserve a copy of <xsl:value-of select="udt:Name" /> by <xsl:value-of select="udt:Author"/>  for our small group.  Please let me know if this is available for our use.
              </xsl:attribute> this series...

What happens here is that EVERYTHING is put on the subject line.  When I changed the "body" portion to:

?&body= Hello, I would like to reserve ...

VWD gives me an "expected ';' " error...which in turn kills my stylesheet when it renders.

Can anyone help me with this?  I'm admittedly a beginner with XSL stylesheets, so my "style" here could be all wrong.

btw, the page, if this helps is at:
Question by:chrisrbloom
    LVL 60

    Accepted Solution

    should be
    LVL 3

    Author Comment

    ok - now I feel stupid.

    thanks...that worked perfectly.
    LVL 60

    Expert Comment

    by:Geert Bormans

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Suggested Solutions

    Title # Comments Views Activity
    CSS Scrolling text graphics 2 41
    Effect on button 11 39
    Hand when hover boostrap carrousel 6 14
    HTML5 and Javascript 3 21
    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
    In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now