How do I retrive date field using Xpath

How do I retrive data,which is in date format in XML file using XPath query.
If this is not possible, Is there any other alternative?
Bye

Hi,
If suppose my xml file is like this,
<Xml>
<DataSet>
     <BirthDate>1-Sep-1980</BirthDate>
     <BirthDate>6-Aug-1982</BirthDate>
     <BirthDate>3-Sep-1981</BirthDate>
     <BirthDate>12-Jan-1985</BirthDate>
     <BirthDate>1-Sep-1979</BirthDate>
</DataSet>
</Xml>
If I want to retrive Data,BirthDate between 1-Jan-1981 and 1-Jan-1984
How do I do that?
If it is not possible directly,Is there any other alternative?
Bye

Similar Messages

  • I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically. Can some one out there help me?

    I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.

    Update automatically under which circumstances, exactly?

  • How to add the date field in the dso and info cube

    Hi all.
    I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
    Thanks & Regard
    KK

    my prob is solved
    KK

  • How to convert a date field with format (dd,mm,yyyy) to format (mm,dd,yyyy)

    Hello.
    How to convert a date field with format (dd,mm,yyyy) to format (mm,dd,yyyy)
    I have text field which has a databind to a date field. When I click on it, we can select the date, it is added on the format (dd,mm,yyyy). When I want to insert this date field to a database It doesnu2019t allow me to do it because it will only accept date field on the format (mm,dd,yyyy)
    I tried to store this format on a date variable and I get a message saying that is impossible to convert a string into a date.
    Regards,
    Jose

    Hi Jose,
    usually you format strings in c# like
    string.Format("{0:yyyyMMdd}", insertyourstring);
    in your case
    string.Format("{0:MM/dd/yyyy}", insertyourstring);
    [look here|http://idunno.org/archive/2004/14/01/122.aspx]
    there are more details
    if everything fails split the string with Mid()
    or ask me
    lg David

  • How to set the data fields column wide at sqlplus

    Dear Sir/Madam
    I would like to know how to set the data fields column wide at sqlplus
    Thanks
    Francis

    see
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm#sthref1131
    and the FORMAT clause of the COLUMN command in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12013.htm#BACHCABF

  • How to work on Data Analysis using Stored procedures

    How to work on Data Analysis using Stored procedures any suggestions 

    Carefully?  Precisely?  Tomorrow?  Your question has no context so it means little to an outside reader. Perhaps you should start with some basic research into the data mining features of sql server:
    data mining homepage

  • How to find Maximum of a date field using BEx

    We are trying to just display the maximum of a date field in a BEx report along with some fixed text .
    If we need to create a formula using Maximum function , how to use the same?
    For ex, we have a field "Flight Date" in the cube and cube has been updated with flight date till 10.09.2006.
    we want to display in the BEx report something like "Flight details are available only till <maximum of the flight date field from the cube>"
    Please help.

    Srilakshmi,
    Create a formula on the data and then sort the query on the date , that way the latest date would come on top. I am not sure if you can have something the way you have described..
    an option could be :
    Have a query on the cube with a condition of top date where the date could be a formula , this way you would get the latest date. se this as a value set to filter another query that displays only the date and nothing else , have some static text beside the query to indicate that this is the latest date.
    Hope it helps..
    Arun
    Assign points if helpful

  • How to show a date field in OIM self-registration page

    Hello gurus,
    I want to add a date field in the self-reg page. I added lines in FormMetaData.xml and tjspSelfRegistrationTiles.jsp. The user creation page (delegated administration) shows the right date field, but the self-reg page is not working. I am using uix.tld dateField tag and don't know what attributes to pass to this. Is this the right tag or there is some other one in the tld, and what attributes should I pass?
    Could someone tell me how to do this?
    Thanks
    SK

    It should be much simpler than what you are doing.
    You should be able to create a User Defined Field for the value. Then update the FormMetaData.xml file. Create an entry in the section for user information that creates the attribute value. Just copy one of the existing and give it a new unique number identifier. Also change the field it references to be your user defined field. Then update the Self Registration section to include the new attribute. If you want to update what the approver sees, then also update the section for the approver.
    -Kevin

  • How to insert/update Date field in Oracle with java code

    Dear All
    I have to insert/update a date column while creating a new item, but the problem is i am able to insert/update only date but i need both date and time along with AM/PM.
    By using these 3 lines i am able to insert/update only date.
    java.util.Date date = new java.util.Date();
    long dateLong = date.getTime();
    stmtPrep.setDate(33, new java.sql.Date(dateLong));
    Below code retrives the date exactly what i need but unable to pass in the statement:
    DateFormat formatter = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss a");
    java.util.Date d = (Date) new java.util.Date();
    String stringdate = formatter.format(d);
    String tmpdate = dateFormat();
    stmtPrep.setString(33, tmpdate); -- I tried with setObject as well but same error coming.
    Error is:
    ORA-01830: date format picture ends before converting entire input string
    Can u guide me how to get full date time with AM/PM?

    sasikrishna wrote:
    Dear All
    I have to insert/update a date column while creating a new item, but the problem is i am able to insert/update only date but i need both date and time along with AM/PM.
    By using these 3 lines i am able to insert/update only date.
    java.util.Date date = new java.util.Date();
    long dateLong = date.getTime();
    stmtPrep.setDate(33, new java.sql.Date(dateLong));That's by design. A java.sql.Date object matches an SQL DATE column (which doesn't include a time component). If you want something which matches an SQL TIMESTAMP colum (which includes both date and time components) then you should use a java.sql.Timestamp object.

  • How to register User custom field using PHP?

    Hi!
    I am looking for a way to share user specific data between connected users. For example, all participants should know each other IDs(our own system IDs, not LCCS).
    User's custom fields looks the best solution for this, but I can't find a way to register one using PHP, while creating room.
    How to register User's  custom field using PHP? Or may be there are better solution to make such things?

    Got it, just need to add new node to UserManager collection.
    const USER_MANAGER_COLLECTION = 'UserManager';
    static private $USER_MANAGER_CUSTOM_FIELD_CONFIGURATION = array(
       'accessModel'=>self::ROLE_VIEWER,
       'publishModel'=>self::ROLE_VIEWER,
       'persistItems'=>true,
       'modifyAnyItem'=>false,
       'userDependentItems'=>true,
       'sessionDependentItems'=>false,
       'itemStorageScheme'=>self::STORAGE_SCHEME_MANUAL,
       'allowPrivateMessages'=>true,
       'lazySubscription'=>false,
       'p2pDataMessaging'=>false
    const USER_INVITE_ID_CUSTOM_FIELD = 'inviteId';
    static private function createUserManagerCustomFields($room){
       $account = self::init();
       $collection = self::USER_MANAGER_COLLECTION;
       $account->subscribeCollection($room, $collection);
       $account->createNode($room, $collection, self::USER_INVITE_ID_CUSTOM_FIELD, self::$USER_MANAGER_CUSTOM_FIELD_CONFIGURATION);

  • Error  in mapping data fields using BODS Designer

    HI All
    I am trying to map the data from excel sheet to SAP ECC 5.0 using Business Objects data services Designer .
    However after mapping the data Fields when i try to do the Validation It is giving me the error message :
    u201D(Data Flow:New_data Flow) (Query:Query) FROM: The input schemas are not specified for <Query.Queryname >u201D
    If anybody has experienced the same error in the past Please let me know how to resolve this error.
    Thanks in Anticipation

    Hello,
    Please check your "From" tab whether it is having the input table name is there or not. also check the mapping tab it should gives you "Schema.field"  format.
    Kindly revert with your findings.
    thx
    Deep

  • How to make Birth date field (GBDAT) under IT0002 Personal data editable

    Hello Consultants,
    We had initially  Birth date field (GBDAT) under IT0002 Personal data editable ...But after upgrade is made non editable...
    We want to make it editable again..
    Kindly suggest how we can proceed abt this....

    Hi Anju,
    1. Go to PA30 >> Infotype 0002 >> On Date of Birth Field >> Enter F1 and find the Technical Parameter and idenfity which Screen is being Used... say for Eg: MP000200 / 2010
    2. Go to Feature P0002 in PE03 and then identify the Return code for the Molga and Co. Code.
    This Return feature is nothing but the Variable Key. Say for Example: 10
    3. Now Go to SM30 >> T588M.....
    3. Idenfity the Screen that you found in the  step 1 and Variable Key you found in Step 2.
    i.e. MP000200 / 2010 / 10
    5. Double Click on that record and Find the Screen Field P0002-GBDAT... this has been set to Output Field... change it to Standard and it will work.
    Hope this helps !!!
    Kumarpal Jain.

  • There are a sample for loop data out using xpath-querie?

    hello,
    i have a web service that contains multiple rows. i transfered these data in a variable tInput. Now i want to transfer these data in a output variable.
    Is There a sample or tutorial, that shows how to loop data out of a variable (array) in a
    second variable using xpath-querie?
    regards,
    rala

    Hi,
    thanks for the Link, but it doesn't work at all.
    I have a variable tOutput with follow content:
    tOutput>
    <part name="parameters" >
    <SchedulForwardResponse>
    <SchedulForwardResult>
    <ArrayType>
    <plnnr>50001203</plnnr>
    <vornr>1</vornr>
    <starttime>20.08.2006 09:00:00</starttime>
    </ArrayType>
    <ArrayType>
    <plnnr>50001203</plnnr>
    <vornr>2</vornr>
    <starttime>20.08.2006 09:10:00</starttime>
    </ArrayType>
    <ArrayType>
    <plnnr>50001203</plnnr>
    <vornr>3</vornr>
    <starttime>20.08.2006 09:35:00</starttime>
    </ArrayType>
    </SchedulForwardResult>
    </SchedulForwardResponse>
    </part>
    </tOutput>
    I want to copy these content in the output Variable of my BPEL Prozess. But just the first <ArrayType> is copy to output:
    <ArrayTpe>
    <plnnr>50001203</plnnr>
    <vornr>1</vornr>
    <starttime>20.08.2006 09:00:00</starttime>
    </ArrayType>
    The other two <ArrayType> fail.
    I create 3 variables:
    <variable name="bufferOutput" messageType="ns0:SchedulForwardSoapOut"/> (MessageType of the invokeing WS)
              <variable name="count" type="xsd:integer"/>
              <variable name="n" type="xsd:integer"/>
    Count and n are counter for the while loop. Count is initial 1. For n i have follow expression:
    <assign name="prepareLoop">
    <copy>
    <from expression="ora:countNodes('bufferOutput','parameters','/ns0:SchedulForwardResponse/ns0:SchedulForwardResult/ns0:ArraySchedulType[1]')"></from>
    <to variable="n"/>
    </copy>
    </assign>
    In the BPEL Console i saw, that the value of n is1 and not 3 as i thought. When i set ora.countNodes to SchedulForwardResult n is null in the console.
    Does anybody try befor to copy such a content of a variable into another variable or has a idea how i can implement these?
    regards,
    rala

  • How to handle empty Dats field received from SAP RFC response

    Hi All,
    I am invoking a SAP RFC which gives me a Dats field in response.
    A valid dats fields is successfully received by my pipelines.
    But when an empty Dats field is received, My pipeline fails and i get error.
    How to handle the empty Dats field from SAP

    Hi Anant,
    This is because the legacy SAP adapter accepted RFC messages with date field empty. In the new version, the same call results in an error. WCF-SAP adapter doesn't allow blank XML nodes.
    You need to use the below custom pipeline component as a workaround.
    Refer:
    Pipeline component for enabling legacy behavior in WCF-SAP adapter.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • How to define the DATE fields in itab for uploading the data?

    Hi Experts,
    Am uploading the data from Excel sheet to Z table via my_itab.
    So, there r 3 Date fields in Z table, which are defined as DATS(8).
    So, pls. let me know that, How I hv to define the itab-date_one, itab-date_second, itab-date_three, weather CHAR(10) or sy-datum or concatenation??
    thanq

    Hi Sri, follow like this.
    First Move that Excel Sheet Data to Internal Table Using Function Module ALSM_EXCEL_TO_INTERNAL_TABLE.
    And you can insert that internal table data to Database Table Using INSERT Command.
    First upload Data From Excel Sheet to ITAB with Required Structure. Once the Data Comes...
    And Declare another Internal Table (ITAB1) Type Database Table name.
    And Use Insert Database Table From ITAB1.
    Check this Example.
    TABLES:MARA.
    DATA:BEGIN OF ITAB OCCURS 0,
    MATNR LIKE MARA-MATNR,
    MBRSH LIKE MARA-MBRSH,
    MTART LIKE MARA-MTART,
    MEINS LIKE MARA-MEINS,
    END OF ITAB.
    DATA:ITAB1 LIKE MARA OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
    ITAB-MATNR = '123ABCDA'. .
    ITAB-MBRSH = 'C'.
    ITAB-MTART = 'FERT' .
    ITAB-MEINS = 'KG' .
    APPEND ITAB.
    ITAB-MATNR = '123ABCDB'. .
    ITAB-MBRSH = 'C'.
    ITAB-MTART = 'FERT' .
    ITAB-MEINS = 'KG' .
    APPEND ITAB.
    LOOP AT ITAB.
    MOVE-CORRESPONDING ITAB TO ITAB1.
    APPEND ITAB1.
    ENDLOOP.
    LOOP AT ITAB1.
    INSERT MARA FROM ITAB1.
    MODIFY MARA .
    ENDLOOP.
    or,
    By using type pools TRUXS our problem my be solve.
    Take one internal table like your standard data base table and
    one internal table for truxs like
    DATA: it_raw TYPE truxs_t_text_data.
    DATA: itab like mara occurs 0 with header line.
    Use FM
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
    EXPORTING
    I_FIELD_SEPERATOR =
    i_line_header = 'X'
    i_tab_raw_data = it_raw " WORK TABLE
    i_filename = p_file
    TABLES
    i_tab_converted_data = it[] "ACTUAL DATA
    EXCEPTIONS
    conversion_failed = 1
    OTHERS = 2.
    Now looping that and updated to data base table.
    hope this helps.
    kindly reward if found helpful.
    cheers,
    Hema.

Maybe you are looking for

  • IPhone 4 in constant Restore mode - how can I get it back?

    I have an iPhone 4 running the atest version of iOS5 with the update from a few days ago as well as the newest version of iTunes from two days ago. I was working two hours from home today and I shut down the phone. When I tried to restart it an hour

  • Itunes 7.4 wont open

    so i downloaded itunes 7.4.whatever a while ago. and i havent been on itunes for like a week now. and when i want to open itunes, it wont open. it says "itunes has encountered a problem and needs to close." ive tried re-installing it, but it asks me

  • JDBC adapter on XI 3.0 SP12

    Hi all, I am working on a scernario SOAP->XI3.0(SP12)->JDBC On the sender side, I have a simple web application posting a SOAP request to an outbound SOAP adapter. I have used Apache AXIS to generate the SOAP request. On the JDBC side, I have importe

  • Deploying JAXRPC service on NON-JWSDP Tomcat

    Hi, I saw a similar question earlier, but not an answer.. I'm in a situation where I want to deploy a JAXRPC service on a Tomcat 4.1.12. I use the JSWDP kit from Sun to develop and test, and then I would like to be able to package my service as a .wa

  • Is Siri ever going to learn portuguese??!?

    It's been years since Siri was launched and still no Portuguese? Doesn't Apple think Brazil and Portugal are a good market? They charge 3x more for an iPhone in Brazil, compared to the US, and still don't deliver the full experience. It is a shame!