[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Oracle / Text


Subject: Re: [xsl] Oracle / Text
From: mjyoungblut@xxxxxxx
Date: Thu, 4 Apr 2002 15:03:18 -0600

I get the same results as well.  But if you look deeper at the text that is
in the output, you will see the byte values look something like the
following:

Byte #: 1   Byte value: 102
Byte #: 2   Byte value: 111
Byte #: 3   Byte value: 111
Byte #: 4   Byte value: 10
Byte #: 5   Byte value: 98
Byte #: 6   Byte value: 97
Byte #: 7   Byte value: 114

Note that Byte #4 has a value of 10, whereas 
 should give a byte value
of 13.
I am using the same version as mentioned below.
Note:  I just read up the bytes in Java and spit them out to get the values
listed above.

Thanks,
      Matt




                                                                                                                                       
                      "Steve Muench"                                                                                                   
                      <Steve.Muench@orac       To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx                                               
                      le.com>                  cc:       (bcc: Matthew J. Youngblut/US-Corporate/3M/US)                                
                                               Subject:  Re: [xsl] Oracle / Text                                                       
                      04/04/2002 02:04                                                                                                 
                      PM                                                                                                               
                      Please respond to                                                                                                
                      xsl-list                                                                                                         
                                                                                                                                       
                                                                                                                                       





I just tried the following stylesheet with our
latest production XSLT engine (part of the
Oracle XDK for Java 9.2.0.1) and...

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version
="1.0" >
  <xsl:output method="text"/>
  <xsl:template match="/">
   <xsl:text>foo&#xd;bar</xsl:text>
  </xsl:template>
</xsl:stylesheet>


I get the two lines of text output between the dashes below:

-------
foo
bar
-------

Perhaps you're using an older version that had a bug
we've fixed.

The latest is always available from:

  http://otn.oracle.com/tech/xml

__________________________________________________________
Steve Muench - Developer, Product Mgr, Evangelist, Author
Simplify J2EE and EJB Development with BC4J
http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html
Building Oracle XML Apps, www.oreilly.com/catalog/orxmlapp
----- Original Message -----
From: <mjyoungblut@xxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, April 04, 2002 17:21
Subject: [xsl] Oracle / Text


| I know this is vendor-specific, but I can't find anything on the oracle
| website.
|
| (NOTE: my output is text)
| I have been putting the following into my XSL using other vendors, and it
| worked fine:
| <xsl:text>&#xD;</xsl:text>
|
| If I use Oracle, the output for the previous XSL ALWAYS comes out as
| &#xA;
|
| Has anybody seen this before?  Anybody know why(intentional, bug)?
|
| IS THERE ANY WAY AROUND IT?
|
| Thanks in advance,
|       Matt Youngblut
|
|
|  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
|
|


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






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



Current Thread
Keywords