Accessing local XML as data source

Are there any instruction on how to do this.  the Xcelsius 2008 user guide shows instructions for server side where a script is required.  I can't imagine that this would be required for a local XML file.
thanks

Martin, here is a short walkthrough I wrote:
<br>Basic Workflow
   1. Enter the file path in the "XML Data URL" field (e.g. c:\documents and settings\user\desktop\xmlfile.xml)
   2. Click "Enable Load"
   3. Click the plus button for as many ranges as you want
         3.a. Each range name must correspond to a matching variable name in the XML file (so if you name Range_0 to "Test", there must be a variable named "Test" in xmlfile.xml)
   4. Bind the ranges to ranges of cells (e.g. A1 through A10)
   5. In the XML file referenced in Step 1, make sure there are data values to be read
   6. Set the Usage tab's refresh options or use a Connection Refresh button
   7. Run the model and verify that the data loads from the XML file into the cell bindings
<br>The data that is read from the XML file into the Excel cells will be used as if it was entered manually into the embedded Excel sheets. It can be used by reference in other Excel cell formulas, by components, and in any other fashion that cell data can be used in Xcelsius 2008.
Here is the basic format required of the XML file:
<data>
<variable name="Test">
<row><column>1</column><column>2</column></row>
<row><column>10</column></row>
</variable>
</data>
<br>If the file contains 1 variable (the range) with 5 row tags, each row tag with 1 column tag and 1 data value, the data will be read into Xcelsius as...
A1 = 10
A2 = 2
A3 = 13
A4 = 4
A5 = 5
The range can be bound to any column; A1:A5 was selected arbitrarily for demonstration.
Note that the range will not conform to the Xcelsius binding. That is, if the XML file defines 5 rows with 1 column, that corresponds to a vertical listing of 5 cells; so, if you bind the XMLData connection range to 1 row and 5 columns, you will only see 1 data value.

Similar Messages

  • Multiple XML HTTP Data sources sequentially

    Hi,
    We are creating a report using multiple XML HTTP Data sources sequentially.
    The Report uses multiple XML HTTP Data sources sequentially; the report creation fails or delayed. We would like to join the datasources after accessing from the HTTP Server.
    At the same time the same XML files when locally accessing as data sources, the report is getting created.
    Is there any alternate solution for XML HTTP Data Source Access. Or in which way I can proceed with this.
    Thanks,
    Unni

    I am not able to use datasets here.
    The context is as below.
    I am running an HTTP server (XML-RPC program),which will generate an XML output as defined with a local XML Schema.
    Here I have multiple HTTP requests ,each will generate multiple XML outputs.
    I am using XML and WebServices Connection where I will provide like below,
    (Please note file1,file2 are normal text files with data corresponds to xsds.)
    HTTP(s) XML URL : http://localhost:8002/ReadTable?name=file1
    Local Schema File : E:\Test\file1.xsd
    HTTP(s) XML URL : http://localhost:8002/ReadTable?name=file2
    Local Schema File : E:\Test\file2.xsd
    Like this I am able to create multiple XML outputs through HTTP requests.(only file1),which means while creating reports the sequential requests are not handling properly.
    My report will join say two of theese files. But at the time of report creation it will ask of only runtime parameter of first request in the join.
    Here The report will generate only with data from first text(data) file.(file1)
    Hope you got a clarity about the proble.

  • Help - Set XML /XSD data source at runtime(VC2003)

    The VC 2003 app loads a CR 2008  report without any issue.
    The CR report has an XML/XSD data source ,The spec has now changed to set XML/XSD data source at runtime.
    Anyone have any information /examples on changing a CR report XML data source at runt time in VC IDE. I can not update the app to .Net or port to JAVA ,only stuck with VC 2003.
    Thank you in advance.
    In VC IDE, is there away to set a crystal reports data source as an xml File without to import the xml into a dataset?
    Edited by: Tang Pat on Jan 12, 2009 6:45 AM

    duplicate - please do not post multiple times

  • Access to On-Prem Data Source Forbidden

    In Power BI preview site...
    Successfully downloaded the gateway and created a connection to an on-prem SQL database.  Data source in Power BI admin says "ready".  I can see tables and views.  Works fine.
    I click on the data source in power BI and cut/paste the ODATA URL.  I open Excel 2013, Open Power Query, Select "From Odata..", Paste the ODATA URL. 
    I get the following error: "Access to the resource is forbidden".  I've tried all the possible authentication options in Power Query (basic, anon, using my PowerBI preview account, using the account I used for the data source, etc.) All return
    the same error.
    Help. 

    Then do you already assigned license to your account on O365 admin center?
    If you didn't do this, you need to go to O365 admin center, select "Users & Groups", then click on your account, you will be able to see a page with the following content. Please make sure the boxes are checked.
    Assign licenses
    <input checked="checked" id="sku0" name="sku0" title="Microsoft Power BI for Office 365" type="checkbox" />
    <label boxtype="Label" class="BOX-MainTertiary LicenseProduct" for="sku0">Microsoft Power BI for Office 365</label>
    23 of 25 licenses available
    <input checked="checked" id="sku0_Service0" name="sku0_Service0" title="Microsoft Power BI Information Services Plan 1" type="checkbox" />
    <label boxtype="Label" class="BOX-MainBodyText" for="sku0_Service0">Microsoft Power BI Information Services Plan 1</label>
    <input checked="checked" id="sku0_Service1" name="sku0_Service1" title="Microsoft Power BI Reporting and Analytics Plan 1" type="checkbox" />
    <label boxtype="Label" class="BOX-MainBodyText" for="sku0_Service1">Microsoft Power BI Reporting and Analytics Plan 1</label>
    <input checked="checked" id="sku0_Service2" name="sku0_Service2" title="SharePoint Online (Plan 2)" type="checkbox" />
    <label boxtype="Label" class="BOX-MainBodyText" for="sku0_Service2">SharePoint Online (Plan 2)</label>

  • Access enforcer and User Data Source for HR

    We are on Access Enforcer 5.2 - service pack 2:
    My problem is that when creating a new request in AE, I able to get a list of all users when I point my User Data Source to either SAP or UME. However when I attempt to create a request whilst pointing the User Data Source at the SAPHR system, I do not get any users back (and we have user set up in the SAP HR system).
    I’ve changed the connector to ‘YES’ under the HR System box, I’ve changed the Data Source Type and Details Source Type to point at the SAPHR and still it fails to fetch any users.
    I've tried looking at the log, but can't get much out of it.
    I would appreciate it, if anyone could provide any assistance.
    Thanks you in advance.
    Amarjit
    Message was edited by:
            amarjit singh

    Hi Micheal,
    Thanks for your reply.
    I'm pointing both Data Source Type and Details Source Type to the same system SAPHR and to the same system name (which is our dev system)
    Regards,
    Amarjit

  • Xml as data source in Data Model

    Hi All,
    For testing, I am using sales.xml as a data source for creating the Data Model. There is a region field which I want to filter using the parameter. I have created the parameter, I am not able to use this parameter to filter the xml values. Is there a way to filter the xml output according to the parameter in BI publisher 11g while creating the data model
    Thanks,
    Virat
    Edited by: 929521 on Oct 16, 2012 2:13 PM

    can u please share the resolution

  • Xml as data source

    HI, experts !!
    I have imported XML ("c:\xml_source.xml") as the data source.
    however, I found some data are wrong in the xml_source.xml file.
    then I edited the xml directly.
    But I found that the data keeps previous values on the dashboard.
    then I created a new xml file ("c:\xml_source_2.xml"). and change the xml url of the phyiscal table.
    but on the dashboard, it shows this error.
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 64002] The table ?????????? is not found in file C:\xml_source_2.xml loaded. (HY000)
    SQL Issued: SELECT ???? saw_0, ????? saw_1 FROM ???? ORDER BY saw_0, saw_1

    Hi Forreging,
    can you please let me know how you fixed it. I have the same problem at the moment and I cannot find a way to fix it.
    Please come back with an answer.
    Thanks a lot!

  • Perform XSLT on XML as data source?

    Crystal Reports 2008 (12.0.0.549) can use XSLT when exporting an XML document.
    Can the XML driver, however, be configured to perform a XSLT on an XML document that will result in a document that will be used as a data source? 
    When I attempted to do so, I got an error--I was using an XSL document as the data source.

    Jamie-
    Thanks for the response.
    I'm trying to represent my résumé in XML format, then use Crystal Reports to generate a formatted, PDF document: craibuc/crystal-xmlresume · GitHub
    I'm hoping to avoid too much pre-processing, hence the desire to keep the data source in XML.  As such, exporting to CSV isn't an option.
    If this isn't possible, it would be a nice enhancement to the XML driver.

  • Factory-class in data-sources.xml managed-data-source

    OracleAS_1\j2ee\home\config has
    data-sources.xml
    Using managed-data-source.
    For connection-pool, connection-factory factory-class If I use OracleDriver instead of OracleDataSource, what difference would it have? In terms of performance?
    Thanks.

    Oops, a case issue...
    class="oracle.jdbc.pool.Oracle[b]OCIConnectionPool"

  • How to create an XQuery for an XML type data source

    Hi,
    1.I have data contained in an XML format.
    Hence I have created a physical data source for XML type data.
    2.I have created a logical view to broker data from several disparate physical data sources.I have called this as UnifiedView.
    3.I have created a function called getUnifiedView() to obtain data from all the physical sources
    4.Upto this point, I have not faced any problems.
    5.However when i try writing a simple XQuery for the physical XML datasource such as
    $Sh-data/PublicIdentifiers/MSISDN="1234567"
    I get result as (For example):
    <HSS>
    <MSISDN> 1234567 111111 222222 </MSISDN>
    </HSS>
    Could you please help me getting the where clause output?
    I have attached the schema and XML files used for further information.
    Regards
    Vidya

    Hi mReiche,
    I later on resolved the previously mentioned error and try out the XQuery as suggested by you.
    for $MSISDN in ns0:Sh-data()/PublicIdentifiers/MSISDN
    where $MSISDN="1234567"
    return
    <HSS>
    <MSISDN>{data($MSISDN)}</MSISDN>
    </HSS>
    It works! Thanks.
    Now i am trying to retrieve data from 2 XML documents and an LDAP query.
    I have the following data sources:
    1.LDAP queried by Java Function
    2.HSS xml
    3.Presence xml
    I want to match the telephoneNumber of the LDAP with MSISDN in the HSS.xml.
    Next i want to match the SIP_URI in the HSS.xml with Contact of the Presence.xml
    Given below is the XQuery which i have written to achieve the above:
    for $x0 in ns5:FindDN($str_mailId)
    for $Sh-Data in ns2:Sh-Data()
    where $x0 = $Sh-Data/PublicIdentifiers/MSISDN
    for $presence in ns3:presence()
    where $Sh-Data/Sh-IMS-Data/SCSCFName = $presence/ns4:tuple/ns4:contact
    return
    On executing this XQuery i am getting the following error:
    java.lang.NullPointerException: null
         at weblogic.xml.query.types.XQueryAtomicType.commonSuperTypeOf(XQueryAtomicType.java:150)
         at weblogic.xml.query.types.XQueryType.comparisonTypeOf(XQueryType.java:324)
         at weblogic.xml.query.runtime.compare.GeneralAtomicComparison.compare(GeneralAtomicComparison.java:50)
         at weblogic.xml.query.runtime.compare.ComparisonIterator.fetchNext(ComparisonIterator.java:50)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.logic.BoolEffValue.exec(BoolEffValue.java:51)
         at weblogic.xml.query.runtime.logic.BoolEffValue.fetchNext(BoolEffValue.java:47)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:79)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.CountMapIterator.fetchNext(CountMapIterator.java:162)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.CountMapIterator.fetchNext(CountMapIterator.java:162)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.sequences.Exists.fetchNext(Exists.java:40)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:79)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
         at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:161)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.QueryIterator.fetchNext(QueryIterator.java:127)
         at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
         at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:142)
         at com.bea.ld.server.QueryInvocation.getResult(QueryInvocation.java:461)
         at com.bea.ld.EJBRequestHandler.executeFunction(EJBRequestHandler.java:346)
         at com.bea.ld.ServerBean.executeFunction(ServerBean.java:108)
    Please find attached the XML documents which i am using.
    Could you pls let me know how to resolve this.

  • Excel web access: Parameters in external data sources not supported???

    I have a SharePoint 2013 site with Excel services.
    The site itself has a Current User Filter Web Part which gives filter value [userID] to a Excel web access -web part.
    In the Excel itself I have a named area(UserIDfromSharePoint) defined as a parameter.
    This parameter is being used in a Microsoft Query into an SQL database table:
    Select * from [MyTable] where UserID = ?
    The question mark is set as a parameter to the named area UserIDfromSharePoint.
    When I set the Excel Web Access -web part to show my workbook, I get the following error:
    "We're sorry. We can't open the workbook in the browser because it uses these unsupported features: • PivotTable reports that are set to refresh
    when the item in a report filter changes, or external data ranges (also called query tables)
    that use parameters"
    Is this really true???!??
    If I have understood correctly, this has been an issue since the dawn of SharePoints Excel web services.
    Does Microsoft really in this age of big data assume that all the SQL queries should be unfiltered or static?
    My table has over 3M rows, so it is not possible to bring the whole dataset into excel and filter there. I'll have to say to the customer that we need to build a reporting table into which we'll aggregate the data first rather than querying the necessary
    information...

    Hi,
    Do you mean that you have Office 2007 and Office 2010 both installed in you computer?
    Based on my test, I copy a Access 2010 database into a computer only installed Offic 2007, then using Excel 2007 to import Access database data, no error occurred.
    So double click the Access database to see whether the databased is opened with Access 2007 or Access 2010. If it is opened with Access 2010, then try to save it as Access 2007 to
    check the issue.
    Jaynet Zhang
    TechNet Community Support

  • Multiple Data source in Struts-Config.xml

    Hi ,
    I am Amit Garg and i am new to this forum....
    Can any one help me out with the problem that i need to have 3 data source in my struts-config file and how will my getDatasource(request) method recoganise which data source to pick and access.

    Hi Amit Garg,
    <data-sources>
    <data-source type = "org.apache.commons.dbcp.BasicDataSource" key = "DBA">
    </data-source>
    <data-sources>
    <data-source type = "org.apache.commons.dbcp.BasicDataSource" key = "AISDEV">
    </data-source>
    </data-sources>
    u just configure ur struts-config.xml file in the above manner and use the following steps in ur action servlet to retrive the DataSource object
    getDatasource(request,"DBA") for accessing first datasource
    getDatasource(request,"AISDEV") for accessing second datasource.
    byeeeeee

  • XML Data Source using SSRS intgrated in ShaPoint

    I am trying to use an XML soap data source in my report and use the report in my SharePoint site but I get the following error: (SharePoint integration is configured as trusted site) we changed it to windows authentication but get errors on all reports.
    (error below when using windows security)
    An
    error has occurred during report processing. (rsProcessingAborted)
    Cannot
    impersonate user for data source 'dsSkillsMatrix'.
    (rsErrorImpersonatingUser)
    This
    data source is configured to use Windows integrated security. Windows integrated
    security is either disabled for this report server or your report server is
    using Trusted Account mode. (rsWindowsIntegratedSecurityDisabled
    (error below when using no credentials) I also have unattended execution account set as well but it still asks me for credentials when running the report.
    An
    error has occurred during report processing. (rsProcessingAborted)
    The
    data extension supports Windows Integrated Security and No Credentials
    (anonymous request) only. (rsXmlDataProviderError
    im not sure why it tells me this im using the No credendtials option here.
    I read this but I did everything they said and I still have the errors above
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/acc247b4-3257-47da-9531-fdad5bebcbd4/web-service-as-dadatource-with-basic-authentication?forum=sqlreportingservices

    Hi Pablo
    Thats a tough one ... if you go custom with a data template you will at least get support on the data template functionality ie you have a problem when you try and build one. You will not get support on the query inside the data template as you might have gotten with the Oracle Report, well you could at least log a bug against development for a bad query.
    Eventually that Oracle Report will be converted by development anyway, theres an R12 project going on right now to switch the shipped OReports to data templates. AT this point you'll be fully supported again but:
    1. You have to have R12 and
    2. You'll need to wait for the patch
    On reflection, if you are confident enough in the query then Oracle will support you on its implementation within a data template. Going forward you may be able to swap out your DT and out in the Oracle one without too much effort.
    Regards, Tim

  • Loading Matrix using XML Data Source

    Hi Experts,
    I'm working on an addon where i need to fill up matrix with a set of data,
    i'm doing that using 'for loop'. my question is can v fill matrix using XML File i.e, using XML as Data Source.
    Thanks in Advance
    Jaideep

    Hi Jaideep !!!!
    here is the sample code which could help u n solve ur problem.
    if u got ny problem then please tell me ....
    Public Sub CreateLoad()
            Try
                ''' Load form
                Dim xml As Xml.XmlDocument
                xml = New Xml.XmlDocument
                xml.Load("C:\Temp\update data to the base table\Allowance\Abacus.srf")
                SBO_Application1.LoadBatchActions(xml.InnerXml)
            Catch ex As Exception
                SBO_Application1.MessageBox(ex.Message)
            End Try
            AddDataSourcetoform()
            BindataSource()
            GetDatafromDB()
        End Sub
        Public Sub AddDataSourcetoform()
            Try
                oForm = SBO_Application1.Forms.Item("Allowance")
                DBtable = oForm.DataSources.DataTables.Add("Supplier")
                SQL = "SELECT [@Supplier].* FROM [@Supplier] ORDER BY Cast( [@Supplier].Code AS INT)"
                DBtable.ExecuteQuery(SQL)
                'oDBDataSource = oForm.DataSources.DBDataSources.Item("@Supplier")
            Catch ex As Exception
                SBO_Application1.MessageBox(ex.Message)
                'System.Windows.Forms.MessageBox.Show("Not Added Data Source to the Form")
            End Try
        End Sub
        Private Sub BindataSource()
            Try
                oForm = SBO_Application1.Forms.Item("Allowance")
                MatrixBind()
            Catch ex As Exception
                SBO_Application1.MessageBox(ex.Message)
            End Try
        End Sub
        Private Sub MatrixBind()
            Try
                'Dim txt As SAPbouiCOM.EditText
                o_Matrix = oForm.Items.Item("MatAllow").Specific
                oColumns = o_Matrix.Columns
                oColumn = oColumns.Item("ColCode")
                oColumn.DataBind.Bind("Supplier", "Code")
                oColumn = oColumns.Item("ColName")
                oColumn.DataBind.Bind("Supplier", "Name")
            Catch ex As Exception
                SBO_Application1.MessageBox(ex.Message)
            End Try
        End Sub
        Public Sub GetDatafromDB()
            Try
                oForm = SBO_Application1.Forms.Item("Allowance")
                o_Matrix = oForm.Items.Item("MatAllow").Specific
                Dim Code As String = 1
                o_Matrix.Clear()
                o_Matrix.LoadFromDataSource()
            Catch ex As Exception
                SBO_Application1.MessageBox(ex.Message)
            End Try
        End Sub

  • Data Source Disappearing randomly

    Hi,
    I am having a peculiar problem with Creator. Please go through steps
    Step 1: Created a datasource with following attributes
    <dataSources majVer="1" minVer="0">
    <dataSource name="sardb"
    driverClassName="com.sun.sql.jdbc.oracle.OracleDriver"
    url="jdbc:sun:oracle://localhost:1521;SID=XE"
    validationQuery="select * from SARDB.TEST_TABLE"
    username="sardb"
    password="7AA120080B5C8900"
    />
    </dataSources>
    data source is added successfully and able to view data
    Step 2: Included this datasource into my project
    Step 3: Build and Run. Problem is some times (randomly*)* Build-Run is failing with following server log
    INFORMATIONAL *********** Exception occurred ************ at 1:10 PM on May 28, 2008
    An error occured while trying to copy the needed DB driver jar files.
    [catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:139)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    INFORMATIONAL *********** Exception occurred ************ at 1:10 PM on May 28, 2008
    An error occured while trying to copy the needed DB driver jar files.
    [catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:139)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    I am able to see the data source in server window... but not able to view data
    when i see in XML file .Creator\2_1\context.xml, this data source is present in that file
    Main concern is this random behaviour and cant predict when this datasource will disappear
    My first question will be
    "Is my application code responsible for this random behaviour?"
    Its a very simple data access application.
    Please help me through this. Thanks in advance

    Hi!
    From error log You can see that problem is that for some reason necessary DB drivers can't be copied to the server's directory with libraries ("An error occured while trying to copy the needed DB driver jar files.") and therefore You have this problem. The reason can be write permission or something else, but not your application code.
    Thanks,
    Roman.

Maybe you are looking for