What do I need to use XML?

Hi,
I've just start using XML and I need some help. I've created a XML file and I want a simple example of what do I need to execute it. My XML file is here:
<?xml version="1.0"?>
<country name="Brazil">
<city>Rio de Janeiro</city>
<city>Sao Paulo</city>
<city>Brasilia</city>
</country>
<country name="USA">
<city>New York</city>
<city>Los Angeles</city>
</country>
I don't know how to continue and what do I need to show it in the browser. Please, help me with a simple example.
Thanks!
A. Rafael

Take a look at the XML Developer's Kit (XDK) for PL/SQL.
The URL is: http://technet.oracle.com/tech/xml/xdk_plsql.html
You might also be interested in the XML Flight Finder sample application.
The URL is: http://technet.oracle.com/sample_code/tech/xml/xsql_servlet/files/ffhome.html
Best regards,
-rh
null

Similar Messages

  • In what case, we need to use PI for vendor replication in MM-SUS?

    Dear Experts,
    In what scenarios, we need to use or configure the PI settings for vendor replication between MM and SUS? The SAP configuration guide for SRM 7.01 mentions about the PI settings for vendor replication from ECC to SUS.
    However, we are able to replicate the vendor from ECC to SUS using the program BBPGETVD in SUS client?
    In what circumstances, we need to configure the PI settings for vendor replication when we are able to do so in a much simpler way?
    Thanks in advance,
    Ranjan
    Ranjan Sutradhar

    Hi Ranjan,
    In all circumstances you need to replicate vendors from MM to SUS via PI. BBPGETVD is not the right way to replicate vendors to SUS because the information like vendor class, assignment of this vendor class to an object and the vendor classification cannot be transferred via BBPGETVD.
    Hence you will have to use PI. You can try sending a PO from MM to SUS and the PO will fail in SUS with a message like 'Vendor not present in SUS' if you use BBPGETVD.
    Regards,
    Nikhil

  • What do I need to use sun.jdbc.odbc.jdbcOdbcDriver

    hi there
    what do I need to use sun.jdbc.odbc.jdbcOdbcDriver to access MS Access database?
    String sourceURL = "jdbc:odbc:mysource";
    String sqlQuery = "select ComsumerAccountNumber from EDS5";
    //getting a connection
    try {
    Class.forName(driverName);
    Connection databaseConnection = DriverManager.getConnection(sourceURL);
    Statement statement = databaseConnection.createStatement();
    ResultSet rs = statement.executeQuery(sqlQuery);
    while(rs.next()){
    ...some code to do with the results
    catch (ClassNotFoundException cnfe) {
    System.err.println(cnfe.getMessage());
    catch (SQLException sqle) {
    System.err.println(sqle.getMessage());}
    I got error and caught it in catch( classnotfoundexception). no driver. is this the correct way to use a driver. I have created a data source.

    make sure the driverName is "sun.jdbc.odbc.JdbcOdbcDriver"
    I noticed you typed in your message "sun.jdbc.odbc.jdbcOdbcDriver" with a lowercase 'j'

  • Does anyone know what converter i need to use to watch a dvd film on my phone

    does anyone know what converter i need to use to watch a dvd film on my phone

    Moveis/tv shows etc that you buy on DVD are encrypted to stop you from doing this.  Breaking this encryption is against the law.  We cannot help you break the law here.
    Sorry.

  • What do I need to use iphone and macbook air in europe

    What do I need to use iphone 4 and macbook air in europe? 

    Hello Bev23,
    Thank you for posting in the Apple Support Communities.  To charge your devices, you will need adapters for the country you are in.  We sell a Apple World Travel Adapter Kit that will work with several different countries and will work with both your MacBook Air and iPhone:
    Apple World Travel Adapter Kit
    http://store.apple.com/us/product/MB974ZM/B/apple-world-travel-adapter-kit
    You can also find information about wireless carrier support for using your iPhone in the article below.  You may need to contact your wireless carrier for more information about using your iPhone abroad:
    iPhone: Wireless carrier support and features
    http://support.apple.com/kb/HT1937
    Have a safe trip!
    Best,
    Sheila M.

  • Needing to use xml data source to populate richfaces tree nodes

    Hey I cant seem to figure this out. I know I probably need to write some java code but Im not sure how it should look. I have some xml and I need to use the data from within the elements to populate some nodes on a richfaces tree.
    I know how to use a .properties file as the data source for the nodes, and how to use some existign nodes to populate the nodes. Both are done with java code I can post here if needed.
    But I dont know how to go about writing the java code to take the data from xml elements, and then somehow parse it to use in a richfaces tree.
    Here is some info on what Im using with my project:
    eclipse
    simplexml
    httpclient
    jsf
    richfaces library

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - Using item renderers with the AdvancedDataGrid
    control:
    Flex Data Visualization Developer's Guide / Advanced Data
    Grid Controls and .... that the item renderer is for column 2 of
    the control: <?xml version='1.0'?
    Link:
    http://livedocs.adobe.com/flex/3/html/advdatagrid_10.html
    DataGrid ItemRenderer - Flex India Community | Google Groups:
    Apr 28, 2008 ... My dataGrid itemRenderer displays a certain
    icon and sets fontStyle ... <mx:Label id='txt' fontWeight='bold'
    text='{data.subject}'/>
    Link:
    http://groups.google.com/group/flex_india/browse_thread/thread/bd30dd974da47d68
    Flex 3 - DataGrid control:
    <mx:Button label='Toggle Price Column'
    click='price.visible = !price.visible;' ... Flex lets you populate
    a DataGrid control from an ActionScript variable
    Link:
    http://livedocs.adobe.com/flex/3/html/dpcontrols_6.html
    Flex Fun - Advanced DataGrid Topics:
    You will notice that the datagrid doesn't have any header
    labels or vertical ..... After the opening tag we add a
    <mx:itemRenderer> telling Flex that we are
    Link:
    http://blog.paranoidferret.com/index.php/2007/08/29/flex-fun-advanced-datagrid-topics/
    Flex 3 - Instrumenting RandomWalk events:
    Flex Data Visualization Developer's Guide / Advanced Data
    Grid Controls and Automation Tools ... itemRenderer = child as
    Label; dispatchEvent(rEvent);
    Link:
    http://livedocs.adobe.com/flex/3/html/functest_components2_20.html
    Adobe Flex 2: Advanced DataGrid:
    Adobe Flex 2: Advanced DataGrid. Drop-in RadioButtonGroupBox;
    runtime computed .... Anatole authored number of books and articles
    on AJAX, XML, Internet and
    Link:
    http://flex.sys-con.com/node/311283
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

  • What do i need to use?

    hi, i am new in jsp and i want to know what do i need to work with jsp and Where can i find that programs...I have worked with eclipse and the J2SE 1.5 SDK. Can i make web pages using eclipse?
    Do you know were i can find easy manuals to learn this topics?
    I wait to your answers...
    My e mail is: [email protected]
    Thanks!!

    I got started with JSP using Tomcat. It's free, which is always a big point for me. You can download it from tomcat.apache.org. The installation and configuration instructions are not necessarily extremely complete. I found it pretty easy to get a "default" installation up and running, but any time I had to tinker with settings, I found the documentation inadequate. Perhaps there are better-documented products out there or products with whiz-bang config programs: I haven't looked.
    I believe an excellent introductory text on jsp is "Core Servlets and JSP", available for free -- there's my second favorite price again -- at http://pdf.coreservlets.com/.

  • What do i need to produce XML from a query

    I am confused to what HTML DB, IAS, Portal products I need to have the database produce XML from a query. I want to write a simple query like select firstname, lastname from emp where username like 'someone'; and get XML from oracle
    <queryresults>
    <row index="1"><firstname>scott</firstname><lastname>tiger</lastname></row>
    </queryresults>
    Do I have to write custom procedures for each query or is there a neat out-of-the-box feature I can use here.

    Adobe Flash if the content is Flash based. It's a free download from Adobe's website. If you do download it, restart the computer after for the install to take effect.

  • What do I need to use unified messaging for single line voice mail

    I am a solo practitioner, and would like to use UM to answer calls to my business number, locate me on my cell phone if appropriate, or give a non-business hours message, and take a secure message.
    I do not want to use cell phone voice mail due to security concerns. I currently have a number that goes straight to a hippa compliant voice mail service only, but will not follow me on my cell. What is the minimal set up I need to forward calls to UM? Do
    I actually need a physical phone, or would just a sim chip or some other service work?

    Hello,
    Here is the entry for Exchange Online Forum:
    https://social.technet.microsoft.com/Forums/msonline/en-US/home?forum=onlineservicesexchange
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Long monitor cables... what do I need to use to connect across a room?

    Hi,
    I have an odd situation where I need to connect a PPC G5 to a couple of flat screen Dell monitors about 15 feet away, and then a Dell computer to two other Dell monitors that are also several feet away.
    So two computers, each CPU connected to two monitors across the room from each other. The two CPUs don't interact at all... this is just for the monitors.
    Are there cables this long? And do they make them for the Mac? And what would be the term for that... AVI? I usually just use the cables that come with the monitors and that's it, so I don't know the names for the connections at all.

    Sorry,
    The Dell monitors are 1908FP and P170S.
    My G5 has one of each kind of connector plus one adaptor.
    So, Do I look for a 10'+ cable with DVI to DVI? Or DVI to VGA? That's what I need to know and can't quite figure out.

  • In what circumstances would need to use ODI as a complement to a deployment of EDQ?

    Im about to do a presentation about Oracle Enterprise Data Quality and Oracle Data Integrator.
    In my understanding if I use ODI  to do ETL/EL-T tasks, ODI needs EDQ jobs to perform advance Data Quality procesing. In that escenario is perfectly understandable the implementation of both ODI and EDQ solutions.
    If I does not have any solution to do ETL/EL-T task, and my objetive is mainly do data cleansing, (take a set of data, cleaning it, and write the results on a database) why I would need ODI? There is a feature that I could need from it, that I do not have in EDQ for this purpose?
    This doubt came to me, becouse I found a lot of references that makes me think that this two solutions are codependents.
    Thanks for your reply!
    regards.

    Hi,
    This might help. Note that ODI and EDQ are normally sold together for Data Warehousing scenarios, though arguably data profiling, at least, is important in nearly all new projects that use ETL/E-LT technology.
    Some customers, especially MDM customers, do use EDQ for their ETL requirements, as these tend to be simpler than data warehousing scenarios where load plans and data aggregations are important. ODI also has more comprehensive connectivity than EDQ, for example for Mainframe systems.
    We are also seeing a trend for ETL/EL-T to be done strategically in such a way that it rarely needs revisiting for new projects; for example when a new system is onboarded, the key data is replicated or ETL'd into a standard holding area which is then used for any projects which require data from many source systems. This means that EDQ very often takes data output from ETL/EL-T without necessarily being embedded in the ETL or data replication flows.
    Very often both ETL and DQ are required
    It’s not the size or complexity of the transformation that is different, it’s the nature of the transformations – syntax or meaning?
    ODI will do all sorts of denormalisation/normalisation for populating star schemas that would be complex and slow in EDQ
    EDQ will do all sorts of things that improve the business value of the data that ODI would never do
    Data volumes are unlikely to be a guide as to which toolset would be used for a particular task
    Capability 
    Data Quality tools (e.g. OEDQ)
    ETL tools (e.g. ODI)
    Extraction of data from common types of modern database / common file types
    Yes
    Yes
    Native extraction of data from antiquated systems using specific APIs, and data from complex file types, e.g. XML, EBCDIC, EDI, IDoc
    No
    Yes
    Complex extraction rules
    No
    Yes
    Syntactic low-level transformations
    Yes
    Yes
    Data profiling
    Yes
    Basic or none
    Semantic understanding of data
    Yes
    No
    Complex transformations using semantic rules
    Yes
    No
    Complex transformations using non-semantic rules (aggregation, analytical, etc.)
    Possible, but ETL usually preferred
    Yes
    Complex matching and merging
    Yes
    Limited (ETL-type matching/merging) such as exact ID match
    Processing as native SQL on database for optimal performance wherever possible
    Some
    Yes
    Advanced performance parallelisation / distribution / control
    Rare
    Yes
    Multiple source/target mapping
    Some
    Yes
    Writing of data to target systems / staging areas / files
    Yes
    Yes
    Advanced load capability, e.g. single/packet/bulk, load plans etc.
    Rare
    Yes
    Typical users
    Business Users, Consultants, or IT Professionals
    IT Professionals
    Regards,
    Mike

  • Drive 2.1 can not connect to our cs3 versioncue server what do I need to use our projects in CS5?

    Mac XServe is our CS3 server. Trying to upgrade to CS5 and found out Version Cue is no longer. Read and found the Drive 2.0. It can't seem to connect to my current server. We still have access with one of our CS3 machines. Is there a program I need to get to continue on with our versioning and the ability to use our projects we have? Or do I need to go into every project and export or something to be able to start using CS5? Thank you in advance for any help!!!

    sunnovagun!
    Hitting the Log Out button in the MobileMe panel worked. I can now connect to both the SnowLeopard and Lion servers just like I used to.
    My condition appears to have been slightly different from yours, gmia - the MobileMe on my MBP had the correct info, but hose are not the credentials i use to remote to the two servers. I'm guessing that for some reason ScreenSharing began using my MobileMe credentials instead of what I had saved in the keychains.
    Wonder if it had anything to do with the shutdown of the MM servers. That would be odd as using ones apple ID to log into a Mac remotely was new with Lion, and I had the same problem with our SnowLeopard server - which I remote into much more frequently.
    Probably didn't hurt though to reboot the entire network...

  • What libraries are needed to use these functions

    Hey Guys,
    I have a short three line code,
    TTConnection conn;
    TTStatus stat;
    conn.Connect("DSN=MyDSN", stat);
    Just to compile & link this code what all libraries do I need ?
    I am using the following libraries,
    "-L C:\Dev-Cpp\lib -lttclasses70CS"
    "-L C:\Dev-Cpp\lib -ltten70.lib"
    "-L C:\Dev-Cpp\lib -lttdv70.lib"
    Is this ok
    - prashant

    It depends on whether the application is using client/server or direct mode connectivity to TimesTen.
    For client/server with TTClasses you need:
    ttclasses70cs.lib
    ttcl70.lib
    For direct mode you need:
    ttclasses70.lib
    ttdv70.lib
    tten70.lib
    If you want the application to dynamically use client/server or direct mode based on the DSN definition use:
    ttclasses70dm.lib
    odbc32.lib (Microsoft driver manager library)
    Note that there is a significant performance hit in using the driver manager.
    Chris

  • In what condition we need to use CHARTOROWID

    Dear all,
    I don't quite understand why do we need CHARTOROWID function.
    when I do this:
    SQL> select rowid, chartorowid(rowid) test from employees where employee_id=100;
    ROWID                         TEST
    AAADYiAABAAAKb6AAA AAADYiAABAAAKb6AAA
    SQL> select first_name from employees where rowid='AAADYiAABAAAKb6AAA';
    FIRST_NAME
    Steven
    SQL> select first_name from employees where rowid=chartorowid('AAADYiAABAAAKb6AAA');
    FIRST_NAME
    StevenI still can query the row without the function... so what is the function for?
    best regards,
    valerie

    You can use implicit data type conversion - let the SQL engine figure out what needs to be converted and how (formatting to use).
    Or you can use explicit data type conversion - where your code provides the conversion that needs to be performed and include the rules and formatting for that conversion. This is usually the safer and more robust option.
    So when you do the following:
    select first_name from employees where rowid='AAADYiAABAAAKb6AAA';
    Oracle needs to implicitly convert that string you have supplied to a rowid data type.
    When you do this:
    select first_name from employees where rowid=CharToRowId('AAADYiAABAAAKb6AAA');
    You are instructing Oracle to explicitly convert that string to a rowid data type.
    As a basic rule, always consider using explicit conversions - as implicit conversions can depend on internal (session) settings and may convert differently than what you assume.

  • What adaptors are needed to use in Italy

    Going to Itally and trying to understand what electrical addaptors I will need. Will I need just a plug addaptor or will I need a transformer also?

    An inexpensive plug adapter is all that is required. Your Mac's power adapter will accept any utility voltage and frequency available on Earth.
    You can buy this:
    http://store.apple.com/us/product/MB974ZM/B/apple-world-travel-adapter-kit
    ... or you can buy a set from Wal-Mart for about $30 less.

Maybe you are looking for

  • Grey songs appear after managing music, and seemed to be unplayable/lost. Videos lost as well. How do i retrieve them?

    After doing some actions with my iPod Touch 4G, ALL my music AND video library turned grey, or rather, after pressing the Music app, I received the message, along the lines of "There is no music." This is on my Mac laptop with an older version of itu

  • HT1386 home button dont work and it say ipod is disable and connect to itunes?

    I have a ipod and the home and power button dont work so there is button on the screen that is the home button. Now all it says is IPod is disabled connect to itunes? any help

  • Creating a virtual private network?

    I've been reading some articles recently about creating a virtual private network for security and privacy reasons. Is it easy and is it a good thing to do? One part mentioned possibly having to pay a subscription for this service with your service p

  • In need of advice/help.

    I am having some serious issues with my MacBook. First, I think it is overheating. I can not run my computer for longer then an hour without it getting hot. My keyboard is getting hot along with my charger. I am not sure if this is a normal MacBook t

  • PDF Files Not Opening Within Browser(s)

    All PDF files that I try to view within a browser (Firefox or Explorer) get sent (downloaded to) my download folder called, Downloads.  In the past, I was able to view these files from within the browser...what I prefer to have happen.  Can someone t