Subject: Create text file 2 From: "Hakan Pettersson" <hakanxsl15@xxxxxxxxxxx> Date: Wed, 28 Jun 2000 08:26:14 GMT |
<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/>
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: context position incorrect, David_Marston | Thread | Re: Create text file 2, Warren Hedley |
RE: xsl self-documentation - trace, Thorbjørn Ravn Ander | Date | Re: Key(), Richard Light |
Month |