XML example please

hi,
i've read lots of threads about storing data in xml file but all i saw was links to tutorials and some advices. Could somebody post at least a small example, please?
And what i need to store in my xml file is data from several comboboxes and textfields.
Thanx in advance.

plz, provided xml using java standalone application source codes.

Similar Messages

  • SDK 4.0.0.5: CM.jar Is Not Copied BUG-cm_jars_structure.xml.example Missing

    Could someone please help me out. I am trying to fix this bug with:
    SDK 4.0.0.5: CM.jar Is Not Copied into the Package To Be Deployed [ID 1315169.1]
    And according to Oracle support I need to:
    Solution
    In SDK version 4.0.0, the cm.jar gets copied only in etc/lib folder. In the target environment it gets distributed by executing initialSetup.sh, which is part of the CM installation.
    The structures/cm_jar_structure.xml should be created for the cm.jar distribution. You can see an example of the structure under the pkg scripts folder: etc/cm_jars_structure.xml.example (it just needs to be copied to structures/cm_jar_structure.xml). The cm.jar will then be copied to the correct locations in the application.
    But I am missing the file cm_jars_structure.xml.example.
    Does some have that file please?

    Hi,
    Here the comment from the FW_jars_strucure.xml.
    <!-- for list_of_AND_conditions all conditions must be true for jar to be distributed       -->
    <!-- for list_of_OR_conditions any of the conditions must be true for jar to be distributed -->
    <!--
       example:
       <jar_name>
          <source_dir_jar>source directory where the jar file is located (mandatory)</source_dir_jar>
          <dest_folders>
             <dest_folder_1>destination 1</dest_folder_1>
             <dest_folder_2>destination 2</dest_folder_2>
             <dest_folder_3>destination 3</dest_folder_3>
          </dest_folders>
          <list_of_AND_conditions>
                <condition_1>SPLWAS=WLS</condition_1>
                <condition_2>DBNAME=TESTING</condition_2>
          </list_of_AND_conditions>
          <list_of_OR_conditions>
                <condition_1>DBUSER=cisuser</condition_1>
                <condition_2>DBUSER=CISUSER</condition_2>
          </list_of_OR_conditions>
          if child jvm path exists, then the jar file from the location specified
          here will be added to class_path (child_jvm_option)
          <child_jvm_path>PATH where jar file is located</child_jvm_path>
          <target_folder>(subfolder under java/target used as basedir for jar creation)</target_folder>
          <copy_classes>true (set to true if during install single fixes the class should just copied to $SPLEBASE/java/target)</copy_classes>
          <update_source_jar>
             <update_source_jar_1>(list here the folder that should be updated in base-shared-${jversion}-src.jar. eg.: source/base)</update_source_jar_1>
             <update_source_jar_2></update_source_jar_2>
          </update_source_jar>
       </jar_name>
       Uncomment the following block for testing
       ensure you have a test.jar under $SPLEBASE/etc/lib
       The jar file will be copied if SPLWAS=WLS and DBNAME=TESTDB and
       DBUSER is either cisuser or CISUSER.
    -->
    <!--
       <test.jar>
          <source_dir_jar>@SPLEBASE@/etc/lib</source_dir_jar>
          <dest_folders>
             <dest_folder_1>@SPLEBASE@/splapp/applications/XAIApp/WEB-INF/lib</dest_folder_1>
             <dest_folder_2>@SPLEBASE@/splapp/applications/root/WEB-INF/lib</dest_folder_2>
             <dest_folder_3>@SPLEBASE@/splapp/businessapp/lib</dest_folder_3>
             <dest_folder_4>@SPLEBASE@/splapp/mpl/lib</dest_folder_4>
             <dest_folder_5>@SPLEBASE@/splapp/standalone/lib</dest_folder_5>
          </dest_folders>
          <list_of_AND_conditions>
                <condition_1>SPLWAS=WLS</condition_1>
                <condition_2>DBNAME=TESTDB</condition_2>
          </list_of_AND_conditions>
          <list_of_OR_conditions>
                <condition_1>DBUSER=cisuser</condition_1>
                <condition_2>DBUSER=CISUSER</condition_2>
          </list_of_OR_conditions>
          <child_jvm_path>@SPLEBASE@/splapp/standalone/lib</child_jvm_path>
          <target_folder>base</target_folder>
       </test.jar>
    -->/Markus

  • XML Files - PLEASE help!!

    Hi guys!
    Am desperately seeking some help on an XML issue please!!
    Am just wondering if anyone knows any limitations of having large XML files within B2B applications. Everywhere I look seems to suggest that there's no limit on the size of an XML file - this is grand, but is anyone aware of a performance downgrade when dealing with large files? And if so, what is the maximum recommended file size before performance is affected. Are there any other issues upon which file size would have a negative impact? Sorry if this sounds like a bit of a silly question but am a newbie to the design implications of XML and am in bad need of assistance!
    thanks a mill for all your help
    cheers
    bronniebee

    Well no, there's no limit on the size of an XML file by the specification, but in practice you will find that you almost always have to load the XML file into memory. This means that the larger the file, (a) the longer it takes to load and (b) the more likely it is you will run out of memory. I have seen it suggested that 10 megabytes is a practical upper limit for the size of an XML file to be processed in this way, but of course that would be just a rough guideline. If you have files much larger than that, you will have to use a SAX parser (which processes the XML sequentially) if you want to be able to handle it.
    But if you are talking about B2B, then most of your XML files will be transaction packets, right? Probably you wouldn't have a purchase order that large, for example. And you will be processing them asynchronously, right? (Nobody sitting at the browser waiting for a response.) That simplifies things because you don't have response time as an overriding requirement.

  • Error while using XML Iview, please contact your system administrator.

    Hello everybody,
    I have already posted a detailed message for the XML iview problem sometime back but havent got any reply so far. All the replies had come from users who are also facing the same problem. I am trying to use a XML iview for fetching RSS feeds from one of the internet source, i have entered the proper URL and selected the proper RSS to XHTMLB transformer also and have entered the proxy settings in the http service and enabled it and restarted it also, but again when i am previewing the Iview its giving me the error <b>"Error while using XML Iview, please contact your system administrator."</b>. I am using
        Area           Version
        J2EE Engine    6.40 PatchLevel 98256.313
        Portal         6.0.14.0.0
    , can someone tell me whether its a bug in sp14 or i am missing something while creating this XML Iview. Expecting a proper reply.
    Thanks in advance,
    Regards,
    Sarabjeet.

    Hi Sarabjeet,
    The XML iView uses server-side fetching, so if you are having problems with a regular URL iView in server-side fetching mode, so the problem with the XML iVIew probably has to do with the proxy settings.
    And since you got a 407 error, it seems there is an issue with proxy settings or the proxy server, as mentioned in this description of 407 error:
    The HTTP 407 code only applies to users who are accessing the Internet behind a proxy server. This is common in government and corporate workplaces. The 407 code indicates that your computer must first authenticate itself with your company's proxy server. Check with your IT department or computer support group as to the exact reason why you may be getting this error. It may be possible that the proxy server does not allow downloads of specific files (exe, cab, com). You can also verify that your proxy server settings are valid.
    I will check if I can find out any more specific info.
    Daniel

  • I want to display the number of Passed / failed tests in Testtand xml report , please help me

    Hi, I want to display the number of Passed / failed tests in Testtand xml report , please help me.
    My requirement is later i should be able to display these number of passed/failed test in report header too.
    Solved!
    Go to Solution.

    I have attached a sequence to give you an idea of how to get the Result count (I didn't check it's working ), I have used "SequenceFilePostResultListEntry" callback to calculate the Result Count,
    and the Result Count is passed to the "ModifyReportHeader" through File Globals,  where you can edit the XML file to show it in the Repot (follow the link in my previous post).
    Hope this helps
    AshwiN,
    Attachments:
    Get Result Count.seq ‏8 KB

  • XML example for testing query with soapui

    Hello,
    I am trying to build a query using XML with the downloaded Contact Custom.wsdl.
    I did get a msg complaining about that there were no session. I've looked into the Web Services.pdf doc and see the description about session, etc.
    I'd appreciate if I could get a XML example for doing the authentication / session ... If you have a query example would be nice too...
    Txs. a lot.

    Hello,
    Here is a sample QueryPage request for the Contact object containing the UserName and password tokens:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext"><soap:Header>
    <wsse:Security>
    <wsse:UsernameToken>
    <wsse:UserName>[username]</wsse:UserName>
    <wsse:Password>[password]</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    <soap:Body>
    <ContactWS_ContactQueryPage_Input xmlns="urn:crmondemand/ws/contact/10/2004">
    <UseChildAnd>true</UseChildAnd>
    <PageSize>100</PageSize>
    <ListOfContact>
    <Contact>
    <ContactId></ContactId>
    <ContactFirstName></ContactFirstName>
    <ContactLastName></ContactLastName>
    </Contact></ListOfContact>
    <StartRowNum>0</StartRowNum></ContactWS_ContactQueryPage_Input></soap:Body></soap:Envelope>
    Thanks,
    Sean

  • XML example file in a comment

    Hi,
    i need to know how to put a little XML example file in a comment. This is what i have :
    * to be consulted. Next you can see an example of a configuration file :
    *<P>
    * blablablablalbablablabla
    *</p>
    * <br>
    * <?xml version="1.0" encoding="utf-8" ?><br>
    * <!-- Comments --><br>
    * <CONF><br>
    * <FONT><br>
    * <FONT_SIZE>11</FONT_SIZE><br>
    * <FONT_TYPE>SansSerif</FONT_TYPE><br>
    * </FONT><br>
    * <THREADPOOL><br>
    * <MAX_POOL_SIZE>30</MAX_POOL_SIZE><br>
    * </THREADPOOL><br>
    * <FIELDS><br>
    * <FIELD_NAME>to</FIELD_NAME><br>
    * <FIELD_NAME>subject</FIELD_NAME><br>
    * </FIELDS><br>
    * <WAIT_TIME>0.1</WAIT_TIME><br>
    * </CONF><br><br>
    I tried using the <code> tag but it does not work. anyone??
    thanks in advance

    TrogDog, thanks for resurrecting this post; it seems all questions about this topic are answered with the idiodic suggestion of substituting character entities for the < and > signs, a rather crude and inefficient way to document code.
    In my case, the <pre> tag did not render at all, however, this minor adjustment worked like a charm:
    <xmp>
    <example>
    <message>no special escaping nonsense</message>
    <hopethishelps>true</hopethishelps>
    </example>
    <xmp>
    Node the change from <pre> to <xmp>, and the removal of {@code}. If you leave {@code} then the < and > will be displayed as character entities, the absolute opposite of the intended effect.
    Thank you for the elegant solution!

  • XML example for GANTT (2004s)

    Hi,
    Does anyone have an XML example for the GANTT component (2004s)? (I mean a data file for plotting a gantt chart.)
    The examples in the documentation apply to other chart types.
    Thanks,
    Roelof

    Hi all,
    there is the new link for the schemas:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/lw/uuid/f010ec31-9658-2910-3c83-c6e62904eceb
    and a little tutorial in Wiki: https://wiki.sdn.sap.com/wiki/x/iTE, where I will provide a little xml sample soon (-;
    kind Regards
    Stefanie

  • Clearing Rule example PLEASE!

    Hi guys: Below is my business situation.
    When I post an entry using F-04, I want to transfer the data in ref key 1 of the cleared item to the item that is being created as a residual item.
    I was thinking I could use Clearing Rules. Can someone please help me? Does anyone have an example please? Or is there any other way to do this?
    thanks
    Brian

    hi,
    You can map it through clearing rules. Clearing rules are used for automatic clearing. You specify whci all field should be considered for automatic clearing. For eg, PO number, referance field. etc if any match is found then it will clear.
    In you case you can try substitution.
    Thanks,
    Sujai C

  • New to XML - what can XML and java do thogether - brief examples please

    I am new to XML and relatively new to Java, thought not new to programming. I am still trying to figure out what can XML do for me in practical terms and when I should use it. Thanks for any examples of when to use XML in conjunction with Java.

    xml : Think of it in terms of business solutions, the way you would think of HTML for drawing fun web-pages.
    java : If you know anything about databases you would know you can embed java with sql E.T.C.
    Therefore because of the fast response times and the amount of constant interaction for business purposes you will need a database type that is strong to handle XML, therefore with such new technology you will be able to use xml databases with java too.
    l am sorry : XML Technology is not more simple than that to explain.
    If you are a christian or jew it is like saying to someone explain the bible,the prophets,the old and new testament in one sentence!!!You get it.What one can do is slightly break-up the bible and say there's an old and new testament.The old testament refers to the time before Jesus, AND the new testament refers to After Jesus, THE PROPHETS RELATE MORE TO THE TIME BEFORE Jesus.
    You can then ask me who is jesus???
    And thats a tricky question in its self becuse it depends on one's thinking(concept)
    I HOPE IT HELPS YOU !!!!
    GOD DAY MATE!!

  • I can't to download xml example application PRODUCT CATALOG

    Hi, i'm a registered user, but i can't to download sample product catalog, http://www.oracle.com/technology/tech/xml/xdk_sample/ProductCatalogSample.html
    Please, give me advise - how to download it!
    Thanks

    Thank YOU!!!!!!!!!!!
    Can you also give links to next examples:
    * customer managment application sample and employee managment information using xsql and building product orders
    *Employee Information Management using the XSQL page publishing framework
    *Building Product Orders with New Oracle9i Database XML Features and the Oracle9i XDK
    http://www.oracle.com/technology/sample_code/tech/xml/index.html

  • CP-7970G (SIP70.8-0-3S) SEP mac .cnf.xml example, more info needed

    www.trixbox.com provides a (working) example of a SEP<mac>.cnf.xml file (see attachment).
    I would appreciate ANY explanation on some of the tags or any information on other tags.
    Please note that you'll need to change some of the fields in the attached example.
    Jan Willem
    IPtelligence

    www.trixbox.com provides a (working) example of a SEP<mac>.cnf.xml file (see attachment).
    I would appreciate ANY explanation on some of the tags or any information on other tags.
    Please note that you'll need to change some of the fields in the attached example.
    Jan Willem
    IPtelligence

  • An example please...

    I registered a schema with these commands and everything's alright:
    declare doc varchar(10000) := '
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xdb="http://xmlns.oracle.com/xdb" >
    <xs:element name="BookStore" xdb:defaultTable="BOOKSTORE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="Book" minOccurs="1" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="Book" xdb:defaultTable="BOOK">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="Title" minOccurs="1" maxOccurs="1"/>
    <xs:element ref="Author" minOccurs="1" maxOccurs="1"/>
    <xs:element ref="Date" minOccurs="1" maxOccurs="1"/>
    <xs:element ref="ISBN" minOccurs="1" maxOccurs="1"/>
    <xs:element ref="Publisher" minOccurs="1" maxOccurs="1"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="Title" type="xs:string"/>
    <xs:element name="Author" type="xs:string"/>
    <xs:element name="Date" type="xs:string"/>
    <xs:element name="ISBN" type="xs:string"/>
    <xs:element name="Publisher" type="xs:string"/>
    </xs:schema>
    begin
    dbms_xmlschema.registerSchema('//prova.xsd', doc,TRUE, TRUE, FALSE, TRUE);
    end;
    Please, could you give me an example of an xml file to add to bookstore?
    I tried this:
    insert into bookstore values(xmltype('
    EXAMPLE PELASE!!
    Could you give me an example xml according to bookstore schema?
    Thanx

    SQL*Plus: Release 10.1.0.2.0 - Production on Fri May 14 09:12:47 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> declare doc varchar(10000) :=
    2 '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    3 xmlns:xdb="http://xmlns.oracle.com/xdb" >
    4 <xs:element name="BookStore" xdb:defaultTable="BOOKSTORE">
    5 <xs:complexType>
    6 <xs:sequence>
    7 <xs:element ref="Book" minOccurs="1" maxOccurs="unbounded"/>
    8 </xs:sequence>
    9 </xs:complexType>
    10 </xs:element>
    11 <xs:element name="Book" xdb:defaultTable="BOOK">
    12 <xs:complexType>
    13 <xs:sequence>
    14 <xs:element ref="Title" minOccurs="1" maxOccurs="1"/>
    15 <xs:element ref="Author" minOccurs="1" maxOccurs="1"/>
    16 <xs:element ref="Date" minOccurs="1" maxOccurs="1"/>
    17 <xs:element ref="ISBN" minOccurs="1" maxOccurs="1"/>
    18 <xs:element ref="Publisher" minOccurs="1" maxOccurs="1"/>
    19 </xs:sequence>
    20 </xs:complexType>
    21 </xs:element>
    22 <xs:element name="Title" type="xs:string"/>
    23 <xs:element name="Author" type="xs:string"/>
    24 <xs:element name="Date" type="xs:string"/>
    25 <xs:element name="ISBN" type="xs:string"/>
    26 <xs:element name="Publisher" type="xs:string"/>
    27 </xs:schema>';
    28
    29 begin
    30 dbms_xmlschema.registerSchema('//prova.xsd', doc,TRUE, TRUE, FALSE, TRUE);
    31 end;
    32 /
    PL/SQL procedure successfully completed.
    SQL> insert into bookstore values (
    2 xmltype (
    3 '<?xml version="1.0" encoding="UTF-8"?>
    4 <!--Sample XML file generated by XMLSPY v2004 rel. 2 U (http://www.xmlspy.com)-->
    5 <BookStore xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance" xsi:noNamespaceSchemaLocation="//prova.xsd">
    6 <Book>
    7 <Title>String</Title>
    8 <Author>String</Author>
    9 <Date>String</Date>
    10 <ISBN>String</ISBN>
    11 <Publisher>String</Publisher>
    12 </Book>
    13 <Book>
    14 <Title>String</Title>
    15 <Author>String</Author>
    16 <Date>String</Date>
    17 <ISBN>String</ISBN>
    18 <Publisher>String</Publisher>
    19 </Book>
    20 </BookStore>
    21 '))
    22 /
    1 row created.
    SQL> set long 1000
    SQL> --
    SQL> select object_value from bookstore
    2 /
    OBJECT_VALUE
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <!--Sample XML file generated by XMLSPY v2004 rel. 2 U (http://www.xmlspy.com)--
    <BookStore xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsi="http://www.w3.org
    /2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="//prova.xsd">
    <Book>
    <Title>String</Title>
    <Author>String</Author>
    <Date>String</Date>
    <ISBN>String</ISBN>
    <Publisher>String</Publisher>
    OBJECT_VALUE
    </Book>
    <Book>
    <Title>String</Title>
    <Author>String</Author>
    <Date>String</Date>
    <ISBN>String</ISBN>
    <Publisher>String</Publisher>
    </Book>
    </BookStore>
    SQL>

  • HIS 2013 HISServerConfig.xml example location and unattended install question

    Hello,
        I've never used the unattended part of the installer but wanted to give it a try.  The installation guide refers to an example in the support\unattended_installs folder.  I don't see that folder or file on the media I down loaded. 
    The guild also instructs to "save" the configuration during setup to create my own xml.  I didn't see a "save" but tried using an export during my test unattended install but that didn't work.  I would appreciate any help/information.
    Thanks, Jim.

    Hi Jim,
    you are right. Unlike stated in the Installation guide this folder doesn't exist.
    Anyway, here it goes:
    When you install HIS the latest Setup/configuration screen will provide a link to create a XML file. Anyway, exporting the XML file out of the configuration utility will create the reference XML of your current installation and configuration.
    You may modify the XML file according to the required settings of your new Server by changing the subdomain name, role,  etc....
    Also please note that we do not store the password in the XML file for security reasons, so you need to add this manually.
    Once done, please run a similar command according to you settings as below:
    Setup.exe /InstallPlatform /L c:\HISInstall.log /S c:\HISServerConfig.xml /INSTALLDIR C:\HIS Configuration.exe /L c:\ConfigFramework.Log /S c:\HISServerConfig.xml
    Options
    The following table describes the command options.
    /InstallPlatform
    This flag causes the installation program to install any platform prerequisites.
    /L c:\HISInstall.log
    This flag determines the log file location that is created during setup.
    /S C:\HISServerConfig.xml
    This flag specifies the configuration file (list of features) that is used on installation. The file "HISServerConfig.xml" contains information about which features to install and how they should be configured. Sample copies of these files are located
    in the Support\Unattended_Installs directory of the installation folder. This file can also be created during setup by clicking Save in the summary panel of the Configuration Tool.
    /INSTALLDIR
    This option tells Setup where to install the product.
    The Setup.exe installs all required binaries according to you reference installation while the configuration.exe configures you HIS Server the same as the reference configuration.
    Hope that helps
    Manfred Mittermüller
    -- MSFT --

  • Xml explanation please

    Getting more into xml for as3 and learning a lot about it's advantages. The only thing I am not sure is of its advantage with images opposed to just loading an image asset externally. They both use the same concept, just loading xml file images uses the xml loader class with the xml file. Someone please explain to me wanting to load about 15 images, is there any advantage using the xml loader class over the regular loader class, since I can change both the images externally?

    you're confused.
    whether you use xml has nothing to do with speed, loading convenience or anything other than data management.
    xml is used as a database.  think of it as a poor man's mysql database.
    it stores data.  for example, you can store the image file names used by a flash image gallery application.
    the benefit is in data management.  it's easier to edit your xml file than to edit a fla and republish a swf that has the image file names hard-coded into its actionscript.

Maybe you are looking for

  • Production report displaying months

    hi , can anyone help me in getting month wise production report...  i e from jan to dec.... it shoulld display all months and show month wise production.... example ITEM ITEM DESCRIPTION   JAN FEB MARCH DS01   SCREW                 10     10       30

  • Rich black gray images

    I want to create a rich black, CMYK gray image. The colors must blend CMYK to make a nice gray image. It would be nice to apply GCR to remove some of the CMY and reduce the TAC. So far, I am able to make this happen. However, as a result of the GCR,

  • I need help! Ipad3 won't restore... what have I done?

    I am completely new to ipads, and waited for the third one to come out to finally buy one. So I connected up with wi-fi and my mail was coming through, but when I connected via cable to my imac (version 10.6.8), nothing happened. It's supposed to ope

  • Errror while running Projects Integration Request

    Dear All, We are in the process of primavrea and oracle EBS 11i integration.We did all the basic setups.we tried to run Projects Integration: Synchronize Planning Resources and Planning Rates, Request completed without error . But in the log file sho

  • SSI problem

    Hello! Alright here's the situation: 1.) I can see my includes in Dreamweaver CS3 in Display mode 2.) I can see the includes also during "preview in browser" 3.) I've uploaded all files to my host Yet.... the includes doesn't display online in my sit