Xpath and xml data queries
I've got the xml found at:
http://www.bankofcanada.ca/rss/fx/noon/fx-noon-all.xml.
The xml looks like this(this is the US only one, but all the format and syntax is the same for the fx-noon-all.xml file):
<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:cb="http://centralbanks.org/cb/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3c.org/1999/02/22-rdf-syntax-ns#rdf.xsd">
<channel rdf:about="http://www.bankofcanada.ca/fx/daily_noon.html">
<title>BoC noon rate: U.S. dollar</title>
<link>http://www.bankofcanada.ca/fx/daily_noon.html</link>
<description>Current day's noon foreign exchange rates from the Bank of Canada. Published at about 12:15 ET.</description>
<items>
<rdf:Seq>
<rdf:li rdf:resource="http://www.bankofcanada.ca/rss/fx/noon/iexe0101.xml" />
</rdf:Seq>
</items>
<dc:language>en</dc:language>
<dc:date>2008-07-07</dc:date>
</channel>
<item rdf:about="http://www.bankofcanada.ca/rss/fx/noon/iexe0101.xml">
<title>CA: 0.9830 USD = 1 CAD 2008-07-07 Bank of Canada noon rate</title>
<link>http://www.bankofcanada.ca/fx/daily_noon.html</link>
<description>1 Canadian Dollar = 0.9830 USD (USD = U.S. dollar). These are the Bank of Canada's nominal noon exchange rates, published at about 12:15 ET each business day. These are neither buying nor selling rates, and should be used for reference purposes only.</description>
<dc:language>en</dc:language>
<dc:date>2008-07-07</dc:date>
<dc:format>text/html</dc:format>
<cb:country>CA</cb:country>
<cb:baseCurrency>CAD</cb:baseCurrency>
<cb:targetCurrency>USD</cb:targetCurrency>
<cb:value frequency="business" decimals="4">0.9830</cb:value>
<cb:rateType>noon</cb:rateType>
<cb:application>statistics</cb:application>
</item>
</rdf:RDF>
I've inserted the xml into the CFS_XML_TABLE which has a column for the date
and an XMLType column which holds the xml.
I am trying to extract exchange rate data using a query like this:
select extractValue(xml_data, '/RDF/item/title/text()') as "NodeVal"
from cfs_xml_table;
I'm just trying to get something out of it right now, but eventually I need to be able to get <cb:value>, <cb:baseCurrency> and <cb:targetCurrency>. Right now I can't even get the data in the title node...
For the project I'm working on I have to use the Bank of Canada Feed.
Does anyone have any ideas on what to do here?
Thanks a lot,
Devon
I've never used namespaces with XPath before, but I happened to stumble across a solution that works by supplying a value for EXTRACTVALUE's "namespace_string" parameter (the third one).
select
extractvalue(
xmltype(
'<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:cb="http://centralbanks.org/cb/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3c.org/1999/02/22-rdf-syntax-ns#rdf.xsd">
<channel rdf:about="http://www.bankofcanada.ca/fx/daily_noon.html">
<title>BoC noon rate: U.S. dollar</title>
<link>http://www.bankofcanada.ca/fx/daily_noon.html</link>
<description>Current day''s noon foreign exchange rates from the Bank of Canada. Published at about 12:15 ET.</description>
<items>
<rdf:Seq>
<rdf:li rdf:resource="http://www.bankofcanada.ca/rss/fx/noon/iexe0101.xml" />
</rdf:Seq>
</items>
<dc:language>en</dc:language>
<dc:date>2008-07-07</dc:date>
</channel>
<item rdf:about="http://www.bankofcanada.ca/rss/fx/noon/iexe0101.xml">
<title>CA: 0.9830 USD = 1 CAD 2008-07-07 Bank of Canada noon rate</title>
<link>http://www.bankofcanada.ca/fx/daily_noon.html</link>
<description>1 Canadian Dollar = 0.9830 USD (USD = U.S. dollar). These are the Bank of Canada''s nominal noon exchange rates, published at about 12:15 ET each business day. These are neither buying nor selling rates, and should be used for reference purposes only.</description>
<dc:language>en</dc:language>
<dc:date>2008-07-07</dc:date>
<dc:format>text/html</dc:format>
<cb:country>CA</cb:country>
<cb:baseCurrency>CAD</cb:baseCurrency>
<cb:targetCurrency>USD</cb:targetCurrency>
<cb:value frequency="business" decimals="4">0.9830</cb:value>
<cb:rateType>noon</cb:rateType>
<cb:application>statistics</cb:application>
</item>
</rdf:RDF>
, '/rdf:RDF/item/title/text()'
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:cb="http://centralbanks.org/cb/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"
) as result
from dual ;
RESULT
CA: 0.9830 USD = 1 CAD 2008-07-07 Bank of Canada noon rate --
Joe
Similar Messages
-
Does EBS license include tools for reporting and extracting data (queries)
Hello,
I'm recommending Oracle EBS to a customer and I need to mention what tools for reporting and extracting data (queries) are included in a Oracle EBS license.
I hope you can help me with that information, or at least with providing me the place where I can get the info.
Thanks in advance,
A/P Sergio MaestriHi,
Thanks, I think the same ... but the customer asked me about it ... I supose my answer will be that he can use Reports Builder for reporting and Toad or PLSQL Developer to access to the database and make queries ...
What about XML Publisher ? ...it can be used to make reports against an Oracle EBS database and integrate them into the EBS Application ?I believe you need a developer license to use Oracle Developer (Forms/Reports) for customizing/creating reports.
Global Pricing and Licensing
http://www.oracle.com/corporate/pricing/index.html
And IINM, the same thing applied to XML Publisher -- See this thread for a similar discussion.
eBiz & XML Publisher - Confusion
http://forums.oracle.com/forums/thread.jspa?messageID=3834445
Please contact your Oracle sales representative, he/she is the best one to answer such questions.
Thanks,
Hussein -
Spry Tables and Xml Data Sets viewed in IE7
Has anyone ever run into a problem with Spry Tables and Xml
Data Sets viewed in IE7? Work fine in IE6 and Firefox, but get the
error "exception caught while loading feed.xml: [object Error]" in
IE 7. Any ideas?
Attached is the xml I'm using.
ThanksI came looking for the answer to this question. I could not
find an answer. Eventually I found it the answer that worked for
me, a graphic designer with not much experience in xml.
The following url provided an errata file in PDF format:
www.peachpit.com/dwcs3cib
which includes the following addendum to the incomplete
instructions in the book i was using to learn about spry:
"If Internet Explorer 7 is your primary browser, you'll nee
to take some extra steps to view spry dynamic content locally.
First, your site must be within the local server webroot; be sure
your Lessons folder is stored within the Inetpub>wwwroot folder.
Next, double-click the site name in the files panel to open the
Site Definition dialogue. Click the Testing Server category; from
the Access List choose Local/Network. Click Okay to close the Site
Definition dialogue. Now, when you preview your page with Internet
Explorer, your local Web server (localhost) serves the page as
designed."
Horray for me! Now i can move on from here and actually get
some work done! -
Reference Library for Converting Between LabVIEW and XML Data (GXML)
Please provide feedback, comments and questions on the Reference Library for Converting Between LabVIEW and XML Data (GXML) in this thread.
The latest version of the NI GXML Library is availble in VIPM on the NI LabVIEW Tools Network repository.Francesco, Thank you for the feedback. With this component it was my intention to make a more "terse" version of the LabVIEW Flatten to XML VI that was also supported on RT and that gave the user more flexbility regarding the structure of the parsing type definition. I think you are right that the XML parser is not compliant to section 2.11 of the XML spec. The parser does specifically looking for a #D#A and this appears to be an oversight on my part. Please confirm for me, the specifcation is saying that the XML parser should be able to recognize three possibilities as an "end of line" character: #D#A, #D, or #A. Am I reading this right?There are more efficient (and in some cases much more efficient) ways of sharing data between LabVIEW and LabVIEW: some examples are flattened binary strings and the datalog binary format. XML is slower than these optons but the upside is that it is human readable. Furthermore XML is inherently hierarchical which is convenient for complex data structures like clusters of arrays of clusters, etc. If you don't care about human readability then you are correct XML doesn't make as much sense.I will return to the GXML source code and try to fix this in the near future but I would hope that instead of creating yet another custom VI from scratch that you could reuse what I have provided for you. I included enough documentation in the source code so that users could make some modificiations themselves. The target application for this reference library was LabVIEW to LabVIEW communication. As such I documented the schema on the dev zone document from a LabVIEW perspective. It includes all the supported datatypes and all the supported data structures (cluters, arrays, multidimensional arrays, clusters of multidimensional arrays, etc.) I do see some value in making a more conventional XML spec but the time investment required didn't really line up with my intended use case. Were there any other downsides to GXML that I have missed? Best Regards, Jeff TippsSystems Engineer - Sound and VibrationMessage Edited by Jeff T. on 04-21-2010 10:09 AM
-
Using a SQL data source and XML data source in the same template
I am trying to develop a template for the Request for Quote report generated in Apps 11.5.10. I have loaded the data from the XML output into the template, but I am missing one field - I need the org_id from the po_headers table. Is it possible to use a sql data source (i.e., "select org_id from po_headers_all where po_header_id = [insert header_id from xml data]...") in addition to the xml data source to populate the template at runtime? When you use the Insert > SQL functionality is it static at the time the template is created, or does it call to the database at runtime? I've looked through all the docs I could find, but this isn't clear.
Thanks for any help or suggestions you may have.
RhondaHi 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 -
Forms pulling Multiple Records from an XML Schema and XML data files - Adobe LiveCycle Designer
I built a form in Adobe LiveCycle with an xml schema and data file. The problem is with how the form renders the xml data file.
I have a statement element that consists of about 6 fields (statementID, statementName, statementAddress, statementCountry, statementZip, statementDate, etc) of data in the schema that allows for multiple iterations - so one xml data file can contain multiple statements. These fields allow for null values.
But here's the problem: When any of the statements - say statement 2 of 6 - has a null value in one of the fields, if the xml data file doesn't have a placeholder
(example of placeholder: <statementName type="String"/> )in the xml for that field, my form pulls the field value from the NEXT statement.
This corrupts all the rest of the statement records, as this field is shifted up for all the rest.
I know that in the past I haven't needed a placeholder when a field was null. But I'm wondering if when the data allows for multiple records the xml data file needs to generate the placeholder. And where is the problem? In the Schema? The xml data file? My form? And the 64-thousand-dollar question: How to fix it?If your <statement> element is the one that repeats, it should be bound to a subform with the binding string of something like $.statement[*]. Then in that subform should be your fields and they should have bindings of $.statementID, $.statementName, $.statementAddress, etc.
Kyle -
Hi!
Does the JRC execute a report with an XML data source (URL XML Http and URL XSD Http) ?
If yes, does the JRC change programmatically the XML data source (URL XML Http and URL XSD Http) prior to execute the report?
There is an example to do this?
Best regards,
A.Hi,
I've follow the example [ftp://ftp.businessobjects.com/pub/incoming/XML_XSD_sample_reports_XI.zip]
and i've use the "JRC_Display_Connection_Info"on a xml to display all of the properties.
After i've make a program for change the datasource in the case of "xml http" database.
Changes the DataSource for a specific Table from XML
@param clientDoc The reportClientDocument representing the report being used
@param reportName "" for main report, name of subreport for subreport, null for all reports
@param tableName name of table to change. null for all tables.
@param username The DB logon user name
@param password The DB logon password
@param xmlURL The Http(s) XML URL
@param xsdURL The Http(s) Schema URL
@throws ReportSDKException
public void changeDataSourceXML(ReportClientDocument clientDoc,
String reportName, String tableName,
String username, String password,String xmlURL,String xsdURL) throws ReportSDKException {
PropertyBag propertyBag = null;
IConnectionInfo connectionInfo = null;
ITable origTable = null;
ITable newTable = null;
// Declare variables to hold ConnectionInfo values.
String SERVER_TYPE = "XML e servizi Web";
String CONVERT_MULTIVALUE_TO_TABLE="false";
String DATABASE_DLL = "crdb_xml.dll";
String HTTPS_SCHEMA_URL= xsdURL;
String HTTPS_XML_URL= xmlURL;
// Declare variables to hold database User Name and Password values
// I've see by "JRC_Display_Connection_Info" that USERID_HTTPS_SCHEMA
// and USERID_HTTPS_XML's value is equal to username value
String DB_PASSWORD = "";
String DB_USER_NAME = username;
String USERID_HTTPS_SCHEMA=username;
String USERID_HTTPS_XML=username;
// Obtain collection of tables from this database controller
if (reportName == null || reportName.equals("")) {
Tables tables = clientDoc.getDatabaseController().getDatabase().getTables();
for(int i = 0;i < tables.size();i++){
origTable = tables.getTable(i);
if (tableName == null || origTable.getName().equals(tableName)) {
newTable = (ITable)origTable.clone(true);
newTable.setQualifiedName(origTable.getAlias());
// Change connection information properties
connectionInfo = newTable.getConnectionInfo();
// Set new table connection property attributes
propertyBag = new PropertyBag();
// Overwrite any existing properties with updated values
propertyBag.put("Http(s) Schema URL", HTTPS_SCHEMA_URL);
propertyBag.put("Http(s) XML URL", HTTPS_XML_URL);
propertyBag.put("Server Type", SERVER_TYPE);
propertyBag.put("UserID Http(s) XML", USERID_HTTPS_XML);
propertyBag.put("Database DLL",DATABASE_DLL );
propertyBag.put("Convert Multivalue to Table", CONVERT_MULTIVALUE_TO_TABLE);
propertyBag.put("UserID Http(s) Schema", USERID_HTTPS_SCHEMA);
connectionInfo.setAttributes(propertyBag);
// Set database username and password
connectionInfo.setUserName(DB_USER_NAME);
connectionInfo.setPassword(DB_PASSWORD);
// Update the table information
clientDoc.getDatabaseController().setTableLocation(origTable, newTable);
But i don't know why if i call:
System.out.println(reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(0).getConnectionInfo().getAttributes().toString());
on my
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open(ReportName, 0);
after changeDataSourceXML i've one more attribute than those defined by me called PreQEServerType that take the Server_Type value.
I think that is the cause of the output error of my program on the export method
ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
- com.crystaldecisions.reports.dataengine.be: Unexpected error of the database connector
- Failed to export report
com.crystaldecisions.reports.exportinterface.exceptions.ExportException: Unexpected error of the database connector
at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
at report.MKReport.main(MKReport.java:655)
Caused by: com.crystaldecisions.reports.formatter.formatter.c: Unexpected error of the database connector
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
... 13 more
Caused by: com.crystaldecisions.reports.dataengine.be: Unexpected error of the database connector
at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
... 19 more
Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: Unexpected error of the database connector
at com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Unknown Source)
... 22 more
Caused by: com.crystaldecisions.reports.queryengine.am: Unexpected error of the database connector
at com.crystaldecisions.reports.queryengine.driverImpl.a.if(Unknown Source)
at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
... 23 more
- JRCAgent1 detected an exception: An error occurred while exporting the report
at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
at report.MKReport.main(MKReport.java:657)
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: An error occurred while exporting the report.---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
Thanks in advance for your help.
Andrea
Edited by: Andrea Bonf on Sep 24, 2008 5:56 PM -
I have a acrobat reader, can I import text delimited data format to a PDF Form so that it can auto fill into forms that was created? If not, what about FDF and XML data
Yes, you can do all of that via Tools - Forms - More Form Options - Import Data, if you have Acrobat.
If you only have the free Reader then you can still do it, but it requires a script. -
Hello, everyone. As a SSIS newbie, I have a simple question about load XML data files with SSIS. Currently I have multiple XML files in a specified folder (C:\XMLData) using one XSD file. Since SSIS does not support expression language for XML Source component (unlike flat file connnection), do you know how to loop through all XML data files to load them into a table in a database? I guess I may need to do some programming in VBScript. Any help is greatly thankful
Thank you very much.Since SSIS does not support expression language for XML Source component (unlike flat file connnection),
Are you sure about that? If you flip back to the control-flow and view the properties of the dataflow in question then you should be able to put an expression on the [XML Source].[XMLData] property.
Background reading:
Dataflow expressions
(http://consultingblogs.emc.com/jamiethomson/archive/2007/10/09/SSIS_3A00_-Dataflow-expressions.aspx )
http://sqlblog.com/blogs/jamie_thomson/ | http://jamiethomson.spaces.live.com/ | @jamiet -
Hello,
I have read the Oracle XML SQL Utility documentation and also
the answer of Oracle team to Johnson Scott and as far as I
understand, the XML that is produced from the database and
loaded in it must verify a given DTD syntax.
Is this DTD available somewhere ?
What I have understood about XML Data of w3c is that it gives a
way to describe the content of a database.
What is Oracle position on that subject ?
I do ask this question because we have at present an SGML file,
with its own DTD that contains data we have to
insert/delete/update in an Oracle Database.
We are thinking of converting this SGML file in an XML file,
with tools like OMNIMARK or BALISE, that could be easily
integrated in the Oracle Database.
We are looking for the best solution to our problem and think
that Oracle tools like Oracle XML SQL, parserand Class generator
could be really usefull.
What do you think of this problem and of the solution we imagine
Thanks for your help,
Best regards,
C line.
nullHello,
I am actually studying the tools that Oracle offers to treat XML
data.
When reading the description of your products I can see two
solutions to my problem.
I remind it to you :
I have an SGML file with its own DTD that contains data we have
to insert/delete/update in an Oracle Database.
I can imagine two solutions :
1- one with Oracle IFs XML support :
To use this one I have to convert my SGML DTD in an XML one
(they should be very similar) and then write a program that
would convert my SGML file in an XML one.
Then create an Oracle iFS document descriptor that indicates how
each part of my file should be stored in my Oracle database.
2- an other one with Oracle XML SQL utility :
To use this one I have to convert my SGML file in an XML file
that is well-formed (i.e. that Oracle XMLSQL utility can
understand).
This convertion is much more difficult to do than the one I have
described above.
Are those two solutions correct ?
If yes, which one is the best in your opinion ?
Could you use XML Data with Oracle XML SQL utility ?
Is the DTD you have defined for this tool compiliant with XML
Data ?
If not why ?
I have not the tool from which I can get it but I would be
interested by the description of this DTD which is the best way
to see what I can do with this tool (and imagine a solution for
update if it cannot be easily done).
I would also be very interested in having the description of DTD
for Oracle iFS document descriptor files (as far I have
understood they are XML files) or an example of quite a complex
one so that I can I an idea of how it cold fit to my problem.
I have been really impressed by Oracle team very fast answer and
thank you very much for your help.
Regards,
C line.
Oracle XML Team wrote:
: LESCOP (guest) wrote:
: : Hello,
: : I have read the Oracle XML SQL Utility documentation and
also
: : the answer of Oracle team to Johnson Scott and as far as I
: : understand, the XML that is produced from the database and
: : loaded in it must verify a given DTD syntax.
: : Is this DTD available somewhere ?
: The output XML from the XML SQL Utility is in canonical form.
: There is a commandline option to have the corresponding DTD
: created on output.
: : What I have understood about XML Data of w3c is that it
gives
: a
: : way to describe the content of a database.
: : What is Oracle position on that subject ?
: The W3C Working Group charged with this tsk is the XML Schema
WG
: on which we are participating. Our position is supportive of
: this effort.
: : I do ask this question because we have at present an SGML
: file,
: : with its own DTD that contains data we have to
: : insert/delete/update in an Oracle Database.
: : We are thinking of converting this SGML file in an XML file,
: : with tools like OMNIMARK or BALISE, that could be easily
: : integrated in the Oracle Database.
: : We are looking for the best solution to our problem and
think
: : that Oracle tools like Oracle XML SQL, parserand Class
: generator
: : could be really usefull.
: : What do you think of this problem and of the solution we
: imagine
: Our current components will simplify your task. Currently,
: update is a bit more of a problem than insert and delete and
: would need to be handles at the application level for now.
: Oracle XML Team
: http://technet.oracle.com
: Oracle Technology Network
null -
I am building a report using xml data set from 3E database (elite software)
i have data displaying in my xml output, but when i pull field into the report and run it through the viewer it doesnt display anything. i have tried the table (dataaset) alone or joined to the main table.
any ideas????None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
- Ludek -
How to Convert internal table data into xml and xml data into internal tab
Hi Guys,
I have a requirement that i have to convert the internal table data into xml format and viceversa . for my requirement i came to know that i have to use Transformations concept. i done the converting the data from internal table into xml data by using standard Tranformations. My Question is
1) Can i use same Transformation to convert the xml data into abap internal table. if it is possible then how ???
2) Is it possible using the standard Transformation or I have to go for XSLT approach
Please help me out from this guys,
Thanks and Regards
KotiHi Koti,
This is possible. There is a link. With the help of this link you can convert ABAP data to XML and vice versa.
Link: http://www.heidoc.net/joomla/index.php?option=com_content&view=article&id=15:sapxslt&catid=22:sap-xslt&Itemid=31 -
I am trying to display XML data from a HTTPReqeust in a list
control. Here's my mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="aircrafts.send()">
<mx:Script>
<![CDATA[
import mx.collections.XMLListCollection;
import mx.rpc.events.ResultEvent;
[Bindable]
private var aircraftDp:XMLList;
private function aircraftXMLHandler(event:ResultEvent):void
aircraftDp = event.result.aircraft;
]]>
</mx:Script>
<mx:HTTPService id="aircrafts"
url="
http://localhost:8080/flysafe/aircrafts"
result="aircraftXMLHandler(event)"
resultFormat="e4x"/>
<mx:List x="10" y="53"
dataProvider="{aircraftDp}"></mx:List>
</mx:Application>
The REST service returns the following XML document:
<aircrafts>
<aircraft id='0' label='Cessna' href='
http://localhost:8080/flysafe/aircrafts/0'/>
<aircraft id='1' label='Piper' href='
http://localhost:8080/flysafe/aircrafts/1'/>
</aircrafts>
The List control is empty. I cannot figure out how to get the
right connection between the data provider and the xml returned by
the HTTPRequest.I figured it out. The data provider was set up correctly, but
I wasn't telling the listbox what to use for the label. Adding the
following attribute to the listbox fixed the problem.
labelField="@id" -
Procedure for using Webserices and XML data button
I am developing a report in xcelsius and I have huge data like 10000 records in my excel sheet for one report because of which the report performance is very bad as I am increasing the max. no of rows from 512 to 10000 .Is their any way I can make those records come dynamically to the excel sheet by using XML Data Button, or Web Services etc if yes how can I use this or is their any other way to accomplish this
As of now I am using the trial versron of XCELSIUS 2008 so can I use the option of webservices and XML in the trial version if so what I need to enter in WEbservice URL for trial versions
Can any body send me the step by step process of using webservices & XML when loading the data from excel to xcelsius
if I use these options when I select the source data do I need to select the entire 10000 records , if so then again my performance will be bad , so can any one help me out please
Thanks in advance
Regards,
SanyDynamic datasources for Xcelsius
http://resources.businessobjects.com/support/cx/samples/learning/downloads/ttv4-xml_data_button.pdf
unable to use web services
hope this helps you
good luck
Amr -
Create Report with CR4E and XML Data Source
Hi all,
I have a problem when create a report with CR4E that should use a XML data source. It is not possible to choose fields from the field explorer, because ther are no fields from the XML-file. Is there a general problem when using an ODA data source in CR4E? At the moment I can only create reports with a database as data source.
Please help me with a tip.
Thanks
ArnoldHi,
After Installing CR4E Version 2 the code snippet for creating a XML-report not works as JSP. Has anywhere a hint to resolve the problem or a complete JSP-file?
reportClientDocument = new ReportClientDocument();
java.lang.NoClassDefFoundError: com/crystaldecisions/reports/common/data/CrystalResultSet
com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.<init>(Unknown Source)
org.apache.jsp.XMLDataSource_jsp._jspService(XMLDataSource_jsp.java:64)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Thanks
Arnold Meier
Maybe you are looking for
-
When I go to my iMessage, it has me long in. I never logged out, but I can get to the part where it says "next" and I click that. then it will say verifying, but then take me back to the log in page and it doesn't tell my my username or password is w
-
Photos not appearing in 5800XM gallery
I've used the camera on my 5800xm a number of times, and have previously been able to view my photos in the gallery. Now all I get when I access the gallery is the "download video" and "download pictures" icons. All my pictures and all the default pi
-
How can I eliminate auto messages with Software Update
All, I constantly get popups for Software Updates, like several times a day and want to eliminate them. And/or select what software to update, as a lot of it is old that I don't have anymore. I've tried several option in the System Prefs but none see
-
Adobe acrobat RDS Requirements
Dear All, We have a slow printing issues with Adobe Acrobat on a RDS Windows 2012R2 Infrastructure. Can anyone tell me if Adobe Acrobat Standard XI is supported by Acrobat on Windows 2012R2 RDS. I cannot find any specific requirements required for Wi
-
Need a click and drag script for multiple layers.
Hi. I'm realitivly new to Flash and Action Script. For a Majour project school asignment i am trying to create an interactive map for a hypothetical theme park, and i'll cut to the chase, i need a script that allows the player to drag the content of