XML and sending its data by sockets

In my new project, i need to receive data from an XML file and send it to a client when the client has requested it from my server.
so far, i've stored the elements into variables (i'll call them item1, item2, and item3 for now). I put this into the protocol so when the client calls upon the server to store itemn to one of its variables, it will do so.
apperently, all this does is send my String variable output, which starts out as null and doesn't change, and so the output remains null which in turn will close my client. here's my protocol (it gathers data from avalonmap.xml):
* xmlStorage.java
* Created on January 3, 2006, 12:23 AM
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
package mudmap.xml;
import java.io.*;
import org.xml.sax.*;
import org.xml.sax.helpers.DefaultHandler;
import javax.xml.parsers.SAXParserFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
* @author Fender Bender
public class mapLoader extends DefaultHandler {
    StringBuffer textBuffer;
    String roomName, region, color, roomOwner,roomCCC, roomCCCID, roomItem,
            roomItemID;
    String directions[];
    String dx,dy;
    static String currentElement;
    /** Creates a new instance of mapLoder() */
    public mapLoader() {
    public String processInput(String input) {
        String output="hello";
        if(input=="getRoom") { // for now, I'll call this item1. if client requests
            output = roomName;  //  it, the output will be roomName
                                                  // which is defined at //============
                                                  // in EchoText()
        return output;
    public static void main(String argv[]) {
        // Use an instance of ourselves as the SAX event handler
        DefaultHandler handler = new mapLoader();
// Use the default (non-validating) parser
        SAXParserFactory factory = SAXParserFactory.newInstance();
        try {
// Set up output stream
            out = new OutputStreamWriter(System.out, "UTF8");
            SAXParser saxParser = factory.newSAXParser();
            saxParser.parse( new File("avalonmap.xml"), handler );
        } catch (Throwable t) {
            t.printStackTrace();
        System.exit(0);
    static private Writer out;
    public void startDocument()
    throws SAXException {
        nl();
        nl();
        emit("START DOCUMENT");
        nl();
        emit("<?xml version='1.0' encoding='UTF-8'?>");
    public void endDocument()
    throws SAXException {
        nl();
        emit("END DOCUMENT");
        nl();
        emit(region + "\n" + color + "\n" + roomOwner  + "\n" + roomName + "\n" +
                dx + "," + dy + "\n" + "room CCCs: " + roomCCC + " (" +
                roomCCCID + ")\n" + "room items: " + roomItem + " (" +
                roomItemID +")");
        try {
            nl();
            out.flush();
        } catch (IOException e) {
            throw new SAXException("I/O error", e);
    public void startElement(String namespaceURI,
            String sName, // simple name
            String qName, // qualified name
            Attributes attrs)
            throws SAXException {
        echoText();
        nl();
        emit("ELEMENT: ");
        String eName = sName; // element name
        if ("".equals(eName)) eName = qName; // not namespace-aware
        emit("<"+eName);
        currentElement=eName;
        if (attrs != null) {
            for (int i = 0; i < attrs.getLength(); i++) {
                String aName = attrs.getLocalName(i); // Attr name
                if ("".equals(aName)) aName = attrs.getQName(i);
                nl();
                emit(" ATTR: ");
                emit(aName);
                emit("\t\"");
                emit(attrs.getValue(i));
                emit("\"");
        if (attrs.getLength() > 0) nl();
        emit(">");
    public void endElement(String namespaceURI,
            String sName, // simple name
            String qName // qualified name
            throws SAXException {
        echoText();
        currentElement="";
        nl();
        emit("END_ELM: ");
        String eName = sName; // element name
        if ("".equals(eName)) eName = qName; // not namespace-aware
        emit("</"+eName+">");
    public void characters(char buf[], int offset, int len)
    throws SAXException {
        String s = new String(buf, offset, len);
        if (textBuffer == null) {
            textBuffer = new StringBuffer(s);
        } else {
            textBuffer.append(s);
    private void echoText()
    throws SAXException {
        if (textBuffer == null) return;
        nl();
        emit("CHARS:  |" + currentElement + ": ");
        String s = ""+textBuffer;
        if(currentElement=="region") {
            region = s;
        } else if(currentElement=="color") {
            color = s;
        } else if(currentElement=="roomOwner") {
            roomOwner = s;
        } else if(currentElement=="roomName") {
            roomName = s;                                             //============
        } else if(currentElement=="x") {
            dx = s;
        } else if(currentElement=="y") {
            dy = s;
        } else if(currentElement=="roomCCC") {
            roomCCC = s;
        } else if(currentElement=="roomCCCID") {
            roomCCCID = s;
        } else if(currentElement=="roomItem") {
            roomItem = s;
        } else if(currentElement=="roomItemID") {
            roomItemID = s;
        emit("|");
        textBuffer = null;
    private void emit(String s)
    throws SAXException {
        try {
            out.write(s);
            out.flush();
        } catch (IOException e) {
            throw new SAXException("I/O error", e);
    private void nl()
    throws SAXException {
        String lineEnd = System.getProperty("line.separator");
        try {
            out.write(lineEnd);
        } catch (IOException e) {
            throw new SAXException("I/O error", e);
}

for one thing, don't use == to compare strings... You have that all over the place, like:
if(currentElement=="region") {                                                                                                                                                                                                                                                   

Similar Messages

  • How to send string data through socket!

    Is there any method to send string data over socket.
    and if client send string data to server,
    How to get that data in server?
    Comments please!

    Thank for your kind answer, stoopidboi.
    I solved the ploblem. ^^;
    I open the source code ^^; wow~~~~~!
    It will useful to many people. I spend almost 3 days to solve this problem.
    The program works like this.
    Client side // string data ------------------------> Server side // saving file
    To
    < Server Side >
    * Server.java
    * Auther : [email protected]
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Server extends JFrame
         private JTextField enter;
         private JTextArea display;
         ObjectInputStream input;
         DataOutputStream output;
         FileOutputStream resultFile;
         DataInputStream inputd;
         public Server(){
              super("Server");
              Container c = getContentPane();
              enter = new JTextField();
              enter.setEnabled(false);
              enter.addActionListener(
                   new ActionListener(){
                        public void actionPerformed(ActionEvent ev){
                             //None
              c.add(enter, BorderLayout.NORTH);
              display = new JTextArea();
              c.add(new JScrollPane(display),
                     BorderLayout.CENTER);
              setSize(300, 150);
              show();
         public void runServer(){
              ServerSocket server;
              Socket connection;
              int counter = 1;
              display.setText("");
              try{
                   server = new ServerSocket(8800, 100);
                   while(true){
                        display.append("Waiting for connection\n");
                        connection = server.accept();
                        display.append( counter + " connection is ok.\n");
                        display.append("Connection " + counter +
                             "received from: " + connection.getInetAddress().getHostName());
                        resultFile = new FileOutputStream("hi.txt");
                        output = new DataOutputStream(resultFile);
                        output.flush();
                        inputd = new DataInputStream(
                             connection.getInputStream()
                        display.append("\nGod I/O stream, I/O is opened\n");
                        enter.setEnabled(true);
                        try{
                             while(true){
                                  output.write(inputd.readByte());
                        catch(NullPointerException e){
                             display.append("Null pointer Exception");
                        catch(IOException e){
                             display.append("\nIOException Occured!");
                        if(resultFile != null){
                             resultFile.flush();
                             resultFile.close();
                        display.append("\nUser Terminate connection");
                        enter.setEnabled(false);
                        resultFile.close();
                        inputd.close();
                        output.close();
                        connection.close();
                        ++counter;
              catch(EOFException eof){
                   System.out.println("Client Terminate Connection");
              catch(IOException io){
                   io.printStackTrace();
              display.append("File is created!");
         public static void main(String[] args){
              Server app = new Server();
              app.addWindowListener(
                   new WindowAdapter(){
                        public void windowClosing(WindowEvent e){
                             System.exit(0);
              app.runServer();
    < Client side >
    * Client.java
    * Auther : [email protected]
    package Client;
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Client extends JFrame
         private JTextField enter;
         private JTextArea display;
         DataOutputStream output;
         String message = "";
         public Client(){
              super("Client");
              Container c = getContentPane();
              enter = new JTextField();
              enter.setEnabled(false);
              enter.addActionListener(
                   new ActionListener(){
                        public void actionPerformed(ActionEvent e){
                             //None
              c.add(enter, BorderLayout.NORTH);
              display = new JTextArea();
              c.add(new JScrollPane(display), BorderLayout.CENTER);
              message = message + "TT0102LO12312OB23423PO2323123423423423423" +
                        "MO234234LS2423346234LM2342341234ME23423423RQ12313123213" +
                        "SR234234234234IU234234234234OR12312312WQ123123123XD1231232" +
                   "Addednewlinehere\nwowowowwoww";
              setSize(300, 150);
              show();
         public void runClient(){
              Socket client;
              try{
                   display.setText("Attemption Connection...\n");
                   client = new Socket(InetAddress.getByName("127.0.0.1"), 8800);
                   display.append("Connected to : = " +
                          client.getInetAddress().getHostName());
                   output = new DataOutputStream(
                        client.getOutputStream()
                   output.flush();
                   display.append("\nGot I/O Stream, Stream is opened!\n");
                   enter.setEnabled(true);
                   try{
                        output.writeBytes(message);
                   catch(IOException ev){
                        display.append("\nIOException occured!\n");
                   if(output != null) output.flush();
                   display.append("Closing connection.\n");
                   output.close();
                   client.close();
              catch(IOException ioe){
                   ioe.printStackTrace();
         public static void main(String[] args){
              Client app = new Client();
              app.addWindowListener(
                   new WindowAdapter(){
                        public void windowClosing(WindowEvent e){
                             System.exit(0);
              app.runClient();

  • My itunes says that my ipod is synced with another library when it is not and cannot update or sync without wiping it and all its data

    My itunes says that my ipod is synced with another library when it is not and cannot update or sync without wiping it and all its data
    Can anyone help me

    Syncing to a new iTunes library or computer will erase your ipod. Only if you back up your iPod manually before syncing, you can restore your device from that backup again. A manual backup does not include the sync process.
    Do this:
    Disable autosync in iTunes, connect your iPod to your new computer and right click on it in the device list and choose backup. iTunes will backup your iPod without syncing.
    Transfer your purchases the same way, choosing "transfer purchases" this time.
    All media content will be erased during the first sync, but you can restore your settings and app data from your manual backup afterwards.
    Don't forget to set up at least one contact and event on your new computer to be able to merge calendars and contacts when you sync the ipod for the first time.
    Music is one way only, from the computer to your device, unless you bought the songs in itunes and transferred your purchases.
    There is 3rd party software out there, but not supported by Apple, see this thread:http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0

  • IDOC to XML and send it to SAP SCM SNC(Supplier network colloboration)

    I am currently working in a project which I need to send the PO IDOC to PI (which is working fine) and convert it to xml and send it to SNC system which is SAP SCM system. I am not sure if this is going to be an IDOC or xml , I wasn't given more information as all of us are new to this SNC environment. Any help would highly appreciated.
    Thanks,
    Menaga

    Following are the interface mappings in use for the Purchase Order scenario from ERP to SNC
    1. create purchase order -> display PO (ERP to SNC)
    OrdersOrders05_ReplenishmentOrderNotification_01
    2. Create or change PO -> Display updated PO (ERP to SNC)      
    OrdchgOrders05_ReplenishmentOrderNotification_01
    3. Confirm PO or change in web UI (SNC to ERP)
    ReplenishmentOrderConfirmation_OrdrspOrders05_01
    4. Create or Change Purchase Order -> Receive and Display Purchase Order     (ERP to SNC)     
    OrdntfOrdint01_ReplenishmentOrderNotification_01
    Just configure the Integration scenario "MaintainPurchase_Order_Processing" from http://sap.com/xi/SNC/Global namespace present in SNC 5.1 SWC
    in your ID.
    In SNC Scenarios Idocs will be sent and received from ERP and ABAP Proxies (Client/ Server) used at SNC side. You do not have to code for the ABAP Proxies as the proxies will already be inmplemented in your SNC system.
    So 1. configure your SNC system for ABAP Proxy configuration
    2. Configure the Integration scenario "MaintainPurchase_Order_Processing" in ID
    3. Configure your ERP system for IDoc send/ receive
    You are done.

  • Submit Statement for calling smartform and using its data in another report

    Hello Everybody
    There is one report which display smartform as an output.  My requirement is to call that report and return back without showing its output and use its data for futher use in the report. i Hope i m clear with my query. Plzz reply its urgent.
    Currectly i m using this statement :
    SUBMIT  ZPOPRINT  WITH PO_NUM EQ IT_EKKO1-EBELN exporting list to memory and return.
    while executing the program, after this statement i m getting an output.  but i need to store it in memory, not to display the output.
    Waiting for ur reply..
    Thanks and Regards
    Virendra

    Hi.
    I have not done this kind of requirement. What i said was just an option which came to my mind. Also not sure whether it will work for you. While submitting ,instead of exporting list to memory do submit to SAP-SPOOL. Then later read the spool content to internal table.
    I am referring you two links for this.
    [Submit to SAP-SPOOL|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_LIST_OPTIONS.htm]
    [Spool to Internal table|spool file data to internal table].
    Also search for related topic in SCN.
    Regards
    Kesav

  • I have an iPhone 3GS that I dropped in water. It still does everything but get service, can I back it up and transfer its data to a new iPhone 3GS? I heard something about how loading a backup from a water damaged phone could mess up the new one...

    I have an iPhone 3GS that I dropped in water for a moment. After drying it and everything, it still does everything but get service. Can I back it up and transfer its data to a new iPhone 3GS? I heard something about how loading a backup from a water damaged phone could mess up the new one... is this true? I would truly appreciate the help, please let me know, thanks!

    Sounds like your phone is in recovery mode.  In this case, all data on it is gone.  There's nothing to back up.

  • How to assign a button for attachment and send the data through browser ?

    Hi friends,
    How to convert to browser ?
    how to assign a button for attachment and send the data through browser ?
    Thanking you.
    Regards
    Subash.

    Refer to
    How to create a text box in ascreen painter?
    where another user (venkateshwar reddy) has asked a very similar question...
    Jonathan

  • SAP BW data in ODS to XML and sending this XML file to 3rd Party

    Hi Gurus,
    We are having a scenario in which we have to convert our data in ODS to XML and need to provide this XML file to our clients so that they can use this XML file in their 3rd party system.
    Now the issue is that i have created ABAP program for converting into XML.
    If I execute this program, since i have given path as my Desktop, the converted XML file gets saved on my Desktop.
    But the problem is how i can provide this XML file to the client.
    Is there any way of converting this XML file to html and send them the URL ......
    plz suggest me.... what can be done......
    my ABAP code u can see in the following link
    Extract SAP BW Data into XML
    thanks and regards,
    P.Madhusudhan Raju

    Hi,
    Pls go through the link below it may help you
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417100)ID1537206350DB01670597797729934632End?rid=/library/uuid/8c10aa90-0201-0010-98a0-f071394bc9ae&overridelayout=true
    Regards,
    Marasa.

  • HT204406 Does iTunes match have to look for all music on my computer and send that data to and from Apple every time I open iTunes? This frequently makes iTunes crash before I even get to listen to one song. Installing the latest version of iTunes does no

    Does iTunes have to check all my music for match every time I open iTunes even when nothing has changed in the music folder?  This is just one problem I have with iTunes and match.  Every time I open iTunes, the first thing happening is iTunes checking my music and sending the information to Apple and then waiting for Apple to send back information about match. There is a third step that I have never seen iTunes actually reach as it always crashes before finishing this ritual with my music and match.  Since I paid for match I can no longer use iTunes to listen to any of my music. I like having match function on my iPhone because even 128 GB is not enough space to keep a music library and everything else needed on the iPhone.  But it's been a disaster with iTunes on my Windows 7 PC. I updated iTunes recently and the same problem continues.  I can't find any clear description of how match works but it seems if there has been no change to the music folder then the tedious and buggy process of checking all music for match and sending data back and forth to Apple every time iTunes is used should not be necessary.  Is there possibly something I have to change settings for to help iTunes start without so much to do?

    If your library was working on your computer and then popped up empty all of a sudden then this might be what you need...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • XML and Web Service Data Source Missing in Crystal Reports for VS

    I would like to use a Web Service as the data source for a Crystal Report that will be running outside of my Visual Studio application.  So setting the data source to the web service in code is not possible.  My understanding is Crystal Reports has a connection (in the Database Expert under New Connection) named XML and Web Service.  Here you can select web service and enter the WSDL URL for the web service.  However it does not appear in the list for Crystal Reports for Visual Studio.  Does this connection type come with the Visual Studio version of Crystal Reports and if not is their a way to obtain it? 
    Thank you for your assistance.

    None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
    So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
    - Ludek

  • Conversion of purchasing idoc to xml and sending with FTP to supplier

    Hello,
    I have a question about something i am not very familar with. And i could not find the answer in this forum.
    We have a supplier who wants to receive our orders by EDI.
    The plan is to convert the IDOC to XML and to send this XML by FTP to our supplier.
    Could anyone give me some hints to achieve this.
    usefull help will be rewarded.
    Gr., Frank

    Hi,
    1. Create XML port in WE21.
    2. Configer the partner profile in WE20 for required message type.
    3. Access the file by using transaction AL11.
    Thanks,
    Asit Purbey

  • Send XML and receive binary data via SOAP

    Hi folks,
    following idea (Client-Server-Rendering-Architecture):
    1. Send XML as JavaScript variable via SOAP to the InDesign Server
    2. Attached the XML String to a new document or template
    3. Apply several XMLRules to the docuument
    4. Render to document as JPG|PDF whatever
    5. Transmit the JPG (means binary) via SOAP back to the client
    Following problems raised by implementing this
    1. Build a new XML-Object with new XML() works, but how to attach this object to the document, i've just found importXML() but from file, not string and xmlElements.add() for adding just a tag not a whole xml tree. The importXML() performance from a File object is not that fast ...
    2. How to render a document not to a file with exportFile() but into a variable, object etc.?
    3. How to send a binary object (from an object, a variable or File object if not possible as describe in Q#2) back to the client via SOAP (scriptResult)? Do I have to expand the WSDL (and|or C++ API), any examples?
    Thanks for your help, by the way, the describe scenario is what I expect of a rendering server not more not less ...
    Tino

    for one thing, don't use == to compare strings... You have that all over the place, like:
    if(currentElement=="region") {                                                                                                                                                                                                                                                   

  • Best way to write objects in an xml and send the file?

    hello all
    i am making some objects, which i conver to xml using the XStream and then i am saving them to a file, call a function to send the file to a servant (basically i do this by sending bytes and this may be the problem). In the servant i take the data i write them to a file and then i read them again to make them objects...
    i have the following code in the client
            XStream xstream = new XStream(new DomDriver());     
            xstream.alias("Jobb", WorkflowFramework.Jobb.class);
         String xml = xstream.toXML(translation);
               FileWriter fw = new FileWriter("translation.xml");
               ObjectOutputStream out = xstream.createObjectOutputStream(fw);
               out.writeObject(new Jobb("ougk2", "Walnes",null));
               out.close();
               File file=new File("translation.xml");
               byte buffer[]=new byte[(int)file.length()];
               try {
                    BufferedInputStream input=new BufferedInputStream(new FileInputStream("translation.xml"));
                    input.read(buffer,0,buffer.length);
                    input.close();
               } catch(Exception e) {
                      System.out.println("Error: "+e.getMessage());
                       e.printStackTrace();
               theRemoteObjRef.translationService(theCallbackObjectRef, buffer);i write the file and then i read it so as to have a buffer of bytes (there should be a better ways..)
    the last line sends an objectRef (we dont care about that) and the file in bytes to a server (to be specific to a servant of a server)..
    in the servant i do the following
    public void translationService(TheCallbackInterface objRef, byte data[]){
              try{
                        File file = new File("translation2.xml");
                    BufferedOutputStream output = new BufferedOutputStream(new FileOutputStream("translation2.xml"));
                  output.write(data, 0, data.length);
                  output.flush();
                  output.close();
              } catch(Exception e) {
                        System.out.println("Error: " + e.getMessage());
                        e.printStackTrace();
               XStream xstream = new XStream(new DomDriver());
               try { // If an error occurs, go to the "catch" block
                    FileReader fr2 = new FileReader("translation2.xml");
                    ObjectInputStream in = xstream.createObjectInputStream(fr2);
                    Jobb newJob = (Jobb)in.readObject();
                   System.out.println(newJob.getObjServerRef());
                   System.out.println(newJob.getForTranslation());
                   System.out.println(newJob.getTranslated());
                    }catch (Exception e) {  
                         System.err.println("File input error"+e);
                    Jobb testJob=new Jobb("ougka","mpougka","falalala");
                    System.out.println(testJob.getObjServerRef());
                       System.out.println(testJob.getForTranslation());
                    System.out.println(testJob.getTranslated());
    the problem is that in the first group of System.out.println i get the error File input errorcom.thoughtworks.xstream.mapper.CannotResolveClassException: Jobb : Jobb
    but the second group of printlns, prints the correct results...
    do you know what is the problem? Why can i read the content of the file and get the objects from there?
    do you have any suggestions of writing and reading the file in an another way or to send it by NOT using a bytes array?
    do you have an alternative way of making the xml file?
    many thanks!

    Hi,
    I would suggest to reconsider building of your document so that it doesn't contain duplicates if you don't need them. And it doesn't have much to do with DB XML then.
    Also you could insert your document with duplicates and use XQuery Update facilities to delete undesirable nodes.
    Vyacheslav

  • Creation of custom field on BId screen And send this data to backend in PO

    HI Expert,
    I have to add custom field on bid item data. I have did this and able to see this field on bids screen.
    the scenario is like once bid is accepted it will create PO in backend.
    now i need to carry the data from this custom field to backend PO.
    please give me the solution if it possible. we are using classic scenario.
    thanks in advance.

    thanks for reply
    I have did same thing but in input parameter of bado i am getting the shoping cart GUID . form which how i can get the Bid detail.
    and other part is I need to send data by extension this this how we can do ?
    do we need to write code in backend also and need to create custom field in backend PO table.
    Thaks for reply

  • How to parse XML and store the data in  tables using sql or plsql?

    I want to parse the xml
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <xmlListWrapper>
        <size>2</size>
    <AppTypeID>10</AppTypeID>
    </xmlListWrapper>
    and store in a table
    |pk|apptypeid|
    1     10

    You can extract data from your XML along these lines...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select xmltype('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      2  <xmlListWrapper>
      3    <size>2</size>
      4    <AppTypeID>10</AppTypeID>
      5    <AppTypeID>20</AppTypeID>
      6  </xmlListWrapper>') as xml from dual)
      7  --
      8  -- end of example data
      9  --
    10  select x.*
    11  from   t
    12        ,xmltable('/xmlListWrapper/AppTypeID'
    13                  passing t.xml
    14                  columns pk for ordinality
    15                         ,apptypeid number path '.'
    16*                ) x
    SQL> /
            PK  APPTYPEID
             1         10
             2         20
    SQL>
    Inserting it to a table is obviously achieved using an INSERT ... SELECT ... where the SELECT is extracting the data from the XML.

Maybe you are looking for

  • Get error message when trying to sync through Blackberry Device Manager

    During the synchronization process, I get an error message: Error encountered. Error code - 0x80040fb3. Check documentation. This is during the Address Book synchronization. Help...I have no contacts and only a portion of my notes are syncing to my p

  • Problem with Adapter Specific Identifiers

    Dear All, I have made all the developments and have migrated them to the PRD server which is my XIP. Now in the XID (DEV server) i had the interfaces connected with the R3 Devlopment (BDS). When i have migrated the Developments of XID to XIP the Busi

  • LMS 3.2 - RME 4.3.1 - Report Generator scheduled Syslog-Reports

    Hi all, within Report Generator in RME 4.3.1 I discovered an issue with newly added devices in scheduled Syslog Severtiy Level Summary Reports. Settings for the report - Device Selector: All Devices - Data Range: 24 hours - Schedule: daily, at xx:xxh

  • How to remove dirt stains on aluminium lid of Macbook pro?

    Good day! I recently found some marks and stains of dirt in my macbook pro's aluminum body. I tried wiping it off with Alcohol and Water but it won't disappear it looks like its stained on the metal already. Is there any thing I can apply on the surf

  • Elearning 2.5 FATAL error DW020

    I purchased elearning 2.5 as an upgrade to creative suite 5.5 I am familiar with the errors and warnings generated during adobe product installation typicall the DW020 associated with adobe flash player 10 ActiveX is considered an ignorable error dur