Help!About the xml

If i want to import a xml file,is the encoding must be
"utf-8"???

I believe that is correct. I recall some discussions on the
subject. Search the archive here.
Tracy

Similar Messages

  • Need help about the SHA Message Digest ? & what is use of Message Diagest ?

    need help about the SHA Message Digest ? & what is use of Message Diagest ?
    1>i have one program of making message digest
    2>which requires two files name
    3>one for input like txt
    4> second is out put file of message digest
    can any one tell what is the use of second generated file .

    MessageDigest md = MessageDigest.getInstance("SHA");
    FileInputStream fis = new FileInputStream(args[0]);
    byte[] b = new byte[1024];
    int readed = -1;
    while((readed = fis.read(b)) > 0)
         md.update(b, 0, readed);
    fis.close();
    FileOutputStream fos = new FileOutputStream(args[1]);
    byte[] d = md.digest();
    StringBuffer sb = new StringBuffer();
    for(int i = 0; i < d.length; i++) {
         String str = Integer.toHexString(d[i] & 0xff);
         sb.append(str.length() < 2 ? "0" + str : str);
    fos.write(sb.toString().getBytes());
    fos.close();

  • Using informations about the XML Data Set in *.js

    Dear Users,
    I hope I am able to explane my problem correctly:
    I wonna create a fade effect with various pictures. They don't should blend to 0 - I found a js script that lets the pictures fade from one to the other like this: www.sv-guenther.de
    What this script needs is the number of pictures. I put the picture links into an XML file. Everything works as long as write the number or length of the picture children manually.
    I tried to read out the length by using the ds_RowCount option. This works fine as long as I use this in HTML context like this:
    <div spry:region="ds1" ><script type="text/javascript">  alert({ds_RowCount});</script>{ds_RowCount}</div>
    Both works: The alert shows the number 21 AND you can read the "21" and not {ds_RowCount}.
    okay, but how do I use the "21" integer in a script block in the head area? like this:
    <head>
    <script type="text/javascript">
    var x = {ds_RowCount};
    </script>
    </head>
    I tried it in different ways: var x = '{ds_RowCount}'; or spry:....
    As you can see: I am afraid my scripting knowledge is not the best - like my English is...
    Sorry and thank you very much for your help! - any kind of help
    best regards from Bonn, Germany
    Thorsten

    Dear Ben,
    if you would see me, you wouldn't laugh anymore, you would cry -) - but you are in DownUnder - this would look like I am laughing for you - wouldn't it?
    Thank yoou so much for remembering me. I have been reading your post about this topic (blend a picture). Once somebody asked the same (or almost the same) like I did yesterday. But the difference is, that if you blend a text to 0 it is big diference blending a picture - in my mind. I would love to reduce the opacity from one picture when the next picture is already behind it. So it looks like a smooth fade in fade out, without displaying the background.
    I found a quite good code example for this:HERE
    To make it as easy as possible for me I tried to include the number of the pictures straight into the js code. in the meantime I found the correct code option for this: What I was looking for was: getData() and if I combine it with an observer to wait for the "onPostLoad" everything works fine. I am ashamed that I asked first and then lokked into the SPRY API - Sorry!
    Everything works fine? No not yet - unfourtunally. So I am pleased to get the chance to ask a second time:
    Let's say I have more than one picture and more than one topic. So my XML looks like this:
    <leistungen>
    <inhalte name="Bauvorhaben">
         <inhalt name="Bautechnische Beratung">
         <texte>
              <text>Beurteilung der Baubeschreibung, Beratung zur Ausführungsplanung</text>
         </texte>
         <bilder>
              <bild></bild>
         </bilder>
         </inhalt>
         <inhalt name="Baubegleitende Qualitätsüberwachung">
         <texte>
              <text>Stichprobenhafte Kontrollen der Bauausführung zur Gewährleistung der Einhaltung anerkannter Regeln der Bautechnik und vertraglicher Vereinbarungen</text>
         </texte>
         <bilder>
              <bild>3867</bild>
         </bilder>
         </inhalt>
         <inhalt name="Baumängel">
         <texte>
              <text>Feststellung und Beurteilung von Baumängeln, Ursachenermittlung,Sanierungsempfehlung, Schätzung der Instandsetzungskosten</text>
         </texte>
         <bilder>
              <bild>2857</bild>
              <bild>3612</bild>
         </bilder>
         </inhalt>
         <inhalt name="Beweissicherung">
         <texte>
              <text>Dokumentation von  Schäden an  Bestandsgebäuden im Einflußbereich von Bauvorhaben, Beurteilung von Schadensansprüchen</text>
              <text>Bauzustandsdokumentation, Leistungsfeststellung</text>
         </texte>
         <bilder>
              <bild>1176</bild>
              <bild>154</bild>
         </bilder>
         </inhalt>
         <inhalt name="Abnahme von Bauleistungen / Abnahmebegleitung">
         <texte>
              <text>Einfamilienhäuser</text>
              <text>Mehrfamilienhäuser</text>
              <text>Wohnanlagen</text>
              <text>Bürogebäude</text>
         </texte>
         <bilder>
              <bild>2485</bild>
              <bild>3485</bild>
              <bild>3481</bild>
              <bild>3460</bild>
         </bilder>
         </inhalt>
         <inhalt name="Schiedsgutachten">
         <texte>
              <text>Rechtsverbindliche Beurteilung von Bauprozessen und Gewerken zur Konfliktvermeidung und -lösung</text>
         </texte>
         <bilder>
              <bild>7080</bild>
         </bilder>
         </inhalt>
    </inhalte>
    <inhalte name="Bestandsgebäude">
         <inhalt name="Beweissicherung">
         <texte>
              <text>Dokumentation von  Schäden an  Bestandsgebäuden im Einflußbereich von Neubauten, Beurteilung von Schadensansprüchen</text>          
         </texte>
         <bilder>
              <bild>1176</bild>          
         </bilder>
         </inhalt>
         <inhalt name="Gebäudeschäden">
         <texte>
              <text>Feststellung und Beurteilung von Gebäudeschäden, Ursachenermittlung, Sanierungsempfehlung, Kostenschätzung</text>
              <text>Bautechnische Beratung beim Kauf einer Bestandsimmobilie</text>
         </texte>
         <bilder>
              <bild>2108</bild>
              <bild>4004</bild>
              <bild>1387</bild>
              <bild>3488</bild>
         </bilder>
         </inhalt>
    </inhalte>
    </leistungen>
    First I create an new object
    var ds1 = new Spry.Data.XMLDataSet("xml/leistungen.xml", "leistungen/inhalte/inhalt/texte");
    So the  dsR =  ds1.getData() gives me a dsR.length = 8 - correct - because this XML has got 8 <texte> nodes. But some of these <texte> nodes have more than one <text> node. If I asked for the contet of the fifth node dsR[4]["text"] it gives me back "Bürogebäude" = the last sub node content. I wished I could catch the first, second, third as well. Just like a spry:repeat - do you understand?
    I figured out that it doesn't help to extend the string like
    dsR[4][0]["text"] or dsR[4][0][0].
    As far as I understood the Spry framework flattens the XML like a table. So I thought that there might be just in this raw, in the actual column just another object (not a string)  to be found.This object  I could touch or open with square brackets. Like
    dsR[0]["texte"][0]
    - but: I can't!
    But this would mean, that straight in js I could always only catch the first node value??? I must be wrong!!!  But I don't know were!
    Dear Ben, Dear Guys out there - is this to difficult what I am looking for or am I blind?
    thank you so much for helping me out here - again!

  • Can anybody help about the conditions in CRM business transaction??

    Hi experts,
    I'm fresh on CRM and have several questions regarding the conditions in CRM business transactions.
    Can you please help?Thanks in advance.
    In prciing procedure,we can determin which condition should be involved in item level,
       then,how about the conditions in header level??How and where they can be determind?
       how the condition value can be calculated?I think they should be the collection of the conditions of the items.
    Am I right?
    Thanks.

    Hello Jerry
    Basically you are right,  at header level you should see the collection of the conditions of the items. However there are also conditions that can be entered at header level ( header conditions). You can see more information about these conditions in SD documentation:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/dd/561760545a11d1a7020000e829fd11/frameset.htm
    See sections:
    Header and item conditions
    Distribution Between Header and Items 
    In "Distribution Between Header and Items" you can see how HB00 and RB00 condition types work.  If you create your pricing procedure in CRM ( not downloaded from R3) then you can use 0HB0 and 0RB0, which are the CRM counterparts of HB00 and RB00
    Best Regards
    Luis Rivera

  • Help,about jsp+xml+xslt

    if I write like this:
    <?xml version="1.0" encoding="GB2312"?>
    <%@ page contentType="text/html;charset=GB2312"%>
    <?xml-stylesheet type="text/xsl" href="xslt/test.xslt"?>
    <news>
    <word>
    link
    </word>
    <link>
    abc.jsp
    </link>
    </news>
    the test.xslt can convert the xml to html
    but I write like this:
    <?xml version="1.0" encoding="GB2312"?>
    <%@ page contentType="text/html;charset=GB2312"%>
    <?xml-stylesheet type="text/xsl" href="xslt/href.xslt"?>
    <%
    out.println("<news><word>link</word><link>abc.jsp</link></news>");
    %>
    the test.xslt would not work,why????

    first the xslt is in a .xsl file
    second I'm pretty sure you can't put java in an xsl file.

  • Help about the last SRM version and interaction with suppliers

    Hello, I need the confirm that the last SAP SRM versione is the 7.0. Which are the differences between 5.0 and 7.0? Do you have materials about the interaction with suppliers for bids? Thank you!
    Dany

    Hi,
    There are a lot of differences between the SRM 5.0 and SRM 7.0.regarding the Bidding Scenario.
    Infact SRM 7.0 is released with Public Procurement service(PPS)
    The main differences
    SRM 5.0 -tender fees payment and EMD (Earnest Money deposit) is thro' Development
    SRM 7.0 -Tender fess -Payment can be made in SRM thro'Payment Gateway
                 - EMD Fees can also be paid in the SRM 7.0 which is Standard Functionality..
    There are  lot of differnce
    Just Wait for a day or two I will send the difference to your Business Id
    Regards
    G.Ganesh Kumar

  • PS-IM - Help about the sequencie the end of the year.

    Hello Guys about the finalization the module Investment managment (IM) what the sequencie of closed of the year.
    To Projects and orders.
    The best regards

    I have both budget in projects and orders.
    My question is ....
    Wich the steps I need  year - and coling of the release 4.7 to modules Investment managment, projects and orders?

  • Please help about the limit request

    how to connect the internet for the mobile set 3110 classic
    because iam tried bye the contact provide service vodafone
    also contained the internet service provided with it service
    but massage comminig me tell me not contact or connection with internet
    please help me

    note:
    i am reading the note book about set and working it but wihtout ability
    what i do to connection with internet service

  • PLease Help- About the Apps

    (I pod touch owner)
    I want to downlowed a app on my i-touch
    but i am always seing apps for iphones, where do you fined apps for the thouch
    I want the free apps (for now)
    I am still a new member of apple nation, I dont really know my way through all this, I have been new for about 4 weks now
    so please explain and help'
    please, I need someone with experince and they know what they are talking about
    please and ty
    reply back

    Most of the applications work on your iTouch. Most applications will list which device they work on under the description. You won't be able to use applications that use the iPhones camera.

  • Help about the playlist

    Hi! Im very happy about my Zen V MP3 player, but i have a problem...
    Its not a big, but its driving me mad... I don't know how I turn the "random play all" off. Or i think it is that. It's just takes a random song after the first song and up in the right corner it is a "" with two arrows around it. please help!

    You may need to reconfigure your menus to get access to the 'Play Mode' menu.
    Go System->Player Settings->Configure Menu
    You will get a tick list. Make sure the Play Mode is ticked.
    Now press the Back key repeatedly until back at the top level menu.
    Select 'Play Mode' and choose Normal.

  • Can I have your help about the software for apple

    can I knew how I can change my security Question for apple account?
    Am waitting your answer........

    Assuming that you don't know your current answer(s), then from http://support.apple.com/kb/HT5665 :
    If you have three security questions and a rescue email address, sign in to My Apple ID and select the “Password and Security” tab to send an email to your rescue email address to reset your security questions and answers.
    If you have one security question and you know your Apple ID password, sign in to My Apple ID and select the “Password and Security” tab to reset your security question.
    If you have one security question, but don't remember your Apple ID password, contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    If you can’t reset them via the above instructions (you won't be able to add a rescue email address until you can answer your questions) then you will need to contact Support in the country where you and your iTunes account are to get the questions reset (these are user-to-user forums).
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • Help about the error of installing the ides ehp5, error code:1073740791

    hi All Basis Expert,
    I have downloaded the ECC6.0EHP5, ides version. When I try to install it on windows server 2003 X64, I always got the error at phase 17, and the return code is 1073740791. the message like that:
    Execution of the command "C:\usr\sap\EC2\SYS\exe\uc\NTAMD64\R3load.exe -testconnect" finished with return code -1073740791. Output:
    The SAPinst.log file as follows:
    SAPinst.log
    INFO 2099-08-30 07:33:38.314
    An error occured and the user decided to retry the current step: "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection".
    INFO 2099-08-30 07:33:38.314
    Working directory changed to C:/Program Files/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
    INFO 2099-08-30 07:33:38.408
    Switched to user: cdp-ehp5\ec2adm.
    INFO 2099-08-30 07:33:38.533
    Creating file C:\Program Files\sapinst_instdir\ERPEhP5\AS-ABAP\ORA\CENTRAL\R3load.exe.log.
    INFO 2099-08-30 07:33:38.548
    Switched to user: cdp-ehp5\ec2adm.
    INFO 2099-08-30 07:33:38.580
    Output of C:\usr\sap\EC2\SYS\exe\uc\NTAMD64\R3load.exe -testconnect is written to the logfile R3load.exe.log.
    WARNING 2099-08-30 07:33:41.830
    Execution of the command "C:\usr\sap\EC2\SYS\exe\uc\NTAMD64\R3load.exe -testconnect" finished with return code -1073740791. Output:
    ERROR 2099-08-30 07:33:41.845
    CJS-30023  Process call 'C:\usr\sap\EC2\SYS\exe\uc\NTAMD64\R3load.exe -testconnect' exits with error code -1073740791. For details see log file(s) R3load.exe.log.
    ERROR 2099-08-30 07:33:41.892
    FCO-00011  The step testDatabaseConnection with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection was executed with status ERROR ( Last error reported by the step :Process call 'C:\usr\sap\EC2\SYS\exe\uc\NTAMD64\R3load.exe -testconnect' exits with error code -1073740791. For details see log file(s) R3load.exe.log.).
    INFO 2099-08-30 07:33:42.517
    Creating file C:\Program Files\sapinst_instdir\ERPEhP5\AS-ABAP\ORA\CENTRAL\__instana_tmp.xml.
    Any ides? Any help? Many thanks.
    Ross  Wang

    Hi Vincent,
    I don't know if the following information is enough?
    disp+work information
    kernel release                720
    kernel make variant           720_REL
    DBMS client library           OCI_10201_SHARE,
    DBSL shared library version   720.00
    compiled on                   NT 5.2 3790 S x86 MS VC++ 14.00 for NTAMD64
    compiled for                  64 BIT
    compilation mode              UNICODE
    compile time                  May  7 2010 02:47:09
    update level                  0
    patch number                  46
    source id                     0.046
    supported environment
    database (SAP, table SVERS)   700
                                  710
                                  701
                                  702
                                  703
                                  711
                                  712
                                  720
                                  730
                                  731
    DBMS server
       ORACLE 10.1.0..
       ORACLE 10.2.0..
       ORACLE 11.2...*
    operating system
    Windows NT 5.0
    Windows NT 5.1
    Windows NT 5.2
    Windows NT 6.0
    Windows NT 6.1
    disp+work patch information
    ( 0.001) Inconsistencies for <tt:call transformation> II (note 1240930)
    ( 0.001) SELECT with FOR ALL ENTRIES and dynamic WHERE condition II (note 110391
    6)
    ( 0.001) Presentation buffer improvements (note 1332488)
    ( 0.001) Currency fields with manipulated input mask (note 1325894)
    ( 0.001) XBNF: Adjusted some identifier rules (note 1332293)
    ( 0.001) Suppressing input history for the SAP GUI (note 1264378)
    ( 0.001) VMC: Checking for null in JARM data condensing (note 1334807)
    ( 0.001) GUI status version (note 1081770)
    ( 0.001) VMC/JAC (note 1332616)
    ( 0.001) VMC/JAC (note 1332616)
    Ross

  • Help about the planning cost in WBS.

    Hi guys,
    Run tcode 'CJ40', user can input the cost in WBS element (in the 'cost plan' column).
    Now the requirement is that , we should get the value from this column and I have find some functions. But all don't work.
    So seek help from you experts.
    Welcome any suggestion!.
    Thanks very much!!

    Be careful, CJ40 write planning cost on RPSCO and BPJA (or BPGE, BPPE).
    You can test if you just post on BPJA if you try an CJ02 and select WBS, go on simulation cost screen. You watch 'zero' on the planning cost (ANIA and ANIB table)...
    Use MF
      KBPV_POST_JA for BPJA and
      HFPT_BPIF_RPSCO for RPSCO.
    Please reward points if its help.
    Bonne journée.
    Message was edited by:
            Pierron Fred
    Message was edited by:
            Pierron Fred
    null

  • Help about the definition of new task.

    Hi,
    I can start successfully a Bex Query via FM abap4_call_transaction but I see two queries defining this call:
    CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
    STARTING NEW TASK 'ZTRX'
    EXPORTING
    TCODE = 'ZTRX'
    EXCEPTIONS
    TCODE_INVALID = 1
    OTHERS = 2.
    My tests:
    1) Without defining a specific "task" but referring to a transaction code ZTRX, the call to a FM work correctly but the effect is to start two times the program/report defined for the transaction ZTRX. I have created the transaction ZTRX as copy of RRMX (se93).
    2) I tried to definine a "task" (PFTC, PFTC_INS, PFTR, PFTS) but I find some difficulty and I don't know if this step is necessary. Certainly, defining a generic name, the call to a FM don't work correctly.
    3) At the last I tried to use:
    CALL METHOD cl_reca_gui_services=>call_transaction
              EXPORTING
                id_tcode             = 'ZTRX'
               IF_LEAVE_CURRENT     = ABAP_FALSE
               IF_SKIP_FIRST_SCREEN = ABAP_FALSE
                if_new_external_mode = abap_true
              EXCEPTIONS
                error                = 1
                OTHERS               = 2.
    trying to start only one session (as /oZTRX), but I receive un error because the method is not found.
    Any help will be appreciated. Thanks in advance.
        Giovanni

    Hi Giovanni
    It's not very clear your problem, I wrote this simple code and it works fine (not twice running):
    CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST'
      EXPORTING
        TCODE = 'FB03'
      EXCEPTIONS
        TCODE_INVALID = 1
        OTHERS = 2.
    Max

  • HELP:About the OCP exam with Oracle Reports??

    Hello
    Can i achieve OCP with SQL exam , PL / SQL exam and oracle 9i reports exam / xml publisher exam
    I'm not intrested in giving an oracle forms exam.
    I'm working as an oracle reports writer on oracle applications.
    Kindly guide me in the right direction with appropriate oracle links etc.
    Regards
    Fahad Hameed.

    You can achieve "PL/SQL Developer Certified Associate" by passing "Introduction to Oracle9i SQL 1Z0-007" OR "Introduction to Oracle: SQL and PL/SQL 1Z0-001" OR "Oracle Database SQL Expert 1Z0-047".
    For "Oracle Forms Developer Certified Professional", you need to pass "Oracle Forms: Build Internet Applications 1Z0-141" after getting the "PL/SQL Developer Certified Associate" certificate.
    Oracle PL/SQL and Oracle Forms Developer
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=155
    Oracle Certification Program - Oracle Middleware
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=140

Maybe you are looking for

  • How do I use my own music for a ringtone?

    I just got the iphone 4s. All my music has been loaded on to the iphone. How do use that music to make pick out my own songs? Or do i have to pay for them again in the ringtone store? thanks

  • How do I set up uTorrent 2.0 on my WRT54G2 v1.0 router?

    I use my wireless adapter to access my network and I have the latest firmware version installed and running on the router and was just wondering how to set up all the ports on the router and any other special steps I need to take for the program and

  • Can't migrate to new MacBook Pro

    Hi, I have just brought home my new MacBook Pro, running 10.8.  I can't migrate my stuff from my MacBook, which is running 10.8.2 - neither computer sees each other via wifi or ethernet cable.  I have also discovered that my external hard drive with

  • An error occurred during the installation of assemble, an error occurred during the installation of assemble

    an error occurred during the installation of assemble microsoft.vc80.crt,type=''win32'',version=''8,0.50727,4053'',publickey token=''1fc8b9a1e18e3b'',process or architecture=''amd64''.please refer to help and support for more information,hresult:0x80

  • In srm 5.0 but upgraing from ecc 5.0 to ecc 6.0

    Hi,    can any one help me in guiding what are the various settings that have to be made if i maintain in srm 5.0 server itself and upgrade my back end system from ecc5.0 to ecc 6.0. thanks, rose.