RE: Whitespace within 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format