on 07-04-2008 1:46 PM
Hi Guys,
For File Adapter Module Development , for reading Excel Sheet.
Deployment all went fine and when i used in my configuration , file is getting picked up but the xml content is not getting displyed , it says not well formated.Below error is shown in the CC Monitor
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
-
XML document must have a top level element. Error processing resource 'http://pxxxxx:50xxx/mdt/messagecontentservlet?att...
My coding in nwds
xmldata = "<?xmlversion="1.0"encoding="UTF-8"?> "
+ "<ns:"+wb.getSheet(0).getCell(0, 0).getContents() +"xmlns:ns=""
+ wb.getSheet(0).getCell(1, 0).getContents() + "">"
+ "<Name>"+ wb.getSheet(0).getCell(1, 2).getContents()
+ "</Name>" +"</ns:" wb.getSheet(0).getCell(0, 0).getContents()">";
Kindly suggest if any
srini
Edited by: Venkateswarlu Srinivas on Jul 4, 2008 2:47 PM
try removing the \n you have added in the string
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.