i'm exporting excel file through xml
and xslt
and getting this error..when trying to open this file...this is the log file
XML ERROR in Table
REASON: Bad Value
FILE: C:\Documents and Settings\mayankp\Desktop\PrintCheckList.xls
GROUP: Row
TAG: Cell
ATTRIB: Index
VALUE: 0
XML ERROR in Table
REASON: Bad Value
FILE: C:\Documents and Settings\mayankp\Desktop\PrintCheckList.xls
GROUP: Row
TAG: Cell
ATTRIB: Index
VALUE: 1
XML ERROR in Table
REASON: Bad Value
FILE: C:\Documents and Settings\mayankp\Desktop\PrintCheckList.xls
GROUP: Row
TAG: Cell
ATTRIB: Index
VALUE: 2
XML ERROR in Table
REASON: Bad Value
FILE: C:\Documents and Settings\mayankp\Desktop\PrintCheckList.xls
GROUP: Row
TAG: Cell
ATTRIB: Index
VALUE: 0
XML ERROR in Table
REASON: Bad Value
FILE: C:\Documents and Settings\mayankp\Desktop\PrintCheckList.xls
GROUP: Row
TAG: Cell
ATTRIB: Index
VALUE: 1
XML ERROR in Table
REASON: Bad Value
FILE: C:\Documents and Settings\mayankp\Desktop\PrintCheckList.xls
GROUP: Row
TAG: Cell
ATTRIB: Index
VALUE: 2
any help is appreciated.
Edit : see complete XML here
The XML sample isn't complete, but looking at it, the issues may lie with your second row
In particular the ss:MergeDown and ss:MergeAcross attributes. If you look at the Microsoft Xml Spreadsheet Reference you will see for ss:MergeAcross it says the following:
So, you may be getting the error because the following Cell is positioned in column 5, and this overlaps Cell in column 4, which spreads across the following two cells. You need to explicitly set the index of the fifth cell to be in column 7. (Note the use of ss:Index="7" in the fifth cell).
Additionallly, because of the use of ss:Mergedown, set to 2 for the cells, this means the next two rows are taken up. Therefore the next Row element in your xml should be changed to explicitly set the index to 5 so as not to overlap.
This should hopefully fix your problems.