bmalets Posted August 1, 2012 Share Posted August 1, 2012 Server save thie code with name "name.xls" : <?xml version="1.0"?><?mso-application progid="Excel.Sheet"?><Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40"> <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office"> <Author>Darl McBride</Author> <LastAuthor>Bill Gates</LastAuthor> <Created>2007-03-15T23:04:04Z</Created> <Company>SCO Group, Inc.</Company> <Version>11.8036</Version> </DocumentProperties> <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"> <WindowHeight>6795</WindowHeight> <WindowWidth>8460</WindowWidth> <WindowTopX>120</WindowTopX> <WindowTopY>15</WindowTopY> <ProtectStructure>False</ProtectStructure> <ProtectWindows>False</ProtectWindows> </ExcelWorkbook> <Styles> <Style ss:ID="Default" ss:Name="Normal"> <Alignment ss:Vertical="Bottom" /> <Borders /> <Font /> <Interior /> <NumberFormat /> <Protection /> </Style> <Style ss:ID="s21"> <Font x:Family="Swiss" ss:Bold="1" /> </Style> </Styles> <Worksheet ss:Name="Sheet1"> <Table ss:ExpandedColumnCount="2" ss:ExpandedRowCount="5" x:FullColumns="1" x:FullRows="1"> <Row> <Cell> <Data ss:Type="String">Text in cell A1</Data> </Cell> </Row> <Row> <Cell ss:StyleID="s21"> <Data ss:Type="String">Bold text in A2</Data> </Cell> </Row> <Row ss:Index="4"> <Cell ss:Index="2"> <Data ss:Type="Number">43</Data> </Cell> </Row> <Row> <Cell ss:Index="2" ss:Formula="=R[-1]C/2"> <Data ss:Type="Number">21.5</Data> </Cell> </Row> </Table> <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"> <Print> <ValidPrinterInfo /> <HorizontalResolution>600</HorizontalResolution> <VerticalResolution>600</VerticalResolution> </Print> <Selected /> <Panes> <Pane> <Number>3</Number> <ActiveRow>5</ActiveRow> <ActiveCol>1</ActiveCol> </Pane> </Panes> <ProtectObjects>False</ProtectObjects> <ProtectScenarios>False</ProtectScenarios> </WorksheetOptions> </Worksheet></Workbook> How can I add image in this excell file. Is some xml tag for image exists?Or how can I add image in this file?Maybe someone can give me xml code of .xls file with image or help me with parsing of old excel file version's. Help me please Link to comment Share on other sites More sharing options...
vietnux Posted December 4, 2013 Share Posted December 4, 2013 me too ??? Link to comment Share on other sites More sharing options...
justsomeguy Posted December 4, 2013 Share Posted December 4, 2013 If you want to see what an Excel file looks like with an image in it, then create an Excel file with an image and save it as XML, then open it up in a text editor and look at the code. It's probably an encoded binary string. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now