#SEO and Investing Expert-II
New Member
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}"> <xaram name="relativeURL" value="http://stackoverflow.com/personal/accounts/"/> <xaram 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.