|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Leading spaces Problem
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
|
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
|

Cart








