You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Adam Gugliciello <Ad...@skila.com> on 2001/04/02 23:27:57 UTC
RE: Outputting newlines
<xsl:variable name="cr" select="'
'"/>
<xsl:text>yyyyy</xsl:text>
<xsl:value-of select="$cr"/>
<xsl:value-of select="some_value"/>
-----Original Message-----
From: Vanessa D Johnson [mailto:vanessa.d.johnson@jpl.nasa.gov]
Sent: Monday, April 02, 2001 6:23 PM
To: xalan-dev@xml.apache.org
Subject: Outputting newlines
I am trying to output carriage return, line feed and tab formatting to a
text document, from the transformation of a XML file via XSL. The XSL
uses the output format as text. I haven't found an answer to how to do
that from the w3C XSLT primer. Do you have any suggestions?
I want to output
yyyyy
xxxxx
and have
<xsl:text>yyyyy</xsl:text>
<xsl:value-of select="some_value"/>
(where some_value ends up being xxxxx)
Vanessa
Vanessa D. Johnson
Advanced Mission Software Technology Group
Mission Execution and Automation - Section 368
Jet Propulsion Laboratory
voice: (818) 354-3885
RE: Outputting newlines
Posted by Vanessa D Johnson <va...@jpl.nasa.gov>.
Thanks, but it actually does not work. Where do you find the references
for carriage return, tabs.... etc..? Do you have any other suggestions?
At 4/2/2001 01:27 PM, you wrote:
><xsl:variable name="cr" select="'
'"/>
><xsl:text>yyyyy</xsl:text>
><xsl:value-of select="$cr"/>
><xsl:value-of select="some_value"/>
>
>-----Original Message-----
>From: Vanessa D Johnson [mailto:vanessa.d.johnson@jpl.nasa.gov]
>Sent: Monday, April 02, 2001 6:23 PM
>To: xalan-dev@xml.apache.org
>Subject: Outputting newlines
>
>
>
>I am trying to output carriage return, line feed and tab formatting to a
>text document, from the transformation of a XML file via XSL. The XSL
>uses the output format as text. I haven't found an answer to how to do
>that from the w3C XSLT primer. Do you have any suggestions?
>
>I want to output
>
> yyyyy
> xxxxx
>
>
>and have
>
><xsl:text>yyyyy</xsl:text>
><xsl:value-of select="some_value"/>
>
>
>(where some_value ends up being xxxxx)
>
>
>Vanessa
>
>Vanessa D. Johnson
>Advanced Mission Software Technology Group
>Mission Execution and Automation - Section 368
>Jet Propulsion Laboratory
>voice: (818) 354-3885
Vanessa D. Johnson
Advanced Mission Software Technology Group
Mission Execution and Automation - Section 368
Jet Propulsion Laboratory
voice: (818) 354-3885
Re: Outputting newlines
Posted by James Melton <ja...@cylogix.com>.
There is a mail list just for XSL that would be a bit better for these
questions:
http://www.mulberrytech.com/xsl/xsl-list/index.html
For allowable characters, have a look at the W3 spec for XML:
http://www.w3.org/TR/REC-xml#charsets
Vanessa D Johnson wrote:
>
> I apologize, it does work.
> Nonetheless, where are the references for carriage returns, tabs, etc...
>
>
> Vanessa D. Johnson
> Advanced Mission Software Technology Group
> Mission Execution and Automation - Section 368
> Jet Propulsion Laboratory
^^^^^^^^^^^^^^^^^^^^^^^^^
Does this mean that now using Xalan pretty much IS rocket science?
Jim.
____________________________________________________________
James Melton CyLogix
609.750.5190 609.750.5100
james.melton@cylogix.com www.cylogix.com
RE: Outputting newlines
Posted by Vanessa D Johnson <va...@jpl.nasa.gov>.
I apologize, it does work.
Nonetheless, where are the references for carriage returns, tabs, etc...
At 4/2/2001 01:27 PM, you wrote:
><xsl:variable name="cr" select="'
'"/>
><xsl:text>yyyyy</xsl:text>
><xsl:value-of select="$cr"/>
><xsl:value-of select="some_value"/>
>
>-----Original Message-----
>From: Vanessa D Johnson [mailto:vanessa.d.johnson@jpl.nasa.gov]
>Sent: Monday, April 02, 2001 6:23 PM
>To: xalan-dev@xml.apache.org
>Subject: Outputting newlines
>
>
>
>I am trying to output carriage return, line feed and tab formatting to a
>text document, from the transformation of a XML file via XSL. The XSL
>uses the output format as text. I haven't found an answer to how to do
>that from the w3C XSLT primer. Do you have any suggestions?
>
>I want to output
>
> yyyyy
> xxxxx
>
>
>and have
>
><xsl:text>yyyyy</xsl:text>
><xsl:value-of select="some_value"/>
>
>
>(where some_value ends up being xxxxx)
>
>
>Vanessa
>
>Vanessa D. Johnson
>Advanced Mission Software Technology Group
>Mission Execution and Automation - Section 368
>Jet Propulsion Laboratory
>voice: (818) 354-3885
Vanessa D. Johnson
Advanced Mission Software Technology Group
Mission Execution and Automation - Section 368
Jet Propulsion Laboratory
voice: (818) 354-3885