Any documention available on XML DB Queries?

Hi,
I was searching to find some documentation and examples on queries to retrieve the data from XMLType Coloumns.
The problem is I found some documentation which has examples on how to retrieve data from plain XML.
But my XML's are different as they have more than one namespace in each xml so normal xpath queries doesn't work on namespace based xmls.
Would appreciate if someone help me.
Thanks

Depending upon what documentation you've looked at, the answer may have been presented, just not shown as a clear example.
If you look at ExtractValue documentation, you will notice a third parm. This is where you put namespace information from the XML that the XPath uses. You don't need to put all your namespaces from the XML, just the ones that your XPath references. This third parm also exists for Extract and resides in a different format for XMLTable, as shown in the FAQ for this forum.
As a simple example of how it looks, here is a sample query using two namespaces
WITH base_t AS
(SELECT XMLTYPE('<a:root xmlns:a="http://madeup.com/a" xmlns:b="http://madeup.com/b">
<b:child>hi</b:child></a:root>') tab_col
   FROM DUAL)
SELECT extractValue(tab_col,'a:root/b:child','xmlns:a="http://madeup.com/a" xmlns:b="http://madeup.com/b"') rslt
  FROM base_t;You can also do
SELECT extractValue(tab_col,'//b:child','xmlns:b="http://madeup.com/b"') rslt
  FROM base_t;which shows just using the one namespace.
And since I was at it, here is the XMLTable version
SELECT x.rslt
  FROM base_t,
       XMLTABLE(XMLNAMESPACES('http://madeup.com/a' AS "a",
                              'http://madeup.com/b' AS "b"),
                '/a:root'
                PASSING base_t.tab_col
                COLUMNS 
                rslt VARCHAR2(5)  PATH 'b:child') x;Hope all that helps.

Similar Messages

  • Is any documentation available for OBIEE Spatial analytics sample??

    Hi All ,
    We are currently working on creating a  demo wherein we want to enable users to drill on various hierarchies over world map. We are trying to achieve the same using SampleApp (v305) but have hit some roadblocks.
    We could not find a document that explains the relationship between the tables of the Spatial Schema. Is there such documentation available?
    We are unable to understand how is spatial data created and how to represent common sales analytics data using spatial data?
    Is there any document explaining the steps taken to build the sample application map reports?
    Is there a way to alter/customize spatial data based on specific requirements i.e. Interchanging certain cities within States etc?
    Any help on the above issue ???

    It is out now
    http://developer.microsoftband.com/

  • OIC: How does the projected commission work in quoting? Does it migrated from Quoting to Sales Order? Is there any documentation available?

    We are working in a project where they need to calculate commission "on the fly" according to the princing discount they gave to the customer on a quote (Oracle Quoting). As once confirmed the quote turn into a sales order in OM we would like to know if it (project commission) migrate to the sales order.?
    Thanks in advance for your help!

    Calamulus wrote:I completely agree; my confusion arises from the fact that the wiki has forever stated that the ondemand governor works like the conservative one by adjusting the frequency between all speeds available
    It does. But like litemotiv says, it only does so for brief moments. Because most of the time it's more beneficial to switch to highest freq, so the job is done as fast as possible, allowing to cpu to go to idle as soon as possible.
    Calamulus wrote:This can mislead users into thinking (like I did for about 3 years, if it turns out the wiki is mistaken) that by selecting ondemand they get the functionality that is actually offered by conservative instead.
    It is the same functionality. It's just that ondemand is better at it. Conservative was only created for some buggy amd processors which had trouble with fast switching, so it shouldn't be used. Unless you have one of those old amd processors of course.

  • Is there any documentation on Peoplesoft CRM 9 HelpDesk SLA's?

    Hi,
    Is there any documentation available on Peoplesoft CRM 9.0 HelpDesk about Service Level Agreements for internal employees?
    We are looking into implementing Service Level Agreements on the Help Desk module for internal clients (employees). I am looking for any sort of documentation which would help me understand the current out of the box functionality of Service Level Agreements relating to how t functions for internal clients. Any assistance would be appreciated
    Thanks
    Elana

    Please verify the below online PeopleBook help for CRM9.
    http://download.oracle.com/docs/cd/E12341_01/crm9pbr0_run2/eng/psbooks/index.htm
    Thank you!
    Best Regards
    Soundappan

  • Is there any documantation available on ADF java script?

    Hi,
    In my project i dealing with too many clientside functions, i am very happy if there any documentation available on the same.
    please let me know anybody come across any documentation on ADF specific javascript.
    thank you in advance,
    Dinil

    Hi,
    the FMW docs (http://download.oracle.com/docs/cd/E15523_01/index.htm) also contain a reference to the JavaScript API. Note that the recommendation is to use javaScript by exception. The Web Developer Guide - chapter 5 and others - contain JavaScript examples
    Frank

  • Is there any API available to read drm files in ios devices?

    Hi,
    I am ios developer and trying to read DRM files using my app.
    I want to know is there any API available for the same.
    Thanks in Advance.

    Hi Prathap,
    No, there is no Java API specific for RDF functionality available. However, Java client applications can use JDBC to access the RDF store. A partially relevant post is at How do you query Oracle RDF database using Java program? . The JDBC documentation will have detailed documentation on using JDBC.
    Code snippets for one way of accessing SDO_RDF_MATCH through Java is below:
    <..........>
    sbStmt.append("select * from TABLE( ")
    .append(" SDO_RDF_MATCH('(?S ?P ?O)',")
    .append(" SDO_RDF_Models('")
    .append( <model_name> )
    .append("'),")
    .append("null,null,null))")
    .append(" where rownum <= ")
    .append(iNumRows)
    ResultSet rs = stmt.executeQuery(sbStmt.toString());
    while (rs.next()) {
    System.out.print("\n");
    System.out.print(rs.getString("S"));
    System.out.print(" (");
    System.out.print(rs.getString("S$RDFVTYP"));
    System.out.print(") ");
    System.out.print(", ");
    System.out.print(rs.getString("P"));
    System.out.print(" (");
    System.out.print(rs.getString("P$RDFVTYP"));
    System.out.print(") ");
    System.out.print(", ");
    System.out.print(rs.getString("O"));
    System.out.print(" (");
    System.out.print(rs.getString("O$RDFVTYP"));
    System.out.print(") ");
    <............>
    <...... handling CLOB values that are returned ....>
    // read CLOB if applicable
    Reader reader = null;
    try {
    CLOB clob = ((OracleResultSet) rs).getCLOB("O$RDFCLOB");
    if (clob == null) {
    System.out.print("not a long literal ");
    else {
    reader = clob.getCharacterStream();
    char[] buffer = new char[1024];
    // reading 1K at a time (just a demo)
    int iLength = reader.read(buffer);
    for (int i = 0; i < iLength; i++) {
    System.out.print(buffer);
    System.out.print(" ...");
    finally {
    if (reader != null) reader.close();
    <..........>

  • Is there any documentation/notes for managing wrong transactions happend

    Hi
    Please let me know, is there any help/notes/documentation available for oracle apps 11i, which will help us to manage wrong data entries/transactions (already happened) that will affect costing/AP/AR/GL Postings. And provides some suggestions on how to make corrections or go about it.
    Thanks in advance
    Prem.

    https://websmp203.sap-ag.de/smb/sbocustomer/documentation
    get into the link and u can get on info abt all related to release.
    Regards,
    Dhana.

  • Is there any documentation on the BC Data Centre's?

    Hi,
    I have been a premium reseller of BC for over two years but I am struggling to find any documentation about the BC Data Centre's. I have not been asked before but I am launching a delegate Registration Microsite for Symantec and as with all larger companies their procurement process requires evidetiary documentation to be supplied.
    Specifically they are asking for specification or documentation on:
    ISO 27001 certificate and Network Penetration test information.
    Any help or guidance to this information would be greatly appreciated.
    Cheers
    Rob

    Hi Sidney,
    Thanks for the helpful responses. I have had some progress with my queries and have now recieved PCI compliance documentation that BC sent through after your suggested ticket. Moving forward, I think that the shift to AWS will resolve all certification and compliance issues - I imagine this doesn’t come up too often with a product that is aimed firmly at SME’s.
    My issue arose as I work for SME’s who in turn work for Blue Chips. Companies like Symantec, Sony & Canon all have extremely stringent procurement procedures even though they are budget conscious and the inference of documentation falls down the chain to us the technical supplier – the National Account Managers and Product managers just set up the deals and promotions and the legal/financial teams then throttle everyone with paperwork. They have simply been told that any websites which contain staff information must reach a very high standard of security and auditory compliance which is understandable but cannot be answered with ‘well its Adobe… of course they are secure!’.
    I will follow up to the community when I have finished my research and have a result!
    Thanks
    Rob

  • Any documents available on Installing Primavera P6 Analytics

    Dear All,
    Do we have any detailed documentation available in installing P6 Analytics. Our OBIEE is installed on Solaris.
    Best Regards
    Manohar

    were you able to find any document? if yes can you please provide me the same.

  • Is VSTA 2012/2013 officially supported? Any documentation/samples?

    Hi,
    We are looking for replacement for APC SDK 7.1 that we are currently using.
    I have found some downloads for "Visual Studio Tools for Applications" 2012 and 2013.
    http://www.microsoft.com/en-ca/download/details.aspx?id=30668
    http://www.microsoft.com/en-us/download/details.aspx?id=44212
    Are they official products? Are they supported by Microsoft or anybody else?
    I searched MSDN Subscription for VSTA 2012/2013 and nothing come up. I also searched msdn library for VSTA documentation and the only one available is v2.0 for Visual Studio 2008.
    http://msdn.microsoft.com/en-CA/library/cc175562(v=vs.90).aspx
    Is there any documentation in addition to VSTA Sample Host Integration.docx?
    Is there any C# sample on how to integrate it to the app and how to bind it to the application object?
    Thanks,
    Anna.

    "FAQ inr VSTA" presented by
    Xiaoying Guo
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/68ca7a8d-b49e-48c9-96c0-f438ce66b74b/frequently-asked-questions-faq-in-vsta?forum=vsta

  • Any documentation on newer transactions

    I am in security for my company and have been tasked to find out if we are using the correct transactions for certain processes. Specifically, I am to find any newer transaction for F-02, F-41, F-43, and FB0* transactions.
    For example in F-41the account type is defaulted to KG. As long as the user executing the transaction does not have access to other account types, GL, etc this is fine. However, the finance people want a transaction that does not give the option to chenge the account type. Does this make sense.
    I have found FB60 and FB65 that suffices for one requirement. I know they are going to want to look at others as well.
    Is there any documentation on best practices, new transactions, etc?
    Thank you.

    Hi,
    With every release, you have documentation which will explain the updates of this release (including new transactions). I'm not aware of any available document which will summarize all the updates which were made during the recent releases.
    Regards,
    Eli

  • APIs for Parsing JRA Recording Files (Any documentation?)

    Hi,
    I have a JRF recording file with me and using which i need to generate custom report using any scripting language like PERL or Ruby etc without using JRocket Mission Control. here in my custom script i can use any APIs provided by JRocket to parse JRA recording file and get different statistics data.
    So here i want to know what all APIs does JRockit provides for parsing JRA recordings and getting different statistics data from JRF recordings which can be consumed by some other scripting language and NOT through JRockit Mission Control.
    Please share any documentation link or document having detail of available APIs from JRockit for parsing JRA recordings and getting different statistics data.
    Thanks,
    Piyush

    Just in addition to my previous comment.
    I have JRA flight recording files with me for parsing.
    Thanks,
    Piyush

  • Date rules editor - file format documentation availability

    Hi,
    In CRM date management there is a feature that allows definition of automatic date determination, e.g. contract end date = contract start date + 90 days.
    To access date editor you may call SM30 with view V_TIMERUNA, 2x click on date rule and an editor is launched with XML file that looks like that:
    <?xml version="1.0"?>
    <SAPTimeRule>
       <TimeRuleTree>
       <!-- Begin of Rule Tree -->
          <ruleline>
          <!-- Begin of new LINE -->
             <AssignTimeExp displaytype="AssignTime">
             <!-- Assign time -->
                <VarTimeExp displayType="VarTime"
                                   name="RESULT"
                               position='B'>
                <!-- Variable: Time -->
                </VarTimeExp>
                  <MoveTimeExp displaytype="MoveTime" direction="+">
                  <!-- Move -->
                <ConstLocTimeExp displaytype="ConstLocTime"
                              date="now"
                              time="000000"
                              timeunit="DAY">
                   <VarObjectExp displaytype="VarObject" name="SYSTEM"/>
                </ConstLocTimeExp>
                     <ConstDuraExp displaytype="ConstDura"
                                      duration="6" timeunit="MONTH">
                     <!-- Constant Duration -->
                        <VarObjectExp displaytype="VarObject"
                                      name="SYSTEM"/>
                        <!-- Variable: Timeobject -->
                     </ConstDuraExp>
               </MoveTimeExp>
             </AssignTimeExp>
          </ruleline>
       </TimeRuleTree>
    </SAPTimeRule>
    This feature is mentioned in SAP CRM online help, but it does not include any details of XML syntax to be used, meaning of tags, etc.
    I was unable to find any documentation of this file format in help.sap.com or service.sap.com.
    Has anyone come across a specification of the file format to define Date Rules in SAP CRM?

    Hello experts,
    Could you also send me a copy of the documentation? My email address is [email protected]
    Thanks in advance!
    Or paste the link please
    Message was edited by: Javier Merino Vivar

  • How to convert existing FM to DITA 1.2? Any documentation?

    I watched a webinar posted on the adobe website called "How to Optimize content for smooth migration into XML/DITA" and in the conversion, it showed an element called dita (root) and elements called topic before the main content. I took a class in DITA authoring last month and we learned about elements such as reference and then refbody and concept and conbody. The class I took did not go into how to use DITA in FrameMaker which is what I need to figure out now.
    I'm using FM 10. I have a conversion table that is working pretty well, however, I understand that I need to import an EDD and a template into the files I convert.
    My questions are:
    What template and EDD file do I use? There are so many of them in the Adobe\AdobeFrameMaker10\Structure\xml\DITA_1.2\app folder. In the DITA folder there are folders for concept, and reference and task that look correct. However, in the DITA_1.2 folder I have no idea where to start.
    Is there any documentation for DITA_1.2 for FrameMaker 10? Or books or Help or anything for someone new to using DITA in FrameMaker. I looked at the FM 10 Help for DITA, but it does not really cover when you are converting existing documents, just creating new topics.
    Thank you for any information you can provide.
    Karene

    Hello,
    Hoepfully, I understand your questions correctly. Once converted to DITA (regardless of version), each file with have a DOCTYPE. That will be the root element in the file. For example:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "technicalContent/dtd/task.dtd"
    In this file, the doctype is <task>. After DOCTYPE you have the public identifier followed by the DTD. FrameMaker uses all this info to determine what template to open the file in, what DTD to parse against, and what read/write rules file to use.
    Unlike DITA 1.1, which uses one EDD and template, DITA 1.2 uses multiple template and EDDs. If you open the Application Definition file by selecting StructureTool > Edit Application Definitions, you can find the template, DTD, and r/w rules filesthat are associated with each doctype. For example:
    $STRUCTDIR\xml\DITA_1.2\app\technicalContent\dtd\task.dtd
    This says, the DTD for doctype <task> is, by default, here:
    C:\Program Files (x86)\Adobe\AdobeFrameMaker10\Structure\xml\DITA_1.2\app\technicalContent\dtd\task.dtd
    As for the template, it is here
    $STRUCTDIR\xml\DITA_1.2\app\technicalContent\template\task.template.fm
    C:\Program Files (x86)\Adobe\AdobeFrameMaker11\Structure\xml\DITA_1.2\app\technicalContent\template\task.t emplate.fm
    You want to get the Structured Application Developers Guide. I am not sure there is one for FM10, but the one for FM9 will work.
    http://help.adobe.com/en_US/FrameMaker/9.0/StructuredDev/Structure_Dev_Guide.pdf
    It's not a quick and easy learning process for developing and EDD. The out-of-the-box EDD does have a lot of formatting covered. It says in the EDD that not everything is covered. For example, I think it only has two levels of bullet <ul> and numbered lists <ol> covered.
    As I mentioned FM uses multible EDDs. Each top-level EDD uses several levels of nested EDDs (text insets). It is set up in much the same way as the DTDs. It makes editing the EDDs a time-consuming process.
    Hope this helps,
    Stan

  • Prime NCS 1.2 Documentation Available?

    I've started playing with a NCS Appliance that we recently received in our lab environment.
    However, when I run the SHOW VER, I'm getting that it shipped with 1.2. This is fine and I would like to keep the NCS on 1.2, as it works with our WLC and MSE existing firmware editions.
    My issue is that I can't seem to find any documentation on the Cisco Library for 1.3, it appears 1.1 is the most recent available.
    Should I use the 1.1 documentation or is there any 1.2 documentation available? Any links would be much appreciated.
    Sent from Cisco Technical Support iPhone App

    Oh I see.
    Ok so QQ - since I'm studying currently for my CCNP Wireless, I've seen the study material reference WCS. I was then informed that the study material was not up to date, so anything I read about WCS was applicable to NCS as it replaces WCS.
    So now are you saying anything I've read about WCS is applicable to Prime?
    So when I say "Prime" and "NCS" I'm speaking of 2 different appliances?
    Just for my final clarification, Prime is the replacement of NCS?
    Sent from Cisco Technical Support iPhone App

Maybe you are looking for