[xsl] Outputting just plain text

Subject: [xsl] Outputting just plain text
From: Jay Burgess <jburgess@xxxxxxxxxxxxxx>
Date: Thu, 08 Nov 2001 11:18:31 -0600
(I apologize for this "newbie" question, but I've exhausted everything I can think of and still haven't gotten it figured out.)

I've got the following code snippet in my .XSL file:

<xsl:param name="FILENAME"/>
<xsl:template match="page">
    <xsl:choose>
        <xsl:when test="$FILENAME != ''">
            <p>http://YOURMACHINE/<xsl:value-of select="$FILENAME"/></p>
        </xsl:when>
        <xsl:otherwise>...

It outputs something like:
    <p>http://YOURMACHINE/page1.html</p>
    <p>http://YOURMACHINE/page2.html</p>
    <p>http://YOURMACHINE/page3.html</p>

What I really want though is just :
    http://YOURMACHINE/page1.html
    http://YOURMACHINE/page2.html
    http://YOURMACHINE/page3.html

That is, it's not HTML or XML output, but just plain text. What XSL can I use in the above code to accomplish this?

Thanks.

Jay


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread