Results 1 to 4 of 4

Thread: How to read and write Excel files in PHP ?

  1. #1
    Join Date
    Feb 2009
    Posts
    12

    How to read and write Excel files in PHP ?

    I am having difficulty displaying the raw ExcelXML so it looks like a spreadsheet in the browser window a bit like a spreadsheet google doc. I want another person can view the spreadsheet (with all its colors, etc.) in the browser window without having to open MSExcel also because I also want to run query in the database data if it wants to recent communications xml stored in the database. so what do I need to look as far as parsing the XML in the browser and it looks like a spreadsheet?

  2. #2
    Join Date
    May 2008
    Posts
    115

    Re: How to read and write Excel files in PHP ?

    You should probably try to format your message in a coherent explanation of the current definition, the problem and what is your question. At present, its a little confused blob of text.

    See this it will help you.

  3. #3
    Join Date
    Feb 2009
    Posts
    12

    Re: How to read and write Excel files in PHP ?

    I open this file with Excel, it displays the rows and columns as it normally would, but if I open this file in IE I get the raw XML. I want to be able to view the XML data in a browser window and have it display the spreadsheet.

  4. #4
    Join Date
    Jul 2008
    Posts
    92

    Re: How to read and write Excel files in PHP ?

    Transform XML into XHTML using XSLT

    The root element that declares the document to be an XSL style sheet is <xsl:stylesheet> or <xsl:transform>.

    The correct way to declare an XSL style sheet according to the W3C XSLT Recommendation is:

    PHP Code:
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.techarena.in/XSL/Transform"
    To get access to the XSLT elements, attributes and features we must declare the XSLT namespace at the top of the document.

Similar Threads

  1. Replies: 5
    Last Post: 25-03-2010, 06:23 AM
  2. How to read 2 text files and write it into one
    By Juaquine in forum Software Development
    Replies: 4
    Last Post: 18-02-2010, 05:05 PM
  3. Replies: 5
    Last Post: 02-02-2010, 03:20 PM
  4. How to read and write files in Java
    By BansiJ in forum Software Development
    Replies: 3
    Last Post: 02-09-2009, 08:52 PM
  5. Replies: 0
    Last Post: 29-01-2009, 05:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •