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

RE: Whitespace within tags

Subject: RE: Whitespace within tags
From: "Clapham, Paul" <pclapham@xxxxxxxxxxxxx>
Date: Fri, 3 Nov 2000 16:00:23 -0800
xml whitespace in tags
I copied your XML into a text editor and removed all of the line-endings
except the ones that are giving you a problem.  (Actually I replaced each of
them by a single space.)  The result was a file with a line-ending every 256
characters.  Suspicious number!  So it appears that something in the
software that produces this XML is compelled to restrict the length of an
output line to no more than 256.  Or perhaps the output is sent to a file
with a fixed record length of 256 and then undergoes a copying that inserts
the line-endings?  I'm not familiar with pl/sql but possibly the problem
would be solved if you could insert your own line-endings, after each
element or something.

PC2

>It generates the xml document fine except for these breaks that are 
>appearing within some of the tags which gives me errors when I try to 
>display them in the browser with the stylesheet.  I tried adjusting the 
>linesize and nothing.


This is my XML document:
<?xml version = '1.0'?>
<?xml-stylesheet href="http://www.nbcakingston/customreports/xml-
stylesheet1.xsl" type="text/xsl"?>
<ROWSET>
   <ROW num="1">
      <ID>1</ID>
      <NAME>Jane Austen</NAME>
      <GENRE>DRAMA</GENRE>
      <NUM_BOOKS>20</NUM_BOOKS>
   </R
OW>
   <ROW num="2">
      <ID>2</ID>
      <NAME>Emily Bronte</NAME>
      <GENRE>DRAMA</GENRE>
      <NUM_BOOKS>15</NUM_BOOKS>
   </ROW>
   <ROW num="3">
      <ID>3</ID>
      <NAME>Stephen King</NAME>
      <GENRE>HORROR</GENRE>
      <NUM_BOOKS>30</N
UM_BOOKS>
   </ROW>
   <ROW num="4">
      <ID>4</ID>
      <NAME>Jennifer Gilmore</NAME>
      <GENRE>SCIENCE FICTION</GENRE>
      <NUM_BOOKS>0</NUM_BOOKS>
   </ROW>
   <ROW num="5">
      <ID>5</ID>
      <NAME>Agatha Christie</NAME>
      <GENRE>MYSTE
RY</GENRE>
      <NUM_BOOKS>17</NUM_BOOKS>
   </ROW>
</ROWSET>





 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

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.