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

Leading spaces Problem

Subject: Leading spaces Problem
From: "Subhasri Rajagopalan" <sraja@xxxxxxxxxxxxxx>
Date: Tue, 17 Apr 2001 17:22:56 -0700
xml leading spaces
Hi,

The foll is my JSP code. The output (which is some XML content) is generated
correctly. However, I have a strange problem, in that when view source is
done in IE after the JSP executes, it has a lot of leading spaces.

Also, note that the cbean.response() which returns a String is trimmed. It
looks like it is only when processing using the XSL that these spaces are
added. My XSL DOES NOT contain preserve white spaces.

************************************************
<%@ taglib uri="xmlx.tld" prefix="x"%>
<%@ page import="
    java.util.*,
    org.xml.sax.SAXException,
    ContentBean,QXMLBean
"%>
<jsp:useBean id="cbean" class="ContentBean" scope="session"/>
<x:xslt media="xml">
 <x:xml><%=cbean.getResponse( ContentBean.STORELOCXML_URL,
                              QXMLBean.getListingByCLIDAndAddr())%></x:xml>
   <x:stylesheet media="xml" uri="bizfinder.xsl"/>
</x:xslt>

************************************************

Any clues???

TIA
---SR


 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.