Extract attributes

I have a very simple piece of xml:
<?xml version="1.0" encoding="UTF-8"?>
<MyData Matches="3">
  <Match My_code="101" />
  <Match My_code="102" />
  <Match My_code="103" />
</MyData>and what I am after is a list of the My_code attributes, as a list of numbers. i.e.
101
102
103Closest I can get is using extract, but that gives me a single string of xmltype :- 101102103. Extractvalue gives "ORA-19025: EXTRACTVALUE returns value of only one node".
I'm sure this is pretty simple, but I'm having some kind of mental block this afternoon! Thanks.

I've managed to find a solution:
SELECT   (EXTRACTVALUE (match.COLUMN_VALUE, '/Match/@My_code')) MY_CODE
  FROM   XMLTABLE ('/MyData/Match' PASSING xmltype('<?xml version="1.0" encoding="UTF-8"?><MyData Matches="3"><Match My_code="101" /><Match My_code="102" /><Match My_code="103" /></MyData>')) match;

Similar Messages

  • How can i extract attributes from XML-file

    Hi!
    I want to extract XML-files.
    And the most tags are no problem,but how can i extract attributes?
    Here is a part from the XML-Schema:
    <xs:complexType name="ATT_LIST">
              <xs:sequence>
                   <xs:element name="ATTRIB" minOccurs="0" maxOccurs="unbounded">
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name="VALUE"/>
                             </xs:sequence>
                             <xs:attribute name="ATTNAM" use="required"/>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
    Thanks for help.
    With best regards.
    Nicole

    Hi!
    If i delete one '/' i get the error message:
    data can't be found'
    This is my xml-file:
    <?xml version="1.0" encoding="UTF-8"?>
    <INSOBJ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sv6:8080/sys/schemas/SCOTT/sv6:8080/public/mydocs/inspection_pda_schema.xsd">
         <INSP_PDA>
              <SYSID>900000438</SYSID>
              <INSPECTOR/>
              <INSDAT>20001223</INSDAT>
              <INSOBJ_TYP>MSP-Mast</INSOBJ_TYP>
              <INSOBJ_ID1>BAM / Bad Aussee / Bad Mitterndorf/Grundlsee</INSOBJ_ID1>
              <INSOBJ_ID2>MITTERNDORF 2 - M 259</INSOBJ_ID2>
              <INSOBJ_ID3>239</INSOBJ_ID3>
              <INSOBJ_NAME>259</INSOBJ_NAME>
              <PDA_PORTION>0000000391</PDA_PORTION>
              <GESQUALITAET/>
              <AUSFALLSEINSCH/>
              <ANMERKUNGEN/>
              <LAGE_NORD>48,2281993</LAGE_NORD>
              <LAGE_OST>14,2394658</LAGE_OST>
              <HOEHE/>
              <GPS_STATUS/>
              <KOORD_SYSTEM/>
              <KOORD_EINHEIT/>
              <PLZ/>
              <ORT/>
              <STR_ORTSTEIL/>
              <NUMMER/>
              <BEZEICHNUNG/>
              <GRUNDBESITZER/>
              <TELENR/>
              <ERREICHBARKEIT/>
              <ATT_LIST>
                   <ATTRIB ATTNAM="BAUWEISE">
                        <VALUE>E-Mast</VALUE>
                   </ATTRIB>
                   <ATTRIB ATTNAM="HOLZART">
                        <VALUE>KIEFER</VALUE>
                   </ATTRIB>
              </ATT_LIST>
              <MZ_LIST>
                   <MAS_ZU MZ_NAM="AUSHOLZEN">
                        <VALUE>J</VALUE>
                        <BEMERKUNG/>
                        <INSP_AM/>
                        <INSP_VON/>
                        <DONE_AM>N</DONE_AM>
                        <DONE_VOM/>
                        <URSACHE>2</URSACHE>
                        <DRINGLICH>2</DRINGLICH>
                        <ZIEL_DAT/>
                        <MZ_PARAM_LIST/>
                   </MAS_ZU>
                   <MAS_ZU MZ_NAM="ALLGEMEIN-ANMERKUNG">
                        <VALUE>2 Isolatoren</VALUE>
                        <BEMERKUNG/>
                        <INSP_AM/>
                        <INSP_VON/>
                        <DONE_AM/>
                        <DONE_VOM/>
                        <URSACHE>2</URSACHE>
                        <DRINGLICH/>
                        <ZIEL_DAT/>
                        <MZ_PARAM_LIST/>
                   </MAS_ZU>
                   <MAS_ZU MZ_NAM="Stange erdfaul/hohl">
                        <VALUE>J</VALUE>
                        <BEMERKUNG/>
                        <INSP_AM/>
                        <INSP_VON/>
                        <DONE_AM/>
                        <DONE_VOM/>
                        <URSACHE/>
                        <DRINGLICH/>
                        <ZIEL_DAT/>
                        <MZ_PARAM_LIST/>
                   </MAS_ZU>
                   <MAS_ZU MZ_NAM="Masttyp nicht normgerecht">
                        <VALUE>J</VALUE>
                        <BEMERKUNG/>
                        <INSP_AM/>
                        <INSP_VON/>
                        <DONE_AM/>
                        <DONE_VOM/>
                        <URSACHE/>
                        <DRINGLICH/>
                        <ZIEL_DAT/>
                        <MZ_PARAM_LIST/>
                   </MAS_ZU>
              </MZ_LIST>
         </INSP_PDA>
         <INSP_PDA>
              <SYSID>900000437</SYSID>
              <INSPECTOR/>
              <INSDAT>20001223</INSDAT>
              <INSOBJ_TYP>MSP-Mast</INSOBJ_TYP>
              <INSOBJ_ID1>BAM / Bad Aussee / Bad Mitterndorf/Grundlsee</INSOBJ_ID1>
              <INSOBJ_ID2>MITTERNDORF 2 - M 259</INSOBJ_ID2>
              <INSOBJ_ID3>239</INSOBJ_ID3>
              <INSOBJ_NAME>259</INSOBJ_NAME>
              <PDA_PORTION>0000000391</PDA_PORTION>
              <GESQUALITAET/>
              <AUSFALLSEINSCH/>
              <ANMERKUNGEN/>
              <LAGE_NORD>48,2281993</LAGE_NORD>
              <LAGE_OST>14,2394658</LAGE_OST>
              <HOEHE/>
              <GPS_STATUS/>
              <KOORD_SYSTEM/>
              <KOORD_EINHEIT/>
              <PLZ/>
              <ORT/>
              <STR_ORTSTEIL/>
              <NUMMER/>
              <BEZEICHNUNG/>
              <GRUNDBESITZER/>
              <TELENR/>
              <ERREICHBARKEIT/>
              <ATT_LIST>
                   <ATTRIB ATTNAM="BAUWEISE">
                        <VALUE>E-Mast</VALUE>
                   </ATTRIB>
                   <ATTRIB ATTNAM="HOLZART">
                        <VALUE>KIEFER</VALUE>
                   </ATTRIB>
              </ATT_LIST>
              <MZ_LIST>
                   <MAS_ZU MZ_NAM="AUSHOLZEN">
                        <VALUE>J</VALUE>
                        <BEMERKUNG/>
                        <INSP_AM/>
                        <INSP_VON/>
                        <DONE_AM>N</DONE_AM>
                        <DONE_VOM/>
                        <URSACHE>2</URSACHE>
                        <DRINGLICH>2</DRINGLICH>
                        <ZIEL_DAT/>
                        <MZ_PARAM_LIST/>
                   </MAS_ZU>
                   <MAS_ZU MZ_NAM="ALLGEMEIN-ANMERKUNG">
                        <VALUE>2 Isolatoren</VALUE>
                        <BEMERKUNG/>
                        <INSP_AM/>
                        <INSP_VON/>
                        <DONE_AM/>
                        <DONE_VOM/>
                        <URSACHE>2</URSACHE>
                        <DRINGLICH/>
                        <ZIEL_DAT/>
                        <MZ_PARAM_LIST/>
                   </MAS_ZU>
                   <MAS_ZU MZ_NAM="Stange erdfaul/hohl">
                        <VALUE>J</VALUE>
                        <BEMERKUNG/>
                        <INSP_AM/>
                        <INSP_VON/>
                        <DONE_AM/>
                        <DONE_VOM/>
                        <URSACHE/>
                        <DRINGLICH/>
                        <ZIEL_DAT/>
                        <MZ_PARAM_LIST/>
                   </MAS_ZU>
                   <MAS_ZU MZ_NAM="Masttyp nicht normgerecht">
                        <VALUE>J</VALUE>
                        <BEMERKUNG/>
                        <INSP_AM/>
                        <INSP_VON/>
                        <DONE_AM/>
                        <DONE_VOM/>
                        <URSACHE/>
                        <DRINGLICH/>
                        <ZIEL_DAT/>
                        <MZ_PARAM_LIST/>
                   </MAS_ZU>
              </MZ_LIST>
         </INSP_PDA>
    </INSOBJ>
    Thanks for help.
    With best regards
    Nicole

  • How to extract Attribute Value from a DBC file with LabWindows and NI-XNET library

    Hi all,
    For my application, i would like to feed my LabWindows CVI Test program with data extracted from *.dbc file (created by another team under Vector CANdb++).
    These files contains all CAN frame definition
    and also some extra information added to :
    Message level,
    Signal level,
    Network Level
    These extra information are set by using specific ATTRIBUTE DEFINITIONS - FUNCTIONALITY  under Vector CANdb++
    The opening of the DataBase works under NI-XNET DataBase Editor as in LabWindows using: nxdbOpenDatabase ( ... )
    No attribute seems be displayable under the NI-XNET DataBase Editor (it's not a problem for me)
    Now, how, using the NI-XNET API and CVI, be able to extract these specially created attributes ?
    Thanks in advance.
    PS : In attached picture, a new attribute called Test_NI, connected to a message
    Attachments:
    EX1.jpg ‏36 KB

    Hi Damien, 
    To answer your question on whether the XNET API on LabWindows/CVI allows you to gain access to the custom attributes in a DBC file, this is not a supported feature. The DBC format is proprietary from Vector. Also, custom attributes are different for all customers and manufacturers. Those two put together make it really difficult for NI to access them with an API that will be standard and reliable.
    We do support common customer attributes for cyclic frames. This is from page 4-278 in the XNET Hardware and Software Manual : 
    "If you are using a CANdb (.dbc) database, this property is an optional attribute in the file. If NI-XNET finds an attribute named GenMsgSendType, that attribute is the default value of this property. If the GenMsgSendType attribute begins with cyclic, this property's default value is Cyclic Data; otherwise, it is Event Data. If the CANdb file does not use the GenMsgSendType attribute, this property uses a default value of Event Data, which you can change in your application. "
    Link to the manual : http://digital.ni.com/manuals.nsf/websearch/32FCF9A42CFD324E8625760E00625940
    Could you  explain us the goal of this attribute, and what you need it on your application.
    Thanks,
    Christophe S.
    FSE East of France І Certified LabVIEW Associate Developer І National Instruments France

  • Extracting attribute value works in 9i, but not in 10g

    Hello,
    My XML goes as following:
    <msg:msg xsi:schemaLocation="http://www.scala.net/ScaInternalMsg/1.1 http://scshost/schemas/Scala/ScaInternalMsg.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:msg="http://www.scala.net/ScaInternalMsg/1.1">
    <msg:req tag="Customer Invoice In">
    <msg:ers><msg:error type="logic error"><msg:number>8004AA0E(-2147177970)</msg:number>
    in Oracle 9i (9.2.0.6) it worked fine when we were extracting the attribute of "msg:error" tag
    declare
    xDATA clob := <xml definition from above>
    xt XMLTYPE;
    result varchar2(512);
    begin
    xt := XMLType(xDATA)
    result := xt.extract('//msg:error[1]//@type').GetStringVal();
    end;
    and it returns the attribute "logic error"
    but in 10g (10.2.0.2.0) that same line
    result := xt.extract('//msg:error[1]//@type').GetStringVal();
    gives error :
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: '//msg:error[1]//@type'
    if you could help, i'd be very thankful
    Janno

    You need probably the namespace parameter in extract function:
    michaels>  select d.xml.extract
              ('//msg:error[1]/@type',
               'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:msg="http://www.scala.net/ScaInternalMsg/1.1"'
              ).getstringval () xml
      from (select xmltype
                      ('<msg:msg xsi:schemaLocation="http://www.scala.net/ScaInternalMsg/1.1 http://scshost/schemas/Scala/ScaInternalMsg.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:msg="http://www.scala.net/ScaInternalMsg/1.1">
    <msg:req tag="Customer Invoice In">
    <msg:ers><msg:error type="logic error"><msg:number>8004AA0E(-2147177970)</msg:number>
    </msg:error>
    </msg:ers>
    </msg:req>
    </msg:msg>') xml from dual) d
    XML                                                                                                                      
    logic error                                                                                                                
    1 row selected.
    michaels>  select * from v$version
    BANNER                                                         
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production                         
    CORE     10.2.0.3.0     Production                                     
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production        
    NLSRTL Version 10.2.0.3.0 - Production                         

  • Extracting Attribute set CRM  to BW

    Hi All,
    Need some information i.e
    For creating a target groups in Campaign management we have four data sources
    i.e Att set,Infocube,Elm.
    I read some document for creating a target group using Infocube,
    In doucment they mention using transaction code PVBW we extracting the attribute set to the BW,
    Can send me brief explanation why we are extracting att set to BW Wht exactly happen in BW & how Att set will come back to CRM (For creating target group)
    Thanks
    Sathish

    Thank's for your answer Gaurav, we have the connection between the systems,
    and we created the source system and then we chose replicate datasources from the context menu of the source system.
    It was ok?
    What else we have to do?
    I read [here|Extracting data from CRM source to BW/BI; that is necesary to install a plug in CRM  to achieve the communication between the systems, is that correct? what plug in do we need?
    Edited by: karinastolen on Sep 30, 2011 12:20 AM

  • Extracting attributes from a pdf file

    Hi,
    I would like to extract some of the information that is stored at attributes to a pdf file.
    I have seen other threads on the same subject and one suggested the use of DDX which, as far as I understand, is some kind of markup language.
    The only problem is that I do not know if that option is still available since the DDX homepage seems to have shut down a year and a half ago.
    Hence, I am not sure their products are available at the market any more and if so - which one to use (there seemed to be at least seven different products from DDX).
    Is there any other solution available which could provide the same result (i.e. an extraction of the data in the attribute fields of the pdf-file) ?
    Cheers
    /Hal

    If you're referring to the XMP metadata (subject, author, creation date, etc.) then provided the PDF file isn't totally-encrypted*, it's in plaintext at the end of the file. Just parse the file and look for the start of the XML structure block, which will begin with the tag "<x:xmpmeta".
    In a very large file, given you know the string is at the end, it's sensible to read from the end rather than the start.
    *If the file is encrypted, metdata can be left in plaintext depending on the choice made by the user on the encryption dialog.

  • Extracting attributes from XML document using plsql

    Hello,
    I have successfully written a plsql procedure that has been
    using Xpath to extract the element values from an XML doument:
    i.e.
    l_xpath := '/Form_Data/Person_Details/Initials';
    l_DomNodeList := xslprocessor.SelectNodes(l_RootNode, l_xpath);
    l_DomNode := xmldom.item(l_DomNodeList,0); -- first Element
    l_DomNode := xmldom.getfirstchild(l_DomNode);
    l_id_number := xmldom.getNodeValue(l_DomNode);
    However the data (Initials) I wish to extract is now stored as
    attributes within the Person_Details element and I was wondering
    how I would go about explicitly extracting the attributes values!
    I have not been able to find any examples, although I have been
    pointed in the direction of xmldom.getattribute without any
    success!
    Any help, or code examples greatly appreciated,
    - Mark...

    example:-
    xpath.VALUEOF(i_doc,v_PricingPath||'@LockIndicator');

  • Report or table to extract attributes linked to a user

    Hi all,
    I am looking for a standard report that I can use in order to extract the CAT attributes of my users.
    For sure it is possible one by one with FM BBP_READ_ATTRIBUTES but I need it for some hundred users.
    Is there a way without a z-report?
    Thanks and best regards
    AD

    Hi,
    Useful links:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/srm/codeSample2-Reporttodisplayuserattributes
    Re: standard program/FM/Table which lists all user ids and their attributes
    BR,
    Deepti.

  • XMLSequence and extract attribute

    Hi all,
    From this XML :
    <execute-transaction app-ref="SRSRSimpleMult" app-sn="458" login="CARNI">
         <context key="Env:LOGIN" value="CARNI"/>
         <context key="Env:APP_SN" value="458"/>
         <context key="Env:APP_REF" value="SRSRSimpleMult"/>
    </execute-transaction>I would like to extract all the "key" attribute...
    The following select returns the good result but all is in 1 row :
    select extract(XMLTYPE('<execute-transaction app-ref="SRSRSimpleMult" app-sn="458" login="CARNI">
         <context key="Env:LOGIN" value="CARNI"/>
         <context key="Env:APP_SN" value="458"/>
         <context key="Env:APP_REF" value="SRSRSimpleMult"/>
    </execute-transaction>'),'*/context/@key') FROM DUAL;So I use XMLSequence (and not XMLTable because I'm still on Oracle 10g1) but the following select returns nothing
    select COLUMN_VALUE FROM table(xmlsequence(extract(XMLTYPE('<execute-transaction app-ref="SRSRSimpleMult" app-sn="458" login="CARNI">
         <context key="Env:LOGIN" value="CARNI"/>
         <context key="Env:APP_SN" value="458"/>
         <context key="Env:APP_REF" value="SRSRSimpleMult"/>
    </execute-transaction>'),'*/context/@key')));However if I simply remove the "@key" in the XPath expression, the select gives me back a good result ! (but with the context tag that I don't care)
    Can someone tell me why the SELECT doesn't return a result when the xpath expression contains the "@key" attribute ?
    Thx

    select xt.*
    FROM  table(xmlsequence(extract(XMLTYPE
                        ('<execute-transaction app-ref="SRSRSimpleMult" app-sn="458" login="CARNI">
                            <context key="Env:LOGIN" value="CARNI"/>
                            <context key="Env:APP_SN" value="458"/>
                            <context key="Env:APP_REF" value="SRSRSimpleMult"/>
                          </execute-transaction>')
                                   , '/execute-transaction/context'))) xt;
    COLUMN_VALUE
    <context key="Env:LOGIN" value="CARNI"/>
    <context key="Env:APP_SN" value="458"/>
    <context key="Env:APP_REF" value="SRSRSimpleMult"/>
    3 rows selected
    select rownum as "ROW"
         , extract(value(xt),'/context/@key') as "RESULT"
    FROM   table(xmlsequence(extract(XMLTYPE
                         ('<execute-transaction app-ref="SRSRSimpleMult" app-sn="458" login="CARNI">
                             <context key="Env:LOGIN" value="CARNI"/>
                             <context key="Env:APP_SN" value="458"/>
                             <context key="Env:APP_REF" value="SRSRSimpleMult"/>
                            </execute-transaction>')
                                     , '/execute-transaction/context'))) xt;
    ROW RESULT
      1 Env:LOGIN
      2 Env:APP_SN
      3 Env:APP_REF
    3 rows selectedEdited by: Marco Gralike on Mar 30, 2011 12:43 PM

  • How to extract attribute value from an XML

    I have column where all my diffrent structures of XML's are getting stored. I want extract a patticular attribute value from all the XML’s. Can any one help me with this?
    Thanks,
    swagath

    Kindly refer to the EXTRACTVALUE function in your online documentation and refrain from further doc questions.
    Sybrand Bakker
    Senior Oracle DBA

  • Unable to extract attributes associated with entity dimension using HAL

    Hi All,
    I am using HAL to extarct an entity dimension (metadata) and its associated attributes.
    for attributes I am using ListElements with GetElements.
    The HAL integration is working good but it is giving me only the first part of attribute for example
    if the attribute is ALLOC:1245 I am getting only ALLOC.
    did anyone face similar problem.
    Thanks and regards,
    Dornakal.
    www.dornakal.blogspot.com
    Edited by: Dornakal on Jan 26, 2009 2:39 PM

    Do you have to use HAL? How about the outline extractor from Applied OLAP?

  • Generic Extraction: Attributes/Texts

    Dear Friends,
    I need any one of your experience/views on my following mistake.
    1) I have created a Text Data Source using "Attribute" data source radio button and used for my texts by mistake. (RS02->Master Data Attributes, instead of RS02->Texts).
    I have no issue in pulling the data and deltas..
    Will I have any problem while transportation (or) at any place.. will i miss any thing?
    Thanks for your time.
    regards,
    Hari

    hi hari,
    That should not be a problem. We are here using the master data generic extractor datasource for the Transaction data
    No issue you can go ahead.
    Regards, Siva

  • Essbase Metadata ATTRIBUTE Extraction

    Hi Everyone,
    Anyone have any luck exporting Essbase (BSO) hierarchy attribute information? I have the Essbase Dimension extraction working, but getting an error on the Attribute process.
    Appreciate your thoughts -- let me know if anyone has had any success with this.
    -Chris

    Hmm... I was just able to Export my Essbase Attribute Dimension Hierarchy with Star Analytics Integration Services (SIS) in about 5 minutes. So I know the extraction of Attribute hierarchies is possible. The cool thing was SIS created its own table to do this and it was user friendly. Very cool extraction utility -- far superior than the OLAP Extraction tool.
    Has anyone had success using ODI to extract Attribute Dimension Hierarchies? I hope so because I'd like to use ODI to do this step. Was hoping to see a John Goodwin blog on this or something by Cameron Lackpour.
    We're also installing Patch 12529600: ORACLE DATA INTEGRATOR 10.1.3.6.8 CUMULATIVE PATCH this weekend and maybe that might help get beyond the erorr we're hitting.
    -Chris Rothermel
    P.S. My Attribute Dimension Extract is failing with the following message
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 89, in <module>
         at com.hyperion.odi.essbase.ODIEssbaseMetaReader.validateSourceMetadata(Unknown Source)
         at com.hyperion.odi.essbase.ODIEssbaseMetaReader.validateExtractOptions(Unknown Source)
         at com.hyperion.odi.essbase.AbstractEssbaseReader.beginExtract(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    java.lang.NullPointerException: java.lang.NullPointerException
    ---

  • TREX python extension for HTML attribute extraction

    How is the TREX python extension for HTML attribute extraction supposed to work?
    I activated this extension and indexed an HTML document containing:
    <HTML>
    <HEAD>
    <META content="debian, GNU, linux, unix" name=Keywords>
    <HEAD>
    <HTML>
    Why when submitting the query "unix" this document is not found by the system?
    (TREX version 6.1.11.02)
    Davide

    The trick doesn't work on my system (TREX v. 6.1.11.02).
    1) This is the edited line in getDCAttributes.py:
    knownAttributes = ['description','Keywords']
    2) Only the HTML Attribute Extractor extension is activated in extensions.py. In particular, the Dublin Core extension is deactivated.
    3) This is the pythonextension section of TREXPreprocessor.ini:
    extensiontype= beforeHTTP
    4) This is the parametrization of the newly created property in CM:
    <i>Unique ID: html_keywords
    Description: not set
    Property ID: Keywords
    Namespace Alias: trilog
    Type: String
    Group: html
    Mandatory: not checked
    Multi-Valued: not checked
    Read Only: not checked
    Maintainable: not checked
    Indexable: checked
    Default Value: not set     
    Allowed Values: not set
    Key for Label: not set
    Meta Data Extension: not set
    Folder Validity Patterns: /
    Document Validity Patterns: /
    Resource Types: not set
    Mime Types: not set
    Default Sorting     Ascending: not set
    Label Icon: not set     
    Hidden: not checked
    Dependencies: not checked
    Additional Metadata: not set
    Property Renderer: not set
    Virtual: not checked
    Composed of: not set
    Comparator Class: not set</i>
    5) I've added this property in the parameters <i>Allowed Predefined Properties</i> and <i>Predefined Properties</i> under <i>Content Management -> User Interface -> Search</i>
    6) Now it's possible to filter by the <b>Keywords</b> predefined property in the Search UI, but no matches are ever found.
    7) No significant message is found in PythonExtension.log:
    # running global extensions.py at Tue Jul 12 11:13:03 2005
    ### import getHtmlAttributes
    # running global extensions.py at Tue Jul 12 11:13:04 2005
    ### import getHtmlAttributes
    8) I've run another test <b>activating the Dublin Core extension</b> in extensions.py as well, and setting extensiontype to beforeLEXICON in TREXPreprocessor.ini. Nevertheless it didn't work.
    9) Here's some DC extension's output:
    ### Parse document with key: '/davide_test/attributi/GNU_Emacs.htm'
    ### extracted attributes: []
    This is the GNU_Emacs.htm's <head>:
    <META content=emacs name=keywords>
    Cheers, Davide

  • Error while extracting values from SOAP Body using XPath (Retrieve from Message filter)

    Hi,
    I am using 'Retrieve from Message' filter to extract element value from the following SOAP response envelope:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:math="http://example.com/math.xsd">
    <soapenv:Header/>
    <soapenv:Body>
    <math:DivideResponse>
    <iResult>10</iResult>
    </math:DivideResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    I am using the XPath expression - /soapenv:Envelope/soapenv:Body/math:AddResponse/iResult
    soapenv = http://example.com/math.xsd
    math = http://schemas.xmlsoap.org/soap/envelope/
    ERROR
    4/19/15, 19:29:03.016
    Empty attribute retrieved from message via XPath
    ERROR
    4/19/15, 19:29:03.016
    The message [Id-59643455b76a00000000000045edd6a6] logged Failure at 04.19.2015 19:29:03,015 with log description: Failed to extract attributes via XPath
    ERROR
    4/19/15, 19:29:03.017
    Retrieve math result from SOAP response
    Could you please help me resolve it?
    Thanks,
    Aneesh.

    Hi Aneesh,
    XPath Expression: /soapenv:Envelope/soapenv:Body/math:DivideResponse/iResult
    You are using AddResponse in your XPath there is no element named like that.
    Cheers,
    Stefan

Maybe you are looking for

  • Trouble Reinstalling Photoshop CS on Windows XP

    I recently installed Macromedia Dreamweaver 4  and firework 4 (Trial Version) and after few days I deleted both the program. But now my Adobe Photoshop CS that I had working before is not working. I deleted the program as I do have an original CD and

  • DatabaseMetadata.getProcedure - MS SQL REMARK location?

    Hey all, Using the DatabaseMetaData.getProcedures() method to retrieve sprocs. I would like very much to use the procedure REMARK column, but I do not understand where to place this information in MS SQL 2005 for each sproc. Does anyone know please?

  • N80 Bluetooth connection problems

    Hi, i really am hoping someone can help i have been a big Nokia fan for a long time but have lately owned Motorola and sony ericson, but i have just bought the Nokia N80, which i have to say is the best phone i have owned yet, but i have a big proble

  • Invoice Reduction Accounting Entry Inccorrect

    Dear all; Here I have created one PO For 100 material , I have Done MIGO for 10 material Now I am doing the MIRO Transaction For that PO Paralley i am doing the "Invoice Reduction" the vendor Invoice amount is 500 while the actual PO amount is 100. N

  • Adding Font to Font Book

    I am unable to get Apples Font Book to add new fonts (through normal processes). Any sudggestions? Bud