|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Outputting just plain tex
I appreciate the input, and I can see how you misunderstood my goal based
on the example that I showed, but I'm not trying to generate an HTML page
i.e. the URLs I showed are not supposed to be HREF's. What I'm trying to
do is build a simple text file of URL strings to be used as a config file
for another application.
What I can't figure out is whether XSL can be used to generate such a pure text file, without any HTML or XML markup tags. Thanks. Jay -----Original Message----- From: Vaibhava Muchal [mailto:vaibhavam@xxxxxxxxxxxxx] Sent: Thursday, November 08, 2001 11:41 AM To: 'jburgess@xxxxxxxxxxxxxx' Cc: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: FW: Outputting just plain text
-Vaibhava Muchhal (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.htmlThat 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








