remove leading whitespace from xsl while calling x:transform

Hi I am trying to perform an xml-xsl transform from jsp using following code:\[code\]<c:import url="/global/xsl/sub-nav.xsl" var="xslt"/><c:import url="/sitemap.xml" var="xmltext"/><x:transform xml="${xmltext}" xslt="${xslt}"> <x:param name="relativeURL" value="http://stackoverflow.com/personal/accounts/"/> <x:param name="fullRelativeURL" value="http://stackoverflow.com/personal/accounts/sba/"/></x:transform>\[/code\]The problem here is that, I cannot make any change in xsl file. It has a leading space before \[code\]<?xml version="1.0" encoding="ISO-8859-1"?>\[/code\] i.e. the very first line of xsl. Is there a way i can omit that space while calling transform from jsp? Otherwise it gives a 500 error if I dont get rid of that leading space.
 
Back
Top