Problem with new line when using xsl
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ana_boerg
Posted On:   Thursday, January 26, 2006 11:52 AM

I am trying to tranform a .xml file in to another. I want to add new lines after every attribute in the resulting file(Want it to look like the 1st file from which it was tranformed). I tried using CRLF but doesn't seem to work. I have pasted all the 3 files Can anyone please help. Thanks 1st xml file titleTag="createemployee.details.title.addemp" detailTag="function.createemployeer.detail" labelTag="createemployee.details.title.addemp" URL="/Employee/initNewEmp" test="disabled" type="Wizard"/> .xsl file <?xml version="1.0"?>    More>>

I am trying to tranform a .xml file in to another. I want to add new lines after every attribute in the resulting file(Want it to look like the 1st file from which it was tranformed). I tried using CRLF but doesn't seem to work. I have pasted all the 3 files Can anyone please help.
Thanks

1st xml file

			

titleTag="createemployee.details.title.addemp"
detailTag="function.createemployeer.detail"
labelTag="createemployee.details.title.addemp"
URL="/Employee/initNewEmp"
test="disabled"
type="Wizard"/>



.xsl file
			
<?xml version="1.0"?>











"/>



"/>























Transformed file
<?xml version="1.0" encoding="UTF-8"?>
   <<Less
About | Sitemap | Contact