Extract using XPath

Hello

I have following XMLs in a column called XML_CLOB
< a: root >
< a: resources >
< a: bicycle >
< a: bikenum > 456 < / a: bikenum >
< / a: bicycle >
< / a: resources >
< a: resources >
< a: car >
< a: carnum > 123 < / a: carnum >
< / a: car >
< / a: resources >
< / a: root >

< b:root >
< b:resource >
< b:car >
< b:carnum > 789 < / b:carnum >
< / b:car >
< / b:resource >
< / b:root >

Now, I want to extract the carnum so my request is as shown below.

Select extractValue (XML_CLOB, ' //*[local-name()="resource"]/*[local-name()="car"]/*[local-name () = "carnum"]')
where existsnode (XML_CLOB, ' //*[local-name()="resource"]/*[local-name()="car"]/*[local-name () = "carnum"]') = 1;


It gives me an error saying that extractvalue can extract only a single node. The XPath is clearly refers to a node in the XML file.

I think that this is caused by two nodes of resources in the first XML document, but xpath should not be completely evaluated to detect duplicate nodes?

Thank you and best regards,
A

Still no version number? It is important concerning XMLDB features...

Prophet wrote:
I want to go get the first occurrence of each XML carnum, but this request is to launch the previous error that I posted.

It's not "pretty", but you can try:

select extractvalue(
        extract(xml_clob, '//*[local-name()="carnum"]')
        , '*[1]'
       )
from t
where existsnode(xml_clob, '//*[local-name()="resource"]/*[local-name()="car"]/*[local-name()="carnum"]') = 1;

Or, 10g and upward:

select xmlquery(
 'for $i at $pos in //*[local-name()="carnum"]/text()
  where $pos = 1
  return $i'
 passing t.xml_clob
 returning content
).getStringVal()
from t
;

Tags: Database

Similar Questions

  • copy of XSLT creates a xml that returns empty while trying to access the elements using XPATH

    Hello

    I'm doing a copy - of the function by using the XSLT in jdev. That's what I do

    < xsl: param name = "appdataDO" / >

    < xsl: template match = "/" >

    < ns1:applicationData >

    < ns1:applicationId >

    < xsl: value-of select = "$appdataDO / ns1:applicationData / ns1:applicationId" / >

    < / ns1:applicationId >

    < xsl: copy-of select = "/ fslo:ExternalapplicationData / fslo:ApplicationsHDRAddInfo" >

    < / xsl: Copy - of >

    < / ns1:applicationData >

    < / xsl: template >

    < / xsl: stylesheet >

    After that, I can see the document created in the flow of process like this:

    < ns1:applicationData >

    < ns1:applicationId > MMMM < / ns1:applicationId >

    < ns2:ApplicationsHDRAddInfo >

    < ns3:genericFromBasePrimitive > iuoui < / ns3:genericFromBasePrimitive >

    < ns4:EstimatedMarketValue > 77 < / ns4:EstimatedMarketValue >

    Jih < ns4:PropertyInsuranceFee > < / ns4:PropertyInsuranceFee >

    hjh < ns4:LoanOriginationFee > < / ns4:LoanOriginationFee >

    KKKKK < ns4:RegistrarFee > < / ns4:RegistrarFee >

    hjh < ns4:LoanCashInFee > < / ns4:LoanCashInFee >

    < ns4:LoanPaidInCashFlag > cddffgd < / ns4:LoanPaidInCashFlag >

    < / ns2:ApplicationsHDRAddInfo >

    < / ns1:applicationData >

    But whenever I am trying to extract all nodes output I get an empty result. I can copy the whole dataset in the same type of variable.

    But I am unable to get the individual elements using XPATH.

    I tried to use the exslt for all nodes and xslt 2.0 without success.

    Namespaces may be the culprit here. The test in the jdev method can produce a result, but during the execution, the xpath expression returns empty.

    I created another transformation where I try to copy the data from the DataObject precious a simple string in an another data object.

    This is the test sample source xml transformation created by jdev when testing with all the namespaces, where I try to copy the data into a simple string in an another data object.

    " < applicationData xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "xsi: schemaLocation =" http://xmlns.Oracle.com/bpmpa/FS/ulo/types file:/C:/JDeveloper/NewAPP/Xfrm/xsd/ApplicationData.xsd "xmlns =" http://xmlns.Oracle.com/bpmpa/FS/ulo/types "> "

    applicationId289 < applicationId > < / applicationId >

    < ApplicationsHDRAddInfo >

    " < genericFromBasePrimitive xmlns =" http://xmlns.Oracle.com/BPM/PA/Extn/types/BasePrimitive "> genericFromBasePrimitive290 < / genericFromBasePrimitive > .

    " < EstimatedMarketValue xmlns =" http://xmlns.Oracle.com/BPM/PA/Extn/headerCategories/ "> 291 < / EstimatedMarketValue > .

    " < PropertyInsuranceFee xmlns =" http://xmlns.Oracle.com/BPM/PA/Extn/headerCategories/ "> PropertyInsuranceFee292 < / PropertyInsuranceFee > .

    " < LoanOriginationFee xmlns =" http://xmlns.Oracle.com/BPM/PA/Extn/headerCategories/ "> LoanOriginationFee293 < / LoanOriginationFee > .

    " < RegistrarFee xmlns =" http://xmlns.Oracle.com/BPM/PA/Extn/headerCategories/ "> RegistrarFee294 < / RegistrarFee > .

    " < LoanCashInFee xmlns =" http://xmlns.Oracle.com/BPM/PA/Extn/headerCategories/ "> LoanCashInFee295 < / LoanCashInFee > .

    " < LoanPaidInCashFlag xmlns =" http://xmlns.Oracle.com/BPM/PA/Extn/headerCategories/ "> LoanPaidInCashFlag296 < / LoanPaidInCashFlag > .

    < / ApplicationsHDRAddInfo >

    < / applicationData >

    And the xslt transformation

    < xsl: template match = "/" >

    < ns1:DefaultOutput >

    < ns1:attribute1 >

    < xsl: value-of select = "/ fslo:applicationData / fslo:ApplicationsHDRAddInfo / custom: LoanOriginationFee" / >

    < / ns1:attribute1 >

    < / ns1:DefaultOutput >

    < / xsl: template >

    The result is an empty attribute1. Any help will be appreciated.

    Please remove attributeFormDefault = "qualified" elementFormDefault = "qualified" in your XSD

    Please visit the following link:

    http://www.oraclefromguatemala.com.gt/?p=34

  • XML data. Extraction of elements and attributes using Xpath or another?

    Hi experts,
    With the help of Oracle 11 g.
    I have an XML table that stores XML in a column (xml_col) like the structure below.
    Example:
    <measure id="abc">
      <data-elements>
        <data-element id="ab">
          <value>40</value>
        </data-element>
        <data-element id="cd">
          <value>8</value>
        </data-element>
        <data-element id="ef">
          <value>38</value>
        </data-element>
        <data-element id="gh">
          <value>32</value>
        </data-element>
      </data-elements>
    </measure>
    I tried constantly to run XPath queries on this column to get the node < element > attribute data and the value of the < value > node in.

    My goal is to turn this into a table of:

    AB | 40
    CD | 8
    EF | 38
    GH | 32


    My mind is stuck on him doing this below and dressing with a CSV file to query hierarchical lines. I can't convert xmltype in chain to do this work so.
    select str1,str2 from (
    select extract(xml_col, 'string-join(//@id, '','')') str1
    ,extract(xml_col, 'string-join(//value, '','')') str2
    from xml_temp_table)
    CONNECT BY LEVEL <= LENGTH (REGEXP_REPLACE (str1, '[^,]+')) + 1;
    But I get the following error:

    ORA-31011: XML parsing failed
    ORA-19202: an error has occurred in the processing of XML
    LPX-00607: Invalid Reference: "string-join".

    I am looking for a solution not PL.

    Any suggestion is appreciated.
    Thank you

    Published by: chris001 on February 26, 2013 12:06

    Published by: chris001 on February 26, 2013 12:07

    chris001 wrote:
    My mind is stuck on him doing this below and dressing with a CSV file to query hierarchical lines. I can't convert xmltype in chain to do this work so.

    Oh boy!

    This should relieve your pain ;)

    SQL> select x.*
      2  from xml_temp_table t
      3     , xmltable(
      4         '/measure/data-elements/data-element'
      5         passing t.xml_col
      6         columns element_id  varchar2(10) path '@id'
      7               , element_val number       path 'value'
      8       ) x ;
    
    ELEMENT_ID ELEMENT_VAL
    ---------- -----------
    ab                  40
    cd                   8
    ef                  38
    gh                  32
     
    
  • using XPath with SQL to extract XML data

    Given the data like this:
    <?xml version="1.0"?>
    <ExtendedData>
       <Parameter name="CALLHOLD"><BooleanValue>true</BooleanValue></Parameter>
    
      <Parameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="BARRING_PASSWORD" xsi:nil="true"/>
    
      <Parameter name="ALLCF"><BooleanValue>true</BooleanValue></Parameter>
    
      <Parameter name="RealProv"><BooleanValue>false</BooleanValue></Parameter>
    
    </ExtendedData>
    I usually use extractValue as shown below, for example function to extract the value for the last parameter in the above data, for example:
    select extractValue(extended_data,'/ExtendedData/Parameter[@name="RealProv"]/BooleanValue') "my_column_alias" from table
    Any ideas on how can I return the value of the parameter xsi: Nil for that node:
    <Parameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="BARRING_PASSWORD" xsi:nil="true"/>
    I would like to extract the
    true
    in
    xsi:nil="true"
    ...

    Thank you

    Published by: HouseofHunger on May 15, 2012 14:13

    Published by: HouseofHunger on May 15, 2012 14:13

    ExtractValue() has a third parameter, that we can use to declare the namespace mappings:

    SQL> with sample_data as (
      2    select xmltype('
      3  
      4    true
      5    
      6    true
      7    false
      8  ') doc
      9    from dual
     10  )
     11  select extractvalue(
     12           doc
     13         , '/ExtendedData/Parameter[@name="BARRING_PASSWORD"]/@xsi:nil'
     14         , 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
     15         )
     16  from sample_data
     17  ;
    
    EXTRACTVALUE(DOC,'/EXTENDEDDAT
    --------------------------------------------------------------------------------
    true
     
    

    If you are on 11.2.0.2 and upward, extractvalue() is obsolete.
    Must use XMLCast/XMLQuery instead:

    SQL> with sample_data as (
      2    select xmltype('
      3  
      4    true
      5    
      6    true
      7    false
      8  ') doc
      9    from dual
     10  )
     11  select xmlcast(
     12           xmlquery('/ExtendedData/Parameter[@name="BARRING_PASSWORD"]/@xsi:nil'
     13            passing doc
     14            returning content
     15           ) as varchar2(5)
     16         )
     17  from sample_data
     18  ;
    
    XMLCAST(XMLQUERY('/EXTENDEDDAT
    ------------------------------
    true
     
    

    Note: the prefix xsi is predefined when using Oracle's XQuery, so in this case we must explicitly declare.

    Published by: odie_63 on May 15, 2012 15:23

  • To loop through the structure of table - using xpath

    Hello

    My logic to BPEL process is as follows:
    a. extract the data in the variable - receiveMessageInputVariable
    The variable 'receiveMessageInputVariable' has in turn of the data in the table structure. (a set of elements)
    b. to transform the data to the target structure
    c. call the target of the link partner to store data in variable 'ServiceInputVariable '.
    The variable "ServiceInputVariable" structure is similar to "receiveMessageInputVariable".

    In the BPEL process "in the process of" level - I have catch-all exception handler - which must send the list of "elements" that failed in a BPEL proceeding.

    i. If my body of the email has the following code as below:
    < % bpws:getVariableData('receiveMessageInputVariable','XXINV_ITEM_PAY_ROW_TYPE','/ns4:XXINV_ITEM_PAY_ROW_TYPE/ITEMLINE/ITEMLINE_ITEM/ITEM_NUMBER') % >

    It recovers only the first record in the table item_number structure successfully. But don't get the other records in the table.

    II. Similarly, I want to print all the elements (such as received) to be available in the body of the email in the following model:

    < % ' Save a "% >
    < % bpws:getVariableData('receiveMessageInputVariable','XXINV_ITEM_PAY_ROW_TYPE','/ns4:XXINV_ITEM_PAY_ROW_TYPE/ITEMLINE/ITEMLINE_ITEM[1]/ITEM_NUMBER') % >
    < % ' < br / > "% >".
    < % 'Save two -' % >
    < % bpws:getVariableData('receiveMessageInputVariable','XXINV_ITEM_PAY_ROW_TYPE','/ns4:XXINV_ITEM_PAY_ROW_TYPE/ITEMLINE/ITEMLINE_ITEM[2]/ITEM_NUMBER') % >
    ....
    ..
    < % "Nth record" - % >
    < % bpws:getVariableData('receiveMessageInputVariable','XXINV_ITEM_PAY_ROW_TYPE','/ns4:XXINV_ITEM_PAY_ROW_TYPE/ITEMLINE/ITEMLINE_ITEM[N]/ITEM_NUMBER') % >

    Please suggest a syntax suitable in my body of the email - which can loop through all the itemline_item table and print all item_numbers.
    (pseudocode below)

    because me in 1... ORA: countNodes (bpws:getVariableData('receiveMessageInputVariable','XXINV_ITEM_PAY_ROW_TYPE','/ns4:XXINV_ITEM_PAY_ROW_TYPE/ITEMLINE/ITEMLINE_ITEM/ITEM_NUMBER'))
    loop
    < % ' article number-"% > < % bpws:getVariableData('i') % >".
    < % APO: getVariableData ('receiveMessageInputVariable', 'XXINV_ITEM_PAY_ROW_TYPE','/ ns4:XXINV_ITEM_PAY_ROW_TYPE/ITEMLINE/ITEMLINE_ITEM/ITEM_NUMBER')% >)
    end loop;


    Thank you
    Shakur

    Hi Shema

    Try the following approach. It can work for you

    1. create an XSD for HTML content








    2. create a XSL, can be that you must do manually, as JDev will not support transformations to HTML. This XSL will map your input XML to HTML file.
    3. create a variable in BPEL type in the XSD above
    4. use assign activity to assign the XSL transformation to the variable set to step #3


    5 copy the variable in the variable of email body



    Query = "" / EmailPayload/ns8: Content / ns8:ContentBody "/ >"

    Basically, the approach described above converts your entry to a value of string whose content is a complete HTML, and you'll use only one value to be assigned to the body of the email.

    Note: Please change the names of Variable/XPATH Expressions / / the name element from the XSL names etc. According to your BPEL file

    Hope this helps you

    Concerning
    LOC.

  • SQL statement to retrieve value from the attribute using XPATH

    Hi all

    I think this is the right place to post this request since it is related to oracle and xpath.

    I'm writing a sql statement of xpath that will extract the value of the column attribute is what type of clob data. Here is the xml example (xml_content is the column name)



    < RAFSCREEN >
    < Home >
    < clientnumber reference = "123123" >
    < / servant >
    < RAFSCREEN >



    I need to output query should return 123123.
    I'm using query

    Select extract (xmltype (xml_content), 'RAFSCREEN, Domestic, @clientnumber') as clientnumber from table_name

    It will be very useful if someone answer this question.
    Thank you

    It is Possible...

    10g> with form_content
      2  as
      3  (
      4  select 212 form_content_id , '    ' xml_content from dual union all
      5  select 222 , '    '   from dual union all
      6  select 223 , '    '   from dual union all
      7  select 224 , '    '   from dual )
      8  select form_content_id, extractValue(xmltype(xml_content),'/RAF/XBorderRAF/ReviewReferences/@clientLegalName') as clientnumber
      9  from form_content ;
    
    FORM_CONTENT_ID CLIENTNUMBER
    --------------- --------------------------------------------------------------------------------------------------------------------------------------------
    212      ABC123
    222      ZY123
    223      IN123
    224      NL123
    
    4 rows selected.
    

    Your request (you need)

    select form_content_id, extractValue(xmltype(xml_content),'/RAF/XBorderRAF/ReviewReferences/@clientLegalName') as clientnumber
    from form_content ;
    
  • time data between extraction using the database

    Hello

    I do datalogging with data 1 min interval, the logg data upward at 3 days, was preparing I use sql server, now I can't able to insert and extract data also plenty fast.  but I need to recover the data in the time specified and also a lot of wise.  could you tell me how to implement this?

    I downloaded a few vi ni.com, but his does not work...

    send me if possible example vi

    Hi DP Baro,

    See this link please

    http://vyaskn.tripod.com/searching_date_time_values.htm

    It shows how you can find date and time values. You can combine them. I don't really know if you can solve the interval of 5 minutes with her, but you can get definitifly the beach, you need. You can then filter the latest data in LabVIEW.

    See also this link for your second question

    http://www.mssqlcity.com/articles/compare/sql_server_vs_access.htm

    Mike

  • Extract using regex

    I want to extract everything after the sign = underneath and not able to get to the regex expression

    Select double regexp_extract_sp('rstyl=conductors','[=]*',1,1)

    gives me rstyl.  I want to get leaders such as the o/p

    Any suggestion please

    I don't know what made your regexp_extract_sp function.

    But you can use regexp_replace to remove everything from the beginning of the string up to and including the first =

    Select double regexp_replace('rstyl=conductors','^[^=]*=');

    If there is no second = in the chain (guaranteed!), then the same can be accomplished using

    regexp_replace ('rstyl = conductors',' ^. * =')

  • recovery of extracts using ExtractPreviews.lua.zip

    Hello world

    I use Mac, LR 4

    I lost my imagine and trying to find the clips that I ' VE FACT THAT INSTRACTION SAYS about the use of extract previews BUT TRAORE IS NO manuscript DOWN in THE TOP MENU, as shown in the photo on the Adobe Web site.»

    I placed unziped ExtraPrevies.lua in the folder scripts (i.e. the Lightroom folder of file backups LR 3 Catalog.Ircat LRseting, 4 Catalog.Ircat LR, LR 4 catalog. Irdata and a few temporary files)

    Please what to do? why its not showing? I was quiting LR and restart the Mac.

    BTW, I've heard of exporting Preview - LR Plugin (here: robcole.com - PreviewExporter ) u already tried that?

    thx for the help

    Brats wrote:

    I have "VE FACT WHAT INSTRACTION SAID, BUT TRAORE IS No. scripts DOWN in THE UPPER MENU.

    You can (almost certainly) have missed a step, or one of the steps done incorrectly.

    This page has another set of instructions, that you can try:

    robcole.com - MiscLrScripts

    That said, it might be easier (and better) to use PreviewExporter. It has the advantage of leaving your images with the appropriate color, metadata, to the appropriate disk folder and in your catalog.

    Rob

  • NodeList by using xpath problem - help

    Hi all

    I am new to oracle XML and could you please help me with the below 2 queries.

    (* 1) * below xml, I am unable to extract the part highlighted (specific node) of < ns2:IssueRatings > to < / ns2:IssueRatings >, I tried below after online help, but I have in vain

    v_xmltype_variable: = EXTRACT (belowxml,'/ ns2:IssueRatings ',' xmlns:ns2 = "http://namespace.worldnet.ml.com/DataSOA/Rat/Rat_v1_2/" ');

    Please let me know the right query. It has something to do with the namespace.

    (* 2) * how can I retrieve the value individual Baa1 from IssueRatings/Moore/long term/CurrentRating & S.G. of IssueRatings/Moore/short term/CurrentRating.

    -XML STARTS

    <? XML version = "1.0" encoding = "UTF-8"? >
    < SOAP - ENV:Envelope xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" container = "http://www.w3.org/2001/XMLSchema".

    xmlns:SOAP - ENV = 'http://www.w3.org/2003/05/soap-envelope' >
    < SOAP - ENV:Body >
    < ns0:Response xmlns:ns0 = "http://namespace.worldnet.ml.com/Common/Service_v1_0/" >
    < ns1:EDSHeader xmlns:ns1 = "http://namespace.worldnet.ml.com/EDSHeader_v1_0/" >
    < ns1:Service > Publish_Rating_Svc_v2_0 < / ns1:Service >
    < ns1:TimeStamp > 2009-03-13 T 14: 55:04Z < / ns1:TimeStamp >
    < ns1:Identifiers >
    < ns1:PrimaryIdentifier >
    < ns1:IDType > CUSPY < / ns1:IDType >
    < ns1:IDValue > 81818818 < / ns1:IDValue >
    < / ns1:PrimaryIdentifier >
    < / ns1:Identifiers >
    < / ns1:EDSHeader >
    < ns1:ProtocolHeader xmlns:ns1 = "http://namespace.worldnet.ml.com/ProtocolHeader_v1_0/" >
    < ns1:PublishSubscribeHeader >
    < ns1:PublishTopic > DATASOA. Update.V2_0.income.agencies.v1_2 < / ns1:PublishTopic >
    updated < ns1:PublishEvent > < / ns1:PublishEvent >
    < / ns1:PublishSubscribeHeader >
    < / ns1:ProtocolHeader >
    < ns1:Output xmlns:ns1 = "http://namespace.worldnet.ml.com/DataSOA/Pub_Rat_Svc_v2_0/" >
    < ns2:Rating xmlns:ns2 = "http://namespace.worldnet.ml.com/DataSOA/Rat/Rat_v1_2/" >
    < ns2:Identifiers >
    < ns2:BloombergCUSPY > 81818818 < / ns2:BloombergCUSPY >
    < ns2: CUSPY > 81818818 < / ns2: CUSPY >
    < ns2: EVEN > US81818818 < / ns2: EVEN >
    < / ns2:Identifiers >
    < ns2:Classifications >
    < ns2:IssueType > MUNIBND < / ns2:IssueType >
    < / ns2:Classifications >
    < ns2:Issuer >
    < ns2:IssuerName > DTD ISSUES MARINA FACS AUTH REV 01/02/93 SEE MORE LATER 575851 2001 ISSUESDTD SUBSEQUENT DEADLINES
    PRI < / ns2:IssuerName >
    < / ns2:Issuer >
    * < ns2:IssueRatings > *.
    * < ns2:Moore > *.
    * < ns2:LongTerm > *.
    * < ns2:UpdateDate > 20090313 < / ns2:UpdateDate > *.

    * < ns2:IssueName > MASSACHUSETTS GOVERNANCE FAC EDUCATION. < / ns2:IssueName > *.

    * < ns2:IssueDescription > MASSACHUSETTS HEALTH EDUCATIONAL FACILITIES AUTH < / ns2:IssueDescription > *.

    * < ns2:Seniority > IRB < / ns2:Seniority > *.

    * < ns2:Currency > $ < / ns2:Currency > *.

    * < > 20081107 ns2:RatingDate < / ns2:RatingDate > *.

    * < Baa1 ns2:CurrentRating > < / ns2:CurrentRating > *.

    * < ns2:RatingDirection > DNG < / ns2:RatingDirection > *.

    * < / ns2:LongTerm > *.
    * < ns2:ShortTerm > *.
    * < ns2:UpdateDate > 20090301 < / ns2:UpdateDate > *.

    * < ns2:IssueName > MASSACHUSETTS GOVERNANCE FAC EDUCATION. < / ns2:IssueName > *.

    * < ns2:IssueDescription > MASSACHUSETTS HEALTH EDUCATIONAL FACILITIES AUTH < / ns2:IssueDescription > *.

    * < ns2:Seniority > IRB < / ns2:Seniority > *.

    * < ns2:Currency > $ < / ns2:Currency > *.

    * < > 20081107 ns2:RatingDate < / ns2:RatingDate > *.

    * < ns2:CurrentRating > S.G. < / ns2:CurrentRating > *.

    * < ns2:RatingDirection > DNG < / ns2:RatingDirection > *.

    * < / ns2:ShortTerm > *.
    * < / ns2:Moore > *.
    * < ns2:Fisher > *.
    * < ns2:NotFound > cannot find Fitch rating < / ns2:NotFound > *.

    * < / ns2:Fisher > *.
    * < ns2:SPIC > *.
    * < ns2:LongTerm > *.
    * < ns2:UpdateDate > 20090303 < / ns2:UpdateDate > *.

    * < Massachusetts Hlth Ed College Auth ns2:IssueName > < / ns2:IssueName > *.

    * < ns2:Seniority > MUNIDEBT < / ns2:Seniority > *.

    * < ns2:RatingDate > 20090302 < / ns2:RatingDate > *.

    * < ns2:CurrentRating > AA - / A-1 + < / ns2:CurrentRating > *.

    * < / ns2:LongTerm > *.
    * < ns2:ShortTerm > *.
    * < ns2:UpdateDate > 20090303 < / ns2:UpdateDate > *.

    * < Massachusetts Hlth Ed College Auth ns2:IssueName > < / ns2:IssueName > *.

    * < ns2:Seniority > MUNIDEBT < / ns2:Seniority > *.

    * < ns2:RatingDate > 20090302 < / ns2:RatingDate > *.

    * < ns2:CurrentRating > a-1 + < / ns2:CurrentRating > *.

    * < / ns2:ShortTerm > *.
    * < / ns2:SPIC > *.
    * < / ns2:IssueRatings > *.
    < / ns2:Rating >
    < / ns1:Output >
    < / ns0:Response >
    < / SOAP - ENV:Body >
    < / SOAP - ENV:Envelope >

    -XML ENDS

    I think you can leave the back / off the coast of the XPath expression for "ns2:IssueRatings /", but yes, which will return a fragment of XMLType in l_part_xml. I have not test your statement, but it seems OK for me.

  • Whole extract using ABM

    Hello world

    How do I whole person to decimal using ATMs and different functions. For example, if I have 15.5, how can I get 15? Pleace advice. Thunks.

    Miguel_Schultz

    Miguel,

    Unfortunately the data types and functions/operators that can be used in expressions of the ABM are not as developed in a programming language. You can't cast values and there are currently no floor/ceiling functions. Take a look at the section mathematical Expression in the reference of the SPICES in Multisim helps you to learn everything that can be used in expressions.

    A solution is to make a quantifier by using the table function. For example,.

    table (v (1), 0,0,0.9999,0,1,1,1.9999,1,2, 2)

    be (1) v values at 0,1,2

    You can also use the component VOLTAGE_CONTROLLED_PIECEWISE_LINEAR_SOURCE of Sources/Controlled_Voltage_Sources family. This component does the same job as the function table.

    Thank you

  • Change the display format of date / time when using Xpath

    How /process_data/@create_time in Xpath can be formatted to display in the form of 30-08-2016 T 22: 50:50Z instead of 2016-08-30 T 22: 50:50Z?

    {$format-dateTime-withFormat (/process_data/ @create_time, ' MM-DD-YYYY HH: mm: a ') $}

  • consistent extract using rows (simple question)

    could someone answer the question:

    When you use first_rows optimization apose to all_rows

    ... in general why allways I see more consistent gets?

    Any help appriciated

    Are you perhaps using FIRST_ROWS but then fetch all lines?

  • Extraction using the date: old and: news in the triggers

    Hello

    I'm exeuting everything by retrieving a field and a trigger date help: OLD and: NEW variables, it leaves the game time stamp.

    "for example, the value real start_date field in the table is 12 October 2005 19:04:25 ', but when I use: NEW.start_date, it returns only 12 October 2005.
    How do I return the timestamp also?

    Thank you.

    :) Oracle implicit conversion / comparison I guess, try this and let me know the result.

    DECODE(:NEW.start_date,:OLD.start_date,CAST(NULL as date),:NEW.start_date)
    

    Here's an illustration of what I'm trying to say.

    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    
    SQL> select decode(sysdate,sysdate-1,CAST(NULL as date),sysdate) from dual;
    
    DECODE(SYSDATE,SYSDATE-1,CAST(
    ------------------------------
    12-May-2010 12:11:50 PM
    
    SQL> select decode(sysdate,sysdate-1,NULL,sysdate) from dual;
    
    DECODE(SYSDATE,SYSDATE-1,NULL,
    ------------------------------
    12-MAY-10
    
    SQL> 
    

    Published by: mohamed on May 11, 2010 23:42

  • Nested Application Module not get extracted using findApplicationModule

    Hi all

    The scenario is that,

    1. I added a region to a seeded OAF page from create item customization.
    2 I extended a shared region in this area added.
    3. the shared region has a different AM assigned to that RootAM.
    4 AM sharing this region becomes nested in RootAM of the page according to the directives of the Dev Guide OAF (R12 - Chapter 3-> Application Module - Pg117).

    Now, since shared region h gets nested under rootAm. I should be able to do rootam.findApplicationModule ("sharedRegionAM") of the seeded OAF page controller.

    But when I do that it returns a null object. Can someone throw a light on it.

    More details-
    I use the full qualified class AM AM Defination property name. as (XX.oracle.apps.per.selfservice.appraisal...)
    I tried to add the same value in AM property Defination of region shared as well as the newly created customization region.

    Thanking you in advance
    Harish

    Published by: user624185 on October 9, 2008 04:57

    Published by: user624185 on October 9, 2008 04:58

    Hello

    According to the code will be useful for you...

    OAWebBean customRegion = (OAWebBean) webBean.findChildRecursive ("customRegion");
    Newam = (OAApplicationModule) pageContext.getApplicationModule (customRegion) OAApplicationModule;

    Thank you...

Maybe you are looking for

  • Firefox is breaking Web site

    Hey there! I'm working on a site and it looks good in other browsers, but Firefox is breaking. The site is http://thefabme.com/. Let me enumerate all the items that are in violation: 1. the text in the blog circle moves upward. 2. the search magnifyi

  • Update in Windows Vista Home Premium to Vista Ultimate

    Hi all I'm trying to upgrade my windows Vista Home premium to ultimate and I have the original CD for the ultimate, but when I put the CD and to upgrade it won t upgrade and it gives me this message:"- The upgrade cannot be started. To upgrade, cance

  • Satellite M40 & Atheros ar5005g problem with Atheros client utility

    HelloMy computer laptop Satellite M40 (PSM44) with adapter minpci wifi Atheros AR5005g have this version of the driver:Atheros wlan driver 3.1.2.45i120Atheros client utility 3.1.2.45i132.This version of the driver supports WPA but not WPA2. I upgrade

  • Where can I get windows 7/Vista?

    Hi, I have a computer that is running windows 7, and I want to restore it to factory settings, but I need a recovery image. You can get one a download of microsoft with the original product key, except that my computer came originally installed with

  • Keys keyboard typing last letter typed

    Just upgraded my HP's Vista 64 for Windows 7 laptop. Wired keyboard base was working fine under Vista. After the upgrade, the key numbers and special characters] work in Microsoft Word, but do not work online. [The HP laptop keyboard is having the sa