Use the output element in your top level, and make sure you use the newest
iteration of XT:
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
indent-result="yes">
<xsl:output method="text"/>
<xsl:template match='/'>
<xsl:apply-templates select="yourTemplate"/>
</xsl:template>
Chuck White
Creative Director
ADVANCE Recruitment Advertising, Inc.
chuck@xxxxxxxxxxxxxxxxxxxxxx
http://www.advancerecruitment.com
----------
>From: Mitch Christensen <mitch_christensen@xxxxxxxxx>
>To: XSL-List@xxxxxxxxxxxxxxxx
>Subject: XML->ascii Conversion
>Date: Thu, Aug 19, 1999, 9:40 AM
>
>Hi,
>
>I need to convert XML to straight ascii text. This seems like a totally
>reasonable thing to do, but I am having no luck accomplishing this with
>ixslt.
>
>Does anyone have any suggestions/sample code etc.
>
>Thanks,
>Mitch Christensen
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|