cancel
Showing results for 
Search instead for 
Did you mean: 

Remove first line in the XML Document

Former Member
0 Kudos

Hi Friends,

In my File to File scenario when ever new mesg is appending to file at receiver side,it should remove <?xml version="1.0" encoding="ISO-8859-1"?> tag from the XML Document.This means <?xml version="1.0" encoding="ISO-8859-1"?> tag should appear once in a document.Plz suggest me to do this.

Thanks

pullarao.

View Entire Topic
Former Member
0 Kudos

Hey

as pointed out by everyone else,there is no straight way for this,one thing u can do is that create two separate scenarios.

in first scenario use content conversion on receiver side and keep on appending the text to a flat file,now since ur using FCC u wont get <?xml version="1.0" encoding="ISO-8859-1"?>,you will get a flat file on receiver side.

after some time(whatever ur pollin interval is) u can have one more scenario which picks up this flat file and this time use FCC on sender side so that it will convert this flat file to XML,in this way you will get <?xml version="1.0" encoding="ISO-8859-1"?> only once.

hope this solves ur problem.

just make sure that you specify correct polling intervals for both the scenarios.

thanx

ahmad

Former Member
0 Kudos

Hi,

My problem resolved.Thanks a lot to u all.

Thanks

pullarao