Excel XML Spry ?

Hello all,
I've done some looking around the forum and haven't found an
answer yet so I thought I had better ask.
I have DW CS3.
I have used the basic spry feature to attach a basic XML file
to my HTML file to load content. I am not very familiar with XML.
Our office keeps a members list in Excel. I see that Excel
can be saved as XML. Is there a way using something like the SPRY
features to connect an XML file generated from Excel to an HTML
page. Then each month they could export a new members list as XML
from Excel, I upload the XML file and the HTML page is
automatically updated?
Thanks for any insight.
Take Care,
Brett

Thanks for the reply.
I have saved the Excel file as XML. But i cannot make much
sense of it.
I have tried the spry thing… when I connect to the XML
file I saved from Excel I don't see anything to choose that looks
familiar. In the simple XML file I have tested I set a section
called location. When I connect to the XML file I can choose to
include name, location,image, feature.
Here is a sample.
<attraction>
<name></name>
<location></location>
<image></image>
<feature><![CDATA[]]></feature>
</attraction>
Here is a sample of what is saved out of Excel
<Row>
<Cell><Data
ss:Type="String">Financial/Investment
Services</Data><NamedCell
ss:Name="Main_Membership"/><NamedCell
ss:Name="_FilterDatabase"/></Cell>
<Cell><Data ss:Type="String">company
name</Data><NamedCell
ss:Name="Main_Membership"/><NamedCell
ss:Name="_FilterDatabase"/></Cell>
<Cell><Data ss:Type="String">contact
name</Data><NamedCell
ss:Name="Main_Membership"/><NamedCell
ss:Name="_FilterDatabase"/></Cell>
<Cell><Data
ss:Type="String">address</Data><NamedCell
ss:Name="Main_Membership"/><NamedCell
ss:Name="_FilterDatabase"/></Cell>
<Cell><Data
ss:Type="String">city</Data><NamedCell
ss:Name="Main_Membership"/><NamedCell
ss:Name="_FilterDatabase"/></Cell>
<Cell><Data
ss:Type="String">state</Data><NamedCell
ss:Name="Main_Membership"/><NamedCell
ss:Name="_FilterDatabase"/></Cell>
<Cell><Data
ss:Type="String">zip</Data><NamedCell
ss:Name="Main_Membership"/><NamedCell
ss:Name="_FilterDatabase"/></Cell>
</Row>
How do I select the company name area, etc when everything is
written exactly the same. There is nothing to classify the entries
like "location" in the first sample.
Thanks,
Brett

Similar Messages

  • Creating Excel xml spreadsheets from XSL

    Hi
    I am trying to create Excel xml spreadsheets from XSL.
    I am using Tim's blog as my reference.
    http://blogs.oracle.com/xmlpublisher/2010/03/multisheet_excel_output.html
    Following is my xml data:
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <!-- Generated by Oracle Reports version 10.1.2.0.2 -->
    <XXTEK_TEST>
    <LIST_G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>30-MAR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname1</PARTY_NAME>
    <ORDER_NUMBER>17183</ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>03-APR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname2</PARTY_NAME>
    <ORDER_NUMBER></ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>03-APR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname3</PARTY_NAME>
    <ORDER_NUMBER></ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>03-APR-09</PROCESSED_DATE>
    <PARTY_NAME>party name5</PARTY_NAME>
    <ORDER_NUMBER></ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>30-MAR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname7</PARTY_NAME>
    <ORDER_NUMBER>17183</ORDER_NUMBER>
    </G_PROCESSED_DATE>
    </LIST_G_PROCESSED_DATE>
    </XXTEK_TEST>
    Following is my xsl file:
    <xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts"
    xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
    <xsl:output method="xml" encoding="utf-8" indent="yes" omit-xml-declaration="no"/>
    <xsl:template match="/">
    <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">
    <ss:Styles>
    <ss:Style ss:ID="Default" ss:Name="Normal">
    <ss:Font ss:Color="black" ss:Size="10" ss:Bold="1" ss:FontName="Arial"/>
    </ss:Style>
    <ss:Style ss:ID="x1">
    <ss:Font ss:Color="black" ss:Size="10" ss:FontName="Arial"/>
    </ss:Style>
    <ss:Style ss:ID="xdo2">
    <ss:Font ss:Color="black" ss:Size="10" ss:FontName="Arial"/>
    <ss:NumberFormat Format="$#,##0;[Red]$#,##0" Bold="0" />
    </ss:Style>
    </ss:Styles>
    <xsl:apply-templates select="XXTEK_TEST"/>
    </Workbook>
    </xsl:template>
    <xsl:template match="XXTEK_TEST">
    <Worksheet>
    <Table x:FullColumns="1" x:FullRows="1">
    <Row>
    <Cell>
    <Data ss:Type="String">Process date</Data>
    </Cell>
    <Cell>
    <Data ss:Type="String">Party name</Data>
    </Cell>
    <Cell>
    <Data ss:Type="String">Order number</Data>
    </Cell>
    </Row>
    <xsl:for-each select=".//G_PROCESSED_DATE">
    <Row>
    <Cell ss:StyleID="x1">
    <Data ss:Type="String">
    <xsl:value-of select="PROCESSED_DATE"/>
    </Data>
    </Cell>
    <Cell ss:StyleID="x1">
    <Data ss:Type="String">
    <xsl:value-of select="PARTY_NAME"/>
    </Data>
    </Cell>
    <Cell ss:StyleID="x1">
    <Data ss:Type="String">
    <xsl:value-of select="ORDER_NUMBER"/>
    </Data>
    </Cell>
    </Row>
    </xsl:for-each>
    </Table>
    </Worksheet>
    </xsl:template>
    </xsl:stylesheet>
    While creating the template, I have chosen the template type XSL-XML. I am trying to test this on E-business Suite (R12).
    I get the error "The uploaded file TEST_temp.xsl is invalid. The file should be in XSL format."
    Where am I going wrong?
    I am trying to create Excel XML spreadsheets, because the excel files created using RTF templates are very huge in size. And it is taking an unacceptable amount of time to open the file. Is there any other solution to overcome this performance issue?
    Regards
    Nishka

    Nishka,
    Looks like your XSL stylesheet is missing the XML header at the top.
    So normally it would look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet....>
    </xsl:stylesheet>
    as an Example a stylesheet which just outputs a field:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions">
    <xsl:template match="/">
    <xsl:text>My field:</xsl:text>
    <xsl:value-of select="MYFIELD"/>
    </xsl:template>
    </xsl:stylesheet>
    Patrick

  • Oracle Report vs JSP efficiency and Excel XML in Web Source Questions

    I have used Oracle Reports in the past 6i, but haven't used them in about 4 years. We are now using 9.0.4 reports and I am trying to generate Excel XML from an Oracle report by manipulating the web source of the report. Basically copying and pasting the Excel XML into the web source of the Oracle Report instead of html as suggested by this Metalink Doc ID 240819.1. I do have a JSP working example that generates Excel XML created in JDeveloper and successfully spawns off a very nice looking Excel spreadsheet.
    However, a statement was made here by our app sever guy that an Oracle Report is more efficient at getting data from the database than a JSP. The app sever section does not want anyone using JSPs to generate a report of any kind. I guess small web pages are OK since our java guys use them all the time. This rule for a Reports only environment seems a little restrictive to me. Is there any truth to the statement that Oracle Reports bulk collects data in one chunk as opposed to a JSP making multiple trips to the database from the middle tier?
    Secondly, if an Oracle Report is more efficient in the way that it collects large record sets from the db, and if I save an Oracle Report as a JSP not an rdf, and use the reports_tld.jar with the rw tags instead of the typical jsp jstl tags, will I still get the same improvement from using an Oracle report? I guess the improvement is in the library used correct?
    Thirdly, although not part of this forum, I also am assuming that if we have single sign on that when I call a JSP from an Oracle Form I will not have to log in again correct?
    Thanks...
    Message was edited by:
    Mark Reichman

    It could be the configuration issue. Reconfigure the engine.

  • EXCEL XML into XML - using MessageMapping

    Hi
    I have an XSLT that I use to convert an Excel XML into another XML format.
    But I wonder if there a way to do this via the XI Message Mapping instead?. I have tried but I am stuck at the moment trying to identify particular rows. For instance I need to fill the <desc> tag from the 3rd Cell.
    [code]
    Original Excel data
           Cell1 Cell2   Cell3            Cell4   Cell5
    Row1 | AY02  403KITA Concentrator Kit $91.00  22-01-2005
    Row2 | AY02  401KITC Oxygen Reg/Flow  $65.00  08-09-2006
    [/code]
    Input Source file (a cut down version...)
    [code]
    <Workbook>
    <Worksheet>
      <Table>
       <Row>
         <Cell>
            <Data>AY02</Data>
         </Cell>
         <Cell>
            <Data>403KITA</Data>
         </Cell>
         <Cell>
            <Data>Concentrator Kit</Data>
         </Cell>
         <Cell>
            <Data>$91.00</Data>
         </Cell>
         <Cell>
            <Data>22-01-2005</Data>
         </Cell>
       </Row>
       <Row>
         <Cell>
             <Data>AY02</Data>
         </Cell>
         <Cell>
             <Data>401KITC</Data>
         </Cell>
         <Cell>
             <Data>Oxygen Reg/Flow Portable</Data>
         </Cell>
         <Cell>
             <Data>$65.00</Data>
         </Cell>
         <Cell>
             <Data>08-09-2006</Data>
         </Cell>
       </Row>
       </Table>
    </Worksheet>
    </Workbook>
    [/code]
    Target XML
    [code]
    <Batch>
      <items>
        <item>
          <catlgItemNum>403KITA</catlgItemNum>
          <desc>Concentrator Kit</desc>
          <unitPrice>$91.00</unitPrice>
        </item>
        <item>
          <catlgItemNum>401KITC</catlgItemNum>
          <desc>Oxygen Reg/Flow Portable</desc>
          <unitPrice>$65.00</unitPrice>
      </item>
    </items>
    </Batch>
    [/code]

    Hi Peter,
    Please create the following user-defined function (cache: context):
    public static void getIndexedValue(
         String[] a,
         String[] b,
         ResultList result,
         Container container) {
         //write your code here          
         Integer iB = new Integer(b[0]);
         result.addValue(a[iB.intValue()]);
    You can then set up the following mappings:
    Row - item
    Data (context Row) 
                          getIndexedValue - ...
    Constant [1, 2, 3]  /
    Best regards
    Joachim

  • Import of excel-xml into Numbers '09 vers 2.3

    How can I import excel-xml into Numbers?
    or
    How can I import a CSV-fil into Numbers as a spreadsheet?

    In addition to File/Open you can
    Right click on the file. Open With. Numbers.
    CSV files can also be drag & dropped onto a table and the table will be populated by the contents of the file.

  • Excel XML Maps Problem

    When I import a Excel 2003 XLS file with a Excel 2003 XML map defined I can see the data update if I use the refresh buttom on the spreadsheet pane of Xcelsius 2008 but nothing happens when I export the file as a SWF no matter what I set the refresh properties to?
    Also when I bring up the Data > Connections Menu and try to ADD <Excel XML Maps> I do not get a dialog box on the right?  The <Excel XML Maps> shows as an Existing Connection but does no show any information in the right panel?
    Hope someone can help!
    Tom Ebert

    Thanks guys for your responces.
    Here is what I learned.  Xcelsius 2008 does indeed supports Web Services.  When I was exporting my Excel spreadsheets as XML and trying to refer to it in my SWF file it seems that the Excel XML file does not have the required mapping / schema.
    Soooooooo I'm going to work with a friend who actuall understands Web Services and XML.
    Thanks again for your reply...te

  • Excel XML map problem with numbers.

    Hi Xcelsius gurus,
    Once again i need your help.
    I use Excel XML maps to get data into my embedded spreadsheet, my data are current year sales per month like below:
    115.450,36
    220.336,20
    189.222,56
    200.005,48
    just numbers.
    After inserting the xml data i am not able to use them. No chart, No list, No gause can present my data. Like there is no data.
    I realised that after mapping the XML, spreadsheet's cells showing an error, when i click on error icon there is an option to convert data to number, that fix the problem.
    What could i do to solve this issue? Is there any problem with my XML file?
    Pease help me with this one, i am confused.

    Hi:
       what is your xml file format?
       you can try some ordinary xml format instead, here is a example:
       <?xml version="1.0" encoding="ISO-8859-1"?>
    <bookstore>
    <book catalog="Programming">
    <title lang="en">C++ Programming Language</title>
    <author>Bjarne Stroustrup</author>
    <year>998</year>
    <price>198.0</price>
    </book>
    <book catalog="Networking">
    <title lang="en">TCP/IP Illustrated</title>
    <author>Richard Stevens</author>
    <year>1996</year>
    <price>156.0</price>
    </book>
    </bookstore>

  • Xcelsius 2008 with Excel XML Maps and Excel 2007

    Hi guys,
    I'm getting great results with the Excel Xml maps feature,
    the problem is we upgraded to Excel 2007 and now Xcelsius can't seem to find the Xml Map connections any more.
    I did some testing, it seems that an XML connection created in Excel 2003 works fine, but Xcelsius just doesn't see any connection created with Excel 2007.
    Any ideas?
    Thanks!
    Roy

    Mark,
    It seems like that may have been something to look into prior to purchasing the product. You're a creative guy though, try to work around with the Excel sheet in the backend. I'm sure you can manage what you need with only one connection.
    The key to being an Xcelsius expert is to know how to work around any problem.
    Do you need this to be live data? If not, you could try the Excel -> Import External Data function.
    I hope that helps!
    Thanks,
    Brian

  • Importing Data from Excel (XML) into Adobe - Multiple Lines

    I have a form that I have created in Adobe Life Cycle Designer 4.
    All the data I need is now stored in an XML file that was created in Excel.
    When I attempt to import the data into Adobe Acrobat using the "Import Data" feature, it only imports the first line of data, but we have over 500 records that we would like to generate into 500 filled forms
    Each line of data represents 1 entire form and all the fields.  The importation works just fine on the first line of data and the fields get populated properly, but I am trying to find a way of importing each line so that each line
    generates a "filled out form".
    In essence, there would be 500 PDF's generated, each one with unique data based on the data in each line of the XML file.
    Any help here would be greatly appreciated
    Thank you in advance!
    Regards,
    Nizar

    There are two options
    1. try to use SQL*Loader utility.
    2. Make JDBC ODBC connection to Excel file and use JDBC queries to read and store data to database. The name of first row columns are used as table columns. The java code example for this is posted below,
              Connection con= null;
              try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con= DriverManager.getConnection("jdbc:odbc:GC", "", "");
                   Statement stmt= con.createStatement();
                   ResultSet rs= stmt.executeQuery("select username, password from userlogin");
                   while (rs.next())
                        String lname = rs.getString(1);
                        String fname = rs.getString(2);
                        System.out.println(fname + " " + lname);
                   rs.close();
                   System.out.println(con.isClosed());
                   stmt.close();
              finally
                   if (con != null)
                        con.close();
              }

  • Excel XML map problem with Greek characters.

    Hi,
    I created a dashboard with XML map connetion. My embeded spreadsheet is linked to an xml file which contains my TOP 50 Customers.
    Customers names are in Greek so my xml Header is like:
    <?xml version="1.0" encoding="ISO-8859-7"?>
    ISO-8859-7 is the Greek encoding for xml.
    After embeding the spreadsheet into the dashboard i add a list component to present my TOP 50 Customers.
    So far so good.
    Then i add a refresh conection button to update my TOP 50 list. In preview mode everythinng works fine. But when i try to update my data by clicking the refresh button my list is updated but the customers names is turned to unidentified characters.
    Is there any encoding problem or this is Xcelsius issue?
    I use Xcelsius 2008 sp3 fp 3.2

    You are right.
    I opened the XML file with notepad and saved it with utf-8 encode, also changed the xml tag to <?xml version="1.0" encoding="UTF-8"?> and it worked fine.
    I map it in Excel Spreadsheet without problems and after refreshing in Xcelsius the characters are diplayed normaly.
    So, correct me if i am wrong, the problem is the file encoding, no the xml encoding.
    Both, file and xml encoding should be UTF-8.
    As i mentioned before my xml files are Crystal Report 2008 reports which are exported as text files with .xml extension, so i have to look for answers in other forum.
    thank you

  • Problem querying Excel XML Sheet file (namespace)

    Hi,
    I have an Excel (2003) file saved as XML Spreadsheet that I would like to be able to query in the database (10gR2) using extract/extractvalue. Somehow the namespace definition of this file is preventing me from reading the values from the file. The extract/extractvalue function returns empty (NULL) values. Can somebody help me with an example how to query individual nodes from this file?
    Here is the query/XML:
    WITH x AS
         (SELECT HTTPURITYPE ('http://www.dataliberation.nl/newnxl/docs/F2083/xmltestsheet.xml').getxml () xmldoc
          FROM   dual)
    select  extract(xmldoc,'/Workbook/DocumentProperties','xmlns="urn:schemas-microsoft-com:office:office"') doc_properties
    ,       extractValue(xmldoc, '/Workbook/DocumentProperties/Author')      author
    from   xThanx in advance,
    Christian

    here the readable XML:
    SELECT XMLTYPE
    <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>Christian Rokitta</Author>
      <LastAuthor>Christian Rokitta</LastAuthor>
      <Created>2009-07-10T14:05:54Z</Created>
      <Company>Scamander Solutions</Company>
      <Version>11.9999</Version>
    </DocumentProperties>
    <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
      <WindowHeight>12525</WindowHeight>
      <WindowWidth>19995</WindowWidth>
      <WindowTopX>480</WindowTopX>
      <WindowTopY>120</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>
    </Styles>
    <Worksheet ss:Name="Sheet1">
      <Table ss:ExpandedColumnCount="2" ss:ExpandedRowCount="2" x:FullColumns="1"
       x:FullRows="1">
       <Row>
        <Cell><Data ss:Type="String">a1</Data></Cell>
        <Cell><Data ss:Type="String">b1</Data></Cell>
       </Row>
       <Row>
        <Cell><Data ss:Type="String">a2</Data></Cell>
        <Cell><Data ss:Type="String">b2</Data></Cell>
       </Row>
      </Table>
      <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
       <Selected/>
       <ProtectObjects>False</ProtectObjects>
       <ProtectScenarios>False</ProtectScenarios>
      </WorksheetOptions>
    </Worksheet>
    <Worksheet ss:Name="Sheet2">
      <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
       <ProtectObjects>False</ProtectObjects>
       <ProtectScenarios>False</ProtectScenarios>
      </WorksheetOptions>
    </Worksheet>
    <Worksheet ss:Name="Sheet3">
      <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
       <ProtectObjects>False</ProtectObjects>
       <ProtectScenarios>False</ProtectScenarios>
      </WorksheetOptions>
    </Worksheet>
    </Workbook>
    FROM   dual

  • Export to Excel: XML transformation

    Hi,
    I have to export the result set on the Grid in an Excel file( fancy report..:) ). The result set has to be modified based on the other tables before downloading. The resulting file has to have the various formatting like color, bold, font size, etc..
    As OLE is slow so I am thinking to go for the XML transformation.
    Issue:
    1. The table had around 100 columns, so is there any way to dynamically read the number of columns being displayed? (The user can change the layout).
    Kindly suggest.
    Regards
    s@k

    Code for Transformation
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
      <tt:root name="excelMeta"/>
      <tt:root name="excelDataTab"/>
      <tt:template>
        <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" tt:extensible="deep-static">
          <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
            <Author>
              <tt:value ref="excelMeta.DocumentProperties.Author"/>
            </Author>
          </DocumentProperties>
          <tt:serialize>
            <Styles>
              <Style ss:ID="Default" ss:Name="Normal">
              </Style>
              <tt:loop name="Styles" ref=".excelMeta.Styles">
                <Style>
                  <tt:attribute name="ss:ID" value-ref="$Styles.ID"/>
                  <Font>
                    <tt:attribute name="x:Family" value-ref="$Styles.Font.Family"/>
                  </Font>
                  <Alignment ss:Vertical="Bottom" ss:WrapText="1"/>
                </Style>
              </tt:loop>
            </Styles>
          </tt:serialize>
          <Worksheet>
            <tt:attribute name="ss:Name" value-ref="excelMeta.Worksheet.Name"/>
            <Table>
              <tt:loop name="line" ref=".excelDataTab">
                <Row>
                  <tt:loop name="Cell" ref="$line.Cells">
                    <Cell>
                      <tt:cond>
                        <tt:attribute name="ss:StyleID" value-ref="$Cell.StyleID"/>
                      </tt:cond>
                      <tt:cond>
                        <Data>
                          <tt:attribute name="ss:Type" value-ref="$Cell.Type"/>
                          <tt:value ref="$Cell.cell_content"/>
                        </Data>
                      </tt:cond>
                    </Cell>
                  </tt:loop>
                </Row>
              </tt:loop>
            </Table>
        </Workbook>
      </tt:template>
    </tt:transform>

  • Xml spry database, really slow in IE

    Ok,
    So I am trying to display an xml database listing and then with buttons go display different sections of the database.  It is a restaurant listing, and I am trying to show all the restaurants for different styles, mexican, american, etc.
    I've got it working fine, but I probably did it with too much code, because it takes almost 10 seconds to load in Internet Explorer, but only 2 seconds to load in Safari, and about 7 seconds in Firefox.  Now this is just way too long and I need to cut it down.
    So here's the question:  My code is working fine as it is, but when I load the xml on the loading of the page and parse it to create buttons based on the styles of food available, can I load that same variable and display different parts of it, rather than reloading the original xml and parsing that for each style of food? Right now the xml parses based on a URL parameter which is the city name coded as city_din.
    Thanks for any help or advice, the code is for the loading of the initial xml and one of the styles loading, right now I have six styles I think.
    var params = Spry.Utils.getLocationParamsAsObject();
    var xpath = "/root/dining";
       if ((params.city_din))
       xpath = "/root/dining[city_din = '"+params.city_din+"']";
       var styles1 = new Spry.Data.XMLDataSet("dining.xml", xpath, {distinctOnLoad: true, distinctFieldsOnLoad:['type_din']});
    </script>
    <script type="text/javascript"> 
       //mexican sort
    var params = Spry.Utils.getLocationParamsAsObject();
    var xpath = "/root/dining";
       if ((params.city_din))
       xpath = "/root/dining[city_din = '"+params.city_din+"' and type_din= '"+'Mexican'+"']";
       var mexican = new Spry.Data.XMLDataSet("dining.xml", xpath);

    Hello, thank you for your response...
    Here is a link to the page with the code in question.
    I had to upload it to our test server since it is not actually
    a website it is part of an interactive kiosk so the content
    will sit on the local hard drive of the unit. 
    I know there is a better way to do this code but this was the only way I could
    figure out how to get it to work. 
    http://www.sunfunstayplay.com/test/sharedfiles/NewDining1.html?city_din=Bakersfield

  • XML/SPRY & MySQL...Need help please!

    I don't really even know how to title this new message but I
    know what I would like to do. I am designing a dynamic photo
    gallery and would like use the Spry/AJAX framework to display my
    photos on a php web page.
    The photos would be uploaded to a MySQL database on the
    backend thru an insert form. I understand that Spry Datasets have
    to be associated to an XML file located on the server. I know how
    to format the XML file manually however I do not know how to update
    the XML file on the fly. I would like to be able to upload photos
    to a remote folder on ther server using PHP/MySQL via an 'insert
    new record' form or an 'update record' form. Once the new photos
    have been uploaded (or Updated), how can I tell the MySQL database
    to update the XML file that is associated with Spry table that
    displays the photos on the frontend?

    zuffster wrote:
    > how can I tell the MySQL database to update the XML file
    > that is associated with Spry table that displays the
    photos on the frontend?
    You don't. All that you need to do is to generate the XML
    dynamically by
    querying the database. The following page in the Spry samples
    shows you
    how to do it:
    http://labs.adobe.com/technologies/spry/samples/utils/query2xml.html
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS4",
    "PHP Solutions" & "PHP Object-Oriented Solutions"
    http://foundationphp.com/

  • How to recover from excel xml error missing

    Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.
    Replaced Part: /xl/worksheets/sheet10.xml part with XML error.  '>' expected. Line 2, column 16894.
    was the message after repair and I discovered that the entire content of a page went missing.
    what Can I do to fix the original file so that I can recover more of that page?

    Hi,
    As far as I know, the error message was pop-up when the Excel file was corrupted. Thus, if we click OK to continue, some contents may be discarded. Please try to follow this KB to recover the data:
    https://support.microsoft.com/kb/820741
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for