[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Create text file 2

Subject: Create text file 2
From: "Hakan Pettersson" <hakanxsl15@xxxxxxxxxxx>
Date: Wed, 28 Jun 2000 08:26:14 GMT
xsl generate text file
Thanx Warren!

However - when I use:

	<saxon:output file="imagefile.txt" method="text">
		<xsl:value-of select="."/>
	</saxon:output>

I cannot output text from my stylesheet - only text from
the element in my XML-file.


It works almost when I use <saxon:output file="imagefile.txt" method="text"> <xsl:apply-templates select="*"/> </saxon:output>

but then I get:
	<FONT COLOR="#0000FF" ObjectCnt><br><FONT COLOR="#0000FF" ObjectCnt><br
rather than:
	<FONT COLOR="#0000FF"> ObjectCnt</FONT><br/>

<FONT COLOR="#0000FF"> ObjectCnt</FONT><br/>

(I have 2 ObjectCtn)


My style stylesheet ====================================================== <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" exclude-result-prefixes="saxon" extension-element-prefixes="saxon"

...
...
<xsl:template match="ObjectCol">
	<saxon:output file="imagefile.txt" method="text">
		<xsl:apply-templates select="*"/>
	</saxon:output>
</xsl:template>

<xsl:template match="ObjectCnt">
	<FONT COLOR="#0000FF"> ObjectCnt</FONT><br/>
</xsl:template>
...
=======================================================

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.