Videophone example, XML result into a list?

In the video phone application, the reg.cgi appears to ouput a list of 'friends' in xml format
(from regcgi)
for f in friends:
    print "\t<friend>\n\t\t<user>%s</user>" % (xml.sax.saxutils.escape(f), )
    c = db.cursor()
    c.execute("select m_username, m_identity from registrations where m_username = ? and m_updatetime > datetime('now', '-1 hour')", (f, ))
    for result in c.fetchall():
        eachIdent = result[1]
        if not eachIdent:
            eachIdent = ""
        print "\t\t<identity>%s</identity>" % (xml.sax.saxutils.escape(eachIdent), )
        if f != result[0]:
            print "\t\t<registered>%s</registered>" % (xml.sax.saxutils.escape(result[0]), )
    print "\t</friend>"
and the flash app appears to get the results as follows
(from httpmanager)
else if (result.result.hasOwnProperty("friend"))
                    // party query response
                    remote = result.result.friend as Object;
                    if (remote.hasOwnProperty("user") && remote.hasOwnProperty("identity"))
                        var identityString:String = remote.identity
                        var userString:String = remote.user;
                        var r:IdManagerEvent = new IdManagerEvent("lookupSuccess", userString, identityString);
                        dispatchEvent(r);
and it places a call to one of the 'friends' as follows
(from the videophone app file)
else if (e.type == "lookupSuccess")
                    // party query response
                    var i:IdManagerEvent = e as IdManagerEvent;
                    placeCall(i.user, i.id);   
My query is, how would I take the full list that was returned as XML, and for example, populate a list with that data?
How do you iterate through the list, extracting the required values and put them into a list?
Im new to flash, and trying to get my head around how to do these simple things...
Can anyone shed any light, as Im learning loads, but keep hitting struggling points like this as I dont have a clue how flash does these things, and dont know what to investigate... Once a pointer in the right direction is given,  a small example like this is shown, I can take it from there, and investigate/learn more.
t

Hi ken_from_uk,
you can convert your xml to an array collection and you can easily iterate using for loop and access the values in the list ...You can see the code below how to convert xml to ArrayCollection...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="convertXMLtoArrayCollection()">
<mx:Script>
  <![CDATA[
   import mx.collections.ArrayCollection;
   import mx.rpc.xml.SimpleXMLDecoder;
   private var arrayCollection:ArrayCollection = new ArrayCollection();
   private function convertXMLtoArrayCollection():void
    var xml:XML = new XML(xmlStates.toString());
    var xmlDoc:XMLDocument = new XMLDocument(xml);
    var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true);
    var resultObj:Object = decoder.decodeXML(xmlDoc);
    if(resultObj.states.state is ArrayCollection)
     arrayCollection = resultObj.states.state as ArrayCollection;
    else if(resultObj.states.state is Object)
     arrayCollection.addItem(resultObj.states.state);
  ]]>
</mx:Script>
<mx:XML xmlns="" id="xmlStates">
  <states>
      <state>
          <name_state>State x:</name_state>
          <code_state>X</code_state>
          <cities>
              <city>
                  <name_city>City One</name_city>
                  <population_city>20000</population_city>
              </city>
              <city>
                  <name_city>City Two</name_city>
                  <population_city>10000</population_city>
              </city>
              <city>
                  <name_city>City Three</name_city>
                  <population_city>80000</population_city>
              </city>
          </cities>
      </state>
      <state>
          <name_state>State y:</name_state>
          <code_state>X</code_state>
          <cities>
              <city>
                  <name_city>City Four</name_city>
                  <population_city>50000</population_city>
              </city>
              <city>
                  <name_city>City Five</name_city>
                  <population_city>40000</population_city>
              </city>
              <city>
                  <name_city>City Six</name_city>
                  <population_city>70000</population_city>
              </city>
          </cities>
      </state>
  </states>
</mx:XML>
</mx:Application>
Thanks,
Bhasker Chari

Similar Messages

  • Append xml node into a list

    Hi,
    In an embedded sub process with looping logic, we have a db adapter call.
    We are trying to insert the single response object from each of the db adapter call into a list.
    Problem we are facing is the list is not able to append the new db response into the list.
    AppendToList is not of help. XSLT construct copy-to was not of help.
    Using the following three messages
    Msg1: - Loop Interation 1
    <elementCollection>
    <element>aaa</element>
    </elementCollection>
    Msg2: - Loop Interation 2
    <elementCollection>
    <element>bbb</element>
    </elementCollection>
    Msg3: - Loop Interation 3
    <elementCollection>
    <element>ccc</element>
    </elementCollection>
    to be inserted into the following message
    Result: - After all the iterations
    <elementCollection>
    <element>aaa</element>
    <element>bbb</element>
    <element>ccc</element>
    </elementCollection>
    Any help/pointers will be appreciated.
    Edited by: 905033 on Jul 4, 2012 10:32 PM
    provided sample messages
    Edited by: 905033 on Oct 23, 2012 2:55 AM

    Please see the transformation bellow... I've built a quick sample and it worked for me.
    Cheers,
    Vlad
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    https://forums.oracle.com/forums/ann.jspa?annID=893
    <xsl:stylesheet version="1.0"
      <xsl:param name="Variable_2"/>
      <xsl:param name="Variable_3"/>
      <xsl:template match="/">
        <ns0:elementCollection>
          <xsl:for-each select="ns0:elementCollection/ns0:element">
            <ns0:element>
              <xsl:value-of select="."/>
            </ns0:element>
          </xsl:for-each>
          <xsl:for-each select="$Variable_2/ns0:elementCollection/ns0:element">
            <ns0:element>
              <xsl:value-of select="."/>
            </ns0:element>
          </xsl:for-each>
          <xsl:for-each select="$Variable_3/ns0:elementCollection/ns0:element">
            <ns0:element>
              <xsl:value-of select="."/>
            </ns0:element>
          </xsl:for-each>
        </ns0:elementCollection>
      </xsl:template>
    </xsl:stylesheet>

  • XML data into Combo & List

    Hi
    I am too new to this and still tring to learn. Well here is what I am into. I am trying to make a simple product catalog, using native components
         a combobox to display DISTINCT health issues
         a listbox to display the products associated to the selected health issue item in ComboBox
         a textarea to display complete information about the selected product in listbox
    Data comes from single external xml file.
    I was able to start off with Combo, but I don't know how to display DISTINCT ITEMS IN IT? Now it display all items including duplicates. Then I added eventlistener to Combo, which on change, the data for selected item is displyed in Textarea, but i don't know how to hook this to List component.
    All files available here:
    https://docs.google.com/folder/d/0ByHOlDbL5njbX1FFd1UtTFNzMTg/edit
    Sure some of you can do it so easy. Appreciate your time and help.
    Thank you
    Kristtee

    Filter the XML before using it to create your dataProvider http://joshblog.net/2007/05/17/filter-xml-data-with-e4x-in-flash-part-2/

  • Load XML file into either List MyType or ObservableCollection MyType

    I have been searching and trying different suggestions for three days now, full time.  I am building a universal app for Windows 8.1 and Windows Phone 8.1.  The problem, apparently, is that doing this is different between Windows 7.1, Windows
    Phone 7.1, Windows 8, Windows 8.1, Windows Phone 8.1, and Windows 8.1 universal apps.  You find hundreds of different ways of doing this, none of which work.
    My XML file is of the form:
    <?xml version="1.0" encoding="utf-16"?>
    <ArrayOfPrize xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Prize>
        <PrizeName>Dog</PrizeName>
        <PrizePath>http://www.dog.com</PrizePath>
        <PrizeOwner>System</PrizeOwner>
        <PrizeChecked>false</PrizeChecked>
        <Won>false</Won>
      </Prize>
    </ArrayOfPrize>
    I get errors like you can't do this with non-public types to header is missing, or I get a deaklock.  Every suggestion I have tried has led to either the same error message as the last one, or the same as some previous error message.  Microsoft
    conveniently left out this common case in their Universal App samples.  Please don't refer me to other articles, because if they were on the internet I have probably already tried them.  Sorry, my frustration is showing through.  Feel free to
    refer me to other articles.
    Below is my latest attempt that does not work:
    public async Task<T> ReadObjectFromXmlLocalFile(string filename)
     try
      T objectFromXml = default(T);
      XmlSerializer serializer = new XmlSerializer(typeof(T));
      Windows.Storage.StorageFolder localFolder = Windows.Storage.ApplicationData.Current.LocalFolder;
      StorageFile file = await localFolder.GetFileAsync(filename);
      string xmlText = await FileIO.ReadTextAsync(file);
      StringReader reader = new StringReader(xmlText);
      objectFromXml = (T)serializer.Deserialize(reader);
      return objectFromXml;
     catch (Exception e)
      ErrorBucket.AddError(e.Message);
      return default(T);
    Incidentally, every folder path leads to either C:\Data\SharedData... or C:\Data\Users..., which is very strange, since my project is not even on the C drive.  I have recreated the directory structure that it is looking for and put my files there, but
    eventually this is going to be an issue.  The program used to look in the correct place and then it stopped and starting looking in C:\Data, and I have no idea why.
    Larry Maturo

    Try code below.  I always like to write XML from the code before reading.  It is easier to debug the class formats when writing than reading.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Data;
    using System.Xml;
    using System.Xml.Serialization;
    using System.Xml.Schema;
    using System.IO;
    namespace XMLSerialize
    class Program
    const string FILENAME = @"c:\temp\test.xml";
    static void Main(string[] args)
    ArrayOfPrize arrayOfPrize = new ArrayOfPrize(){
    prizes = new List<Prize>(){
    new Prize(){
    prizeName = "Dog",
    prizePath = "http://www.dog.com",
    prizeOwner = "System",
    prizeChecked = false,
    won = false
    XmlSerializer serializer = new XmlSerializer(typeof(ArrayOfPrize));
    StreamWriter writer = new StreamWriter(FILENAME);
    serializer.Serialize(writer, arrayOfPrize);
    writer.Flush();
    writer.Close();
    writer.Dispose();
    XmlSerializer xs = new XmlSerializer(typeof(ArrayOfPrize));
    XmlTextReader reader = new XmlTextReader(FILENAME);
    ArrayOfPrize newArrayOfPrize = (ArrayOfPrize)xs.Deserialize(reader);
    [Serializable, XmlRoot("ArrayOfPrize")]
    public class ArrayOfPrize
    [XmlElement("Prize")]
    public List<Prize> prizes;
    [Serializable, XmlRoot(ElementName = "Prize")]
    public class Prize
    [XmlElement("PrizeName")]
    public string prizeName { get; set; }
    [XmlElement("PrizePath")]
    public string prizePath { get; set; }
    [XmlElement("PrizeOwner")]
    public string prizeOwner { get; set; }
    [XmlElement("PrizeChecked")]
    public Boolean prizeChecked { get; set; }
    [XmlElement("Won")]
    public Boolean won { get; set; }
    jdweng

  • Examples of hwo to insert an XML file into a field which is of type CLOB

    I am trying to use the following command, but it does not work, due to a type issue, anyone have another example?
    INSERT INTO TEST VALUES (xmltype(bfilename('c:\', 'c:\test.xml') , nls_charset_id('AL32UTF8')));

    I get the following error, probably means the file referenced is not available...
    SQL Error: ORA-22806: not an object or REF
    22806. 00000 - "not an object or REF"
    *Cause:    An attempt was made to extract an attribute from an item that is
    neither an object nor a REF.
    *Action:   Use an object type or REF type item and retry the operation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • "PLS-00172: string literal too long" When Writing XML file into a Table

    Hi.
    I'm using DBMS_XMLStore to get a XML file into a db table. See the example below, I'm using that for my PL/SQL format. Problem is that because there're too many XML elements that I use in "xmldoc CLOB:= ...", I get "PLS-00172: string literal too long" error.
    Can someone suggest a workaround?
    THANKS!!!
    DECLARE
    insCtx DBMS_XMLStore.ctxType;
    rows NUMBER;
    xmldoc CLOB :=
    '<ROWSET>
    <ROW num="1">
    <EMPNO>7369</EMPNO>
    <SAL>1800</SAL>
    <HIREDATE>27-AUG-1996</HIREDATE>
    </ROW>
    <ROW>
    <EMPNO>2290</EMPNO>
    <SAL>2000</SAL>
    <HIREDATE>31-DEC-1992</HIREDATE>
    </ROW>
    </ROWSET>';
    BEGIN
    insCtx := DBMS_XMLStore.newContext('scott.emp'); -- get saved context
    DBMS_XMLStore.clearUpdateColumnList(insCtx); -- clear the update settings
    -- set the columns to be updated as a list of values
    DBMS_XMLStore.setUpdateColumn(insCtx,'EMPNO');
    DBMS_XMLStore.setUpdateColumn(insCtx,'SAL');
    DBMS_XMLStore.setUpdatecolumn(insCtx,'HIREDATE');
    -- Now insert the doc.
    -- This will only insert into EMPNO, SAL and HIREDATE columns
    rows := DBMS_XMLStore.insertXML(insCtx, xmlDoc);
    -- Close the context
    DBMS_XMLStore.closeContext(insCtx);
    END;
    /

    You ask where am getting the XML doc. Well, am not
    getting the doc itself.I either don't understand or I disagree. In your sample code, you're certainly creating an XML document-- your local variable "xmldoc" is an XML document.
    DBMS_XMLSTORE package needs
    to know the canonical format and that's what I
    hardcoded. Again, I either don't understand or I disagree... DBMS_XMLStore more or less assumes the format of the XML document itself-- there's a ROWSET tag, a ROW tag, and a then whatever column tags you'd like. You can override what tag identifies a row, but the rest is pretty much assumed. Your calls to setUpdateColumn identifies what subset of column tags in the XML document you're interested in.
    Later in code I use
    DBMS_XMLStore.setUpdateColumn to specify which
    columns are to be inserted.Agreed.
    xmldoc CLOB :=
    '<ROWSET>
    <ROW num="1">
    <KEY_OLD> Smoker </KEY_OLD>
    <KEY_NEW> 3 </KEY_NEW>
    <TRANSFORM> Specified </TRANSFORM>
    <KEY_OLD> Smoker </KEY_OLD>
    <VALUEOLD> -1 </VALUEOLD>
    EW> -1 </VALUENEW>
         <DESCRIPTION> NA </DESCRIPTION>
    </ROW>
    ROWSET>';This is your XML document. You almost certainly want to be reading this from the file system and/or have it passed in from another procedure. If you hard-code the XML document, you're limited to a 32k string literal, which is almost certainly causing the error you were reporting initially.
    As am writing this I'm realizing that I'm doing this
    wrong, because I do need to read the XML file from
    the filesystem (but insert the columns
    selectively)...What I need to come up with is a proc
    that would grab the XML file and do inserts into a
    relational table. The XML file will change in the
    future and that means that all my 'canonical format'
    code will be broken. How do I deal with anticipated
    change? Do I need to define/create an XML schema in
    10g if am just inserting into one relat. table from
    one XML file?What does "The XML file will change in the future" mean? Are you saying that the structure of the XML document will change? Or that the data in the XML document would change? Your code should only need to change if the structure of the document changes, which should be exceptionally uncommon and would only be an issue if you're adding another column that you want to work with, which would necessitate code changes.
    I found an article where the issue of changing XML
    file is dealt by using a XSL file (that's where I'd
    define the 'canonical format'), but am having a
    problem with creating one, because the source XML is
    screwed up in terms of the format:
    it's not <x> blah </x>
    <x2> blah </x2>
    x2="blah" x3="blah> ...etc
    Can you point me in the right direction, please?You can certainly use something like the DBMS_XSLProcessor package to transform whatever XML document you have into an XML document in an appropriate format for the XMLStore package and pass that transformed XML document into something like your sample procedure rather than defining the xmldoc local variable with a hard-coded document. Of course, you'd need to write appropriate XSL code to do the actual transform.
    Justin

  • ERROR: Failed to update prerequisite results into the registry; error = 1 for sccm 2012 secondary site installation

    Hi,
    We try to install sccm 2012 serondary site in server 2012. It always failed.
    I used the rereqchek tools to check system enviroment locally. All passed.
    The primary site installed in server 2012.  Both server had granted the administrator permission.
    Anyone can help to check the below Configmgrprereq.log
    <01-16-2015 08:47:55> ********************************************
    <01-16-2015 08:47:55> ******* Start Prerequisite checking. *******
    <01-16-2015 08:47:55> ********************************************
    <01-16-2015 08:47:55> Commandline :
    "D:\Microsoft Configuration Manager\bin\x64\smsexec.exe"
    <01-16-2015 08:47:55> Check Type: Secondary site
     Site Server: DPServer.ms.com,
     SQL Server: DPServer.ms.com,
     SQL Named Instance: ,
     Install Folder: d:\Program Files\Microsoft Configuration Manager\,
     Setup Source Folder: D:\SCCM2012\Source
    <01-16-2015 08:47:55> INFO: Executing prerequisite functions...
    <01-16-2015 08:47:55> ===== INFO: Prerequisite Type & Server: SITE_SEC:DPServer.ms.com =====
    <01-16-2015 08:47:55> <<<RuleCategory: Access Permissions>>>
    <01-16-2015 08:47:55> <<<CategoryDesc: Checking access permissions...>>>
    <01-16-2015 08:47:55> INFO: CheckLocalSys is Admin of <DPServer.ms.com>.
    <01-16-2015 08:48:08> DPServer.ms.com;    Site server computer account administrative rights;    Error;    Configuration Manager Setup requires that the site server computer has administrative rights on
    the SQL Server and management point computers.
    <01-16-2015 08:48:08> <<<RuleCategory: System Requirements>>>
    <01-16-2015 08:48:08> <<<CategoryDesc: Checking system requirements for ConfigMgr...>>>
    <01-16-2015 08:48:08> INFO: Check Lanman service: <DPServer.ms.com>.
    <01-16-2015 08:48:22> DPServer.ms.com;    Check Server Service is running;    Passed
    <01-16-2015 08:48:30> INFO: OS version:0, ServicePack:0.
    <01-16-2015 08:48:30> DPServer.ms.com;    Unsupported site server operating system version for Setup;    Error;    Configuration Manager site systems can only be installed on systems running Windows Server
    2008 SP2 or later.
    <01-16-2015 08:48:34> INFO: Failed to get Active Directory membership information for computer DPServer.ms.com with 0.
    <01-16-2015 08:48:34> DPServer.ms.com;    Domain membership;    Error;    Configuration Manager site server components must be installed on computers that are members of a Windows domain.
    <01-16-2015 08:48:40> INFO: Free disk space on target \\DPServer.ms.com\d$\. = 510158 MB
    <01-16-2015 08:48:40> DPServer.ms.com;    Free disk space on site server;    Passed
    <01-16-2015 08:48:47> DPServer.ms.com;    Pending system restart;    Passed
    <01-16-2015 08:48:50> INFO: The server DPServer.ms.com is not read-only domain controller.
    <01-16-2015 08:48:50> DPServer.ms.com;    Read-Only Domain Controller;    Passed
    <01-16-2015 08:48:50> INFO: Check FQDN Length for site server: <DPServer.ms.com>.
    <01-16-2015 08:48:50> DPServer.ms.com;    Site Server FQDN Length;    Passed
    <01-16-2015 08:48:50> <<<RuleCategory: Dependent Components>>>
    <01-16-2015 08:48:50> <<<CategoryDesc: Checking dependent components for ConfigMgr...>>>
    <01-16-2015 08:48:57> DPServer.ms.com;    Microsoft XML Core Services 6.0 (MSXML60);    Warning;    MSXML 6.0 or later libraries are required for Configuration Manager console and Configuration Manager site
    server installations. MSXML 6.0 is available for download at http://go.microsoft.com/fwlink/?LinkId=215744
    <01-16-2015 08:49:03> DPServer.ms.com;    Microsoft Remote Differential Compression (RDC) library registered;    Error;    Microsoft Remote Differential Compression (RDC) library must be registered for Configuration
    Manager site server installation. Details at http://technet.microsoft.com/library/cc431377.aspx#RDC_for_Site_Servers.
    <01-16-2015 08:49:03> INFO: Checking Windows Installer version on DPServer.ms.com.
    <01-16-2015 08:49:13> INFO: Path of Windows Installer is <\\DPServer.ms.com\C$\Windows\System32\msi.dll>.
    <01-16-2015 08:49:19> ERROR: Failed to determine Windows Installer version from path:<\\DPServer.ms.com\C$\Windows\System32\msi.dll> .
    <01-16-2015 08:49:19> DPServer.ms.com;    Microsoft Windows Installer;    Error;    Setup failed to verify the Windows Installer version, or the installed version of Windows Installer does not meet the minimum
    requirement.  Configuration Manager requires at least Windows Installer version 4.5.
    <01-16-2015 08:49:19> INFO: Start Checking InstallSQLExpress on site server: DPServer.ms.com, SQL Server instance CONFIGMGRSEC
    <01-16-2015 08:49:28> INFO: SQL Server Instance Names value was not found
    <01-16-2015 08:49:28> INFO: IsPortUsedByAnySqlInstance port 1433.
    <01-16-2015 08:49:39> INFO: TCP port 1433 is not in use by any other SQL Server instances.
    <01-16-2015 08:49:49> INFO: Sql express: OS version:0, ServicePack:0.
    <01-16-2015 08:49:49> ERROR: Cannot install sqlexpress 2012, not meet OS requirement: Windows server 2008 sp2, Windows server 2008 R2 sp1 or higher.
    <01-16-2015 08:49:49> DPServer.ms.com;    SQL Server Express on Secondary Site;    Error;    A SQL Server instance is already installed on the secondary site server using the instance name CONFIGMGRSEC,
    or the specified TCP port is being used by another SQL Server instance, or OS version is not Windows Server 2008 sp2, Windows Server 2008 R2 sp1 or higher. Setup is unable to install SQL Server Express on the secondary site.
    <01-16-2015 08:49:55> ERROR: Failed to connect to registry of DPServer.ms.com
    <01-16-2015 08:49:55> DPServer.ms.com;    Existing Configuration Manager server components on site server;    Error;    A site server or site system role is already installed on the computer selected for
    site server installation. Remove the site or site system role from the computer, or select another computer for site server installation.
    <01-16-2015 08:49:55> DPServer.ms.com;    Firewall exception for SQL Server (stand-alone primary site);    Passed
    <01-16-2015 08:49:55> INFO: SQL Server computer <DPServer.ms.com>
    <01-16-2015 08:49:55> INFO: SQL Server named instance <>
    <01-16-2015 08:49:55> INFO: Install SQL Server Express on secondary site, skip checking.
    <01-16-2015 08:49:55> DPServer.ms.com;    SQL Server service running account;    Passed
    <01-16-2015 08:49:55> INFO: Install SQL Server Express on secondary site, skip checking.
    <01-16-2015 08:49:55> DPServer.ms.com;    Dedicated SQL Server instance;    Passed
    <01-16-2015 08:49:55> INFO: CheckSQLCollationSecondary
    <01-16-2015 08:49:55> INFO: Installing SQL Server Express; skipping
    <01-16-2015 08:49:55> DPServer.ms.com;    Parent/child database collation;    Passed
    <01-16-2015 08:49:55> INFO: Checking .NET framework versions 3.5...
    <01-16-2015 08:50:05> INFO: .NET is installed
    <01-16-2015 08:50:05> DPServer.ms.com;    Minimum .NET Framework version for Configuration Manager site server;    Passed
    <01-16-2015 08:50:05> INFO: Checking .NET version required for installing SQL Server Express for Secondary Site.
    <01-16-2015 08:50:05> INFO: Checking .NET framework versions 4.0...
    <01-16-2015 08:50:10> INFO: .NET is installed
    <01-16-2015 08:50:11> DPServer.ms.com;    Minimum .NET Framework version for SQL Server Express edition installation for Configuration Manager Secondary Site;    Passed
    <01-16-2015 08:50:11> INFO: CheckInstallSourceVersion <D:\SCCM2012\Source>
    <01-16-2015 08:52:29> ERROR: Could not read install map from \\DPServer.ms.com\D$\\SCCM2012\Source\SMSSETUP\install.map (result 2)
    <01-16-2015 08:52:29> DPServer.ms.com;    Setup Source Version;    Error;    The product version in the source folder specified for secondary site installation does not match the version of the primary site.
    <01-16-2015 08:52:29> INFO:CheckInstallSourcePath <DPServer.ms.com>
    <01-16-2015 08:52:55> ERROR: Failed to call GetResultByRunningService
    <01-16-2015 08:52:55> DPServer.ms.com;    Setup Source Folder;    Error;    The computer account for the secondary site must have Read NTFS and share permissions to the Setup source folder and share. We
    recommend that you do not use administrative shares (for example, C$ and D$) because they require the secondary site computer account to be an administrator on the remote computer.
    <01-16-2015 08:52:55> INFO: Enter CheckSecSiteSqlOnSameMachine.
    <01-16-2015 08:52:55> INFO: Installing SQL Server Express, skipping SQL Server check.
    <01-16-2015 08:52:55> DPServer.ms.com;    SQL Server on the Secondary Site Computer;    Passed
    <01-16-2015 08:52:55> INFO:CheckSupportedFQDNFormat <DPServer.ms.com>
    <01-16-2015 08:53:04> INFO: NetBIOS <NZWHKVMAS020>
    <01-16-2015 08:53:04> DPServer.ms.com;    Primary FQDN;    Passed
    <01-16-2015 08:53:04> INFO:CheckMachineAccountHasADAccess <DPServer.ms.com>
    <01-16-2015 08:53:30> ERROR: Failed to call GetResultByRunningService
    <01-16-2015 08:53:30> DPServer.ms.com;    Verify site server permissions to publish to Active Directory.;    Warning;    The site server might be unable to publish to Active Directory. The computer account
    for the site server must have Full Control permissions to the System Management container in its Active Directory domain. You can ignore this warning if you have manually verified these permissions. For more information about your options to configure required
    permissions, see http://go.microsoft.com/fwlink/p/?LinkId=233190.
    <01-16-2015 08:53:30> INFO:CheckRemoteWMIConnection <DPServer.ms.com>
    <01-16-2015 08:53:44> DPServer.ms.com;    Remote Connection to WMI on Secondary Site;    Passed
    <01-16-2015 08:53:44> INFO: Check required collation of Sql Server.
    <01-16-2015 08:53:44> INFO: LangID <409>
    <01-16-2015 08:53:44> INFO: NOT primary site or CAS install, skipping check for reqired collation of SQL Server.
    <01-16-2015 08:53:44> DPServer.ms.com;    Required SQL Server Collation;    Passed
    <01-16-2015 08:53:44> ===== INFO: Prerequisite Type & Server: SQL:DPServer.ms.com =====
    <01-16-2015 08:53:44> <<<RuleCategory: Access Permissions>>>
    <01-16-2015 08:53:44> <<<CategoryDesc: Checking access permissions...>>>
    <01-16-2015 08:53:44> INFO: Installing SQL Server Express, skipping check for sysadmin role on SQL Server.
    <01-16-2015 08:53:44> DPServer.ms.com;    SQL Server sysadmin rights;    Passed
    <01-16-2015 08:53:44> INFO: Skip testing, no expand primary site specified.
    <01-16-2015 08:53:44> DPServer.ms.com;    SQL Server sysadmin rights for reference site;    Passed
    <01-16-2015 08:53:44> INFO: The rule 'Site server computer account administrative rights' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:53:44> INFO: Installing SQL Server Express, skipping Windows integrated security check.
    <01-16-2015 08:53:44> DPServer.ms.com;    SQL Server security mode;    Passed
    <01-16-2015 08:53:44> <<<RuleCategory: System Requirements>>>
    <01-16-2015 08:53:44> <<<CategoryDesc: Checking system requirements for ConfigMgr...>>>
    <01-16-2015 08:53:44> INFO: The rule 'Unsupported site server operating system version for Setup' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:53:44> INFO: The rule 'Domain membership' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:53:44> INFO: The rule 'Pending system restart' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:53:44> <<<RuleCategory: Dependent Components>>>
    <01-16-2015 08:53:44> <<<CategoryDesc: Checking dependent components for ConfigMgr...>>>
    <01-16-2015 08:53:44> INFO: Installing SQL Server Express, skipping SQL Server version check.
    <01-16-2015 08:53:44> DPServer.ms.com;    SQL Server version;    Passed
    <01-16-2015 08:53:44> DPServer.ms.com;    SQL Server Edition;    Passed
    <01-16-2015 08:53:44> DPServer.ms.com;    SQL Server Tcp Port;    Passed
    <01-16-2015 08:53:44> INFO: Checking if SQL Server memory is limited.
    <01-16-2015 08:53:44> INFO: Installing SQL Server Express, skipping SQL Server memory check.
    <01-16-2015 08:53:44> DPServer.ms.com;    Configuration for SQL Server memory usage;    Passed
    <01-16-2015 08:53:44> INFO: Checking if SQL Server memory is configured to reserve minimum memory.
    <01-16-2015 08:53:44> INFO: Installing SQL Server Express, skipping SQL Server memory allocation check.
    <01-16-2015 08:53:44> DPServer.ms.com;    SQL Server process memory allocation;    Passed
    <01-16-2015 08:53:44> INFO: Installing SQL Server Express, skipping SQL Server case insensitive validation.
    <01-16-2015 08:53:44> DPServer.ms.com;    Case-insensitive collation on SQL Server;    Passed
    <01-16-2015 08:53:44> INFO: Check Machine FQDN: <DPServer.ms.com>.
    <01-16-2015 08:53:44> INFO: getaddrinfo returned success.
    <01-16-2015 08:53:44> DPServer.ms.com;    Validate FQDN of SQL Server Computer;    Passed
    <01-16-2015 08:53:44> INFO: The rule 'Primary FQDN' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:53:44> ===== INFO: Prerequisite Type & Server: MP:DPServer.ms.com =====
    <01-16-2015 08:53:44> <<<RuleCategory: Access Permissions>>>
    <01-16-2015 08:53:44> <<<CategoryDesc: Checking access permissions...>>>
    <01-16-2015 08:53:44> DPServer.ms.com;    Administrative share (Site system);    Passed
    <01-16-2015 08:53:44> INFO:CheckSiteSystemtoSQLConnectivity <DPServer.ms.com>
    <01-16-2015 08:53:44> INFO: Installing secondary site, skipping SQL Server connectivity check.
    <01-16-2015 08:53:44> DPServer.ms.com;    Site System to SQL Server Communication;    Passed
    <01-16-2015 08:53:44> <<<RuleCategory: System Requirements>>>
    <01-16-2015 08:53:44> <<<CategoryDesc: Checking system requirements for ConfigMgr...>>>
    <01-16-2015 08:53:44> INFO: The rule 'Check Server Service is running' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:53:52> INFO: OS version:0, ServicePack:0.
    <01-16-2015 08:53:52> DPServer.ms.com;    Unsupported management point operating system version for Setup;    Warning;    Configuration Manager site systems can only be installed on systems running Windows
    Server 2008 SP2 or later.
    <01-16-2015 08:53:52> INFO: The rule 'Domain membership' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:54:05> INFO: Windows Cluster not found on DPServer.ms.com.
    <01-16-2015 08:54:05> DPServer.ms.com;    Windows Failover Cluster;    Passed
    <01-16-2015 08:54:05> INFO: The rule 'Pending system restart' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:54:05> <<<RuleCategory: Dependent Components>>>
    <01-16-2015 08:54:05> <<<CategoryDesc: Checking dependent components for ConfigMgr...>>>
    <01-16-2015 08:54:05> INFO: The rule 'Microsoft XML Core Services 6.0 (MSXML60)' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:54:10> DPServer.ms.com;    IIS service running;    Warning;    Internet Information Services (IIS) is required for some site system roles. You have selected to install a site system role that
    requires IIS. Install IIS on the site system to continue setup.
    <01-16-2015 08:54:39> ERROR: Failed to get WEBSVCEXT from Remote Service on DPServer.ms.com.
    <01-16-2015 08:54:39> INFO: Failed to get IIS BITS Server Extensions state on DPServer.ms.com.
    <01-16-2015 08:54:39> DPServer.ms.com;    BITS installed;    Warning;    Background Intelligent Transfer Service (BITS) is required for the management point and distribution point site system roles. BITS
    is not installed, IIS 6 WMI compatibility component for IIS7 is not installed on this computer or the remote IIS host, or Setup was unable to verify remote IIS settings because IIS common components were not installed on the site server computer. Also, check
    if IIS/BITS services are running properly. Setup cannot continue until BITS is installed and enabled in the IIS settings.
    <01-16-2015 08:55:08> ERROR: Failed to get WEBSVCEXT from Remote Service on DPServer.ms.com.
    <01-16-2015 08:55:08> INFO: Failed to get IIS BITS Server Extensions state on DPServer.ms.com.
    <01-16-2015 08:55:08> DPServer.ms.com;    BITS enabled;    Warning;    Background Intelligent Transfer Service (BITS) is required for the management point and distribution point site system roles. BITS is
    not installed, IIS 6 WMI compatibility component for IIS7 is not installed on this computer or the remote IIS host, or Setup was unable to verify remote IIS settings because IIS common components were not installed on the site server computer. Also, check
    if IIS/BITS services are running properly. Setup cannot continue until BITS is installed and enabled in the IIS settings.
    <01-16-2015 08:55:08> DPServer.ms.com;    IIS HTTPS Configuration for management point;    Passed
    <01-16-2015 08:55:08> INFO: Stand-alone primary site or secondary site. Skip checking firewall settings for SQL Server
    <01-16-2015 08:55:08> DPServer.ms.com;    Firewall exception for SQL Server for management point;    Passed
    <01-16-2015 08:55:08> DPServer.ms.com;    Administrative rights on management point;    Passed
    <01-16-2015 08:55:08> INFO:CheckV4ClientNotInstalled <DPServer.ms.com>
    <01-16-2015 08:55:36> ERROR: Failed to call GetResultByRunningService
    <01-16-2015 08:55:36> DPServer.ms.com;    Client Version on Management Point Computer;    Warning;    You cannot install the management point on a computer with an earlier version of the Configuration Manager
    client installed. Upgrade the client to the current version, remove the client, or select a different computer for the management point installation, and then try again.
    <01-16-2015 08:55:36> ===== INFO: Prerequisite Type & Server: DP:DPServer.ms.com =====
    <01-16-2015 08:55:36> <<<RuleCategory: Access Permissions>>>
    <01-16-2015 08:55:36> <<<CategoryDesc: Checking access permissions...>>>
    <01-16-2015 08:55:36> <<<RuleCategory: System Requirements>>>
    <01-16-2015 08:55:36> <<<CategoryDesc: Checking system requirements for ConfigMgr...>>>
    <01-16-2015 08:55:49> DPServer.ms.com;    Unsupported distribution point operating system version for Setup;    Warning;    Configuration Manager distribution point can only be installed on systems running
    Windows Server 2003 or later.
    <01-16-2015 08:55:49> INFO: The rule 'Domain membership' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:55:49> INFO: The rule 'Windows Failover Cluster' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:55:49> INFO: The rule 'Pending system restart' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:55:49> <<<RuleCategory: Dependent Components>>>
    <01-16-2015 08:55:49> <<<CategoryDesc: Checking dependent components for ConfigMgr...>>>
    <01-16-2015 08:55:57> DPServer.ms.com;    Microsoft XML Core Services 6.0 (MSXML60) for distribution point;    Warning;    MSXML 6.0 or later libraries are required for Configuration Manager console and
    Configuration Manager site server installations. MSXML 6.0 is available for download at http://go.microsoft.com/fwlink/?LinkId=215744
    <01-16-2015 08:55:57> INFO: The rule 'IIS service running' has been run on server 'DPServer.ms.com', skipped.
    <01-16-2015 08:55:57> DPServer.ms.com;    IIS HTTPS Configuration for distribution point;    Passed
    <01-16-2015 08:55:57> DPServer.ms.com;    Administrative rights on distribution point;    Passed
    <01-16-2015 08:55:57> ***************************************************
    <01-16-2015 08:55:57> ******* Prerequisite checking is completed. *******
    <01-16-2015 08:55:57> ***************************************************
    <01-16-2015 08:55:57> INFO: Updating Prerequisite checking result into the registry
    <01-16-2015 08:55:57> INFO: Connecting to DPServer.ms.com registry
    <01-16-2015 08:56:09> INFO: Setting registry values
    <01-16-2015 08:56:16> ERROR: Failed to update prerequisite results into the registry; error = 1.

    <01-16-2015 08:48:08> DPServer.ms.com;    Site server computer account administrative rights;    Error;    Configuration Manager Setup requires that the site server computer has administrative rights
    on the SQL Server and management point computers.
    Actually the administrative permission had been granted.

  • Inserting a long XML document into XMLType

    I'm trying to load the following document into an XMLType column in 10.2. I've tried every example I can find and can push the data into CLOBs using the Java work around just fine (http://www.oracle.com/technology/sample_code/tech/java/codesnippet/xmldb/HowToLoadLargeXML.html).
    Can anyone provide a solution or let me know if there is a limitation please?
    Given the table;
    SQL> describe xmltable_1
    Name Null? Type
    DOC_ID NUMBER
    XML_DATA XMLTYPE
    How do I load this data into 'XML_DATA'?
    <?xml version="1.0" encoding="UTF-8"?>
    <metadata>
    <idinfo>
    <citation>
    <citeinfo>
    <origin>Rand McNally and ESRI</origin>
    <pubdate>1996</pubdate>
    <title>ESRI Cities Geodata Set</title>
    <geoform>vector digital data</geoform>
    <onlink>\\OIS23\C$\Files\Working\Metadata\world\cities.shp</onlink>
    </citeinfo>
    </citation>
    <descript>
    <abstract>World Cities contains locations of major cities around the world. The cities include national capitals for each of the countries in World Countries 1998 as well as major population centers and landmark cities. World Cities was derived from ESRI's ArcWorld database and supplemented with other data from the Rand McNally New International Atlas</abstract>
    <purpose>606 points, 4 descriptive fields. Describes major world cities.</purpose>
    </descript>
    <timeperd>
    <timeinfo>
    <sngdate>
    <caldate>1996</caldate>
    </sngdate>
    </timeinfo>
    <current>publication date</current>
    </timeperd>
    <status>
    <progress>Complete</progress>
    <update>None planned</update>
    </status>
    <spdom>
    <bounding>
    <westbc>
    -165.270004</westbc>
    <eastbc>
    177.130188</eastbc>
    <northbc>
    78.199997</northbc>
    <southbc>
    -53.150002</southbc>
    </bounding>
    </spdom>
    <keywords>
    <theme>
    <themekt>city</themekt>
    <themekey>cities</themekey>
    </theme>
    </keywords>
    <accconst>none</accconst>
    <useconst>none</useconst>
    <ptcontac>
    <cntinfo>
    <cntperp>
    <cntper>unknown</cntper>
    <cntorg>unknown</cntorg>
    </cntperp>
    <cntpos>unknown</cntpos>
    <cntvoice>555-1212</cntvoice>
    </cntinfo>
    </ptcontac>
    <datacred>ESRI</datacred>
    <native>Microsoft Windows NT Version 4.0 (Build 1381) Service Pack 6; ESRI ArcCatalog 8.1.0.570</native>
    </idinfo>
    <dataqual>
    <attracc>
    <attraccr>no report available</attraccr>
    <qattracc>
    <attraccv>1000000</attraccv>
    <attracce>no report available</attracce>
    </qattracc>
    </attracc>
    <logic>no report available</logic>
    <complete>no report available</complete>
    <posacc>
    <horizpa>
    <horizpar>no report available</horizpar>
    </horizpa>
    <vertacc>
    <vertaccr>no report available</vertaccr>
    </vertacc>
    </posacc>
    <lineage>
    <srcinfo>
    <srccite>
    <citeinfo>
    <title>ESRI</title>
    </citeinfo>
    </srccite>
    <srcscale>20000000</srcscale>
    <typesrc>CD-ROM</typesrc>
    <srctime>
    <timeinfo>
    <sngdate>
    <caldate>1996</caldate>
    </sngdate>
    </timeinfo>
    <srccurr>publication date</srccurr>
    </srctime>
    <srccontr>no report available</srccontr>
    </srcinfo>
    <procstep>
    <procdesc>no report available</procdesc>
    <procdate>Unknown</procdate>
    </procstep>
    </lineage>
    </dataqual>
    <spdoinfo>
    <direct>Vector</direct>
    <ptvctinf>
    <sdtsterm>
    <sdtstype>Entity point</sdtstype>
    <ptvctcnt>606</ptvctcnt>
    </sdtsterm>
    </ptvctinf>
    </spdoinfo>
    <spref>
    <horizsys>
    <geograph>
    <latres>0.000001</latres>
    <longres>0.000001</longres>
    <geogunit>Decimal degrees</geogunit>
    </geograph>
    <geodetic>
    <horizdn>North American Datum of 1927</horizdn>
    <ellips>Clarke 1866</ellips>
    <semiaxis>6378206.400000</semiaxis>
    <denflat>294.978698</denflat>
    </geodetic>
    </horizsys>
    </spref>
    <eainfo>
    <detailed>
    <enttyp>
    <enttypl>
    cities</enttypl>
    </enttyp>
    <attr>
    <attrlabl>FID</attrlabl>
    <attrdef>Internal feature number.</attrdef>
    <attrdefs>ESRI</attrdefs>
    <attrdomv>
    <udom>Sequential unique whole numbers that are automatically generated.</udom>
    </attrdomv>
    </attr>
    <attr>
    <attrlabl>Shape</attrlabl>
    <attrdef>Feature geometry.</attrdef>
    <attrdefs>ESRI</attrdefs>
    <attrdomv>
    <udom>Coordinates defining the features.</udom>
    </attrdomv>
    </attr>
    <attr>
    <attrlabl>NAME</attrlabl>
    <attrdef>The city name. Spellings are based on Board of Geographic Names standards and commercial atlases.</attrdef>
    <attrdefs>ESRI</attrdefs>
    </attr>
    <attr>
    <attrlabl>COUNTRY</attrlabl>
    <attrdef>An abbreviated country name.</attrdef>
    </attr>
    <attr>
    <attrlabl>POPULATION</attrlabl>
    <attrdef>Total population for the entire metropolitan area. Values are from recent census or estimates.</attrdef>
    </attr>
    <attr>
    <attrlabl>CAPITAL</attrlabl>
    <attrdef>Indicates whether a city is a national capital (Y/N).</attrdef>
    </attr>
    </detailed>
    <overview>
    <eaover>none</eaover>
    <eadetcit>none</eadetcit>
    </overview>
    </eainfo>
    <distinfo>
    <stdorder>
    <digform>
    <digtinfo>
    <transize>0.080</transize>
    </digtinfo>
    </digform>
    </stdorder>
    </distinfo>
    <metainfo>
    <metd>20010509</metd>
    <metc>
    <cntinfo>
    <cntorgp>
    <cntorg>ESRI</cntorg>
    <cntper>unknown</cntper>
    </cntorgp>
    <cntaddr>
    <addrtype>unknown</addrtype>
    <city>unknown</city>
    <state>unknown</state>
    <postal>00000</postal>
    </cntaddr>
    <cntvoice>555-1212</cntvoice>
    </cntinfo>
    </metc>
    <metstdn>FGDC Content Standards for Digital Geospatial Metadata</metstdn>
    <metstdv>FGDC-STD-001-1998</metstdv>
    <mettc>local time</mettc>
    <metextns>
    <onlink>http://www.esri.com/metadata/esriprof80.html</onlink>
    <metprof>ESRI Metadata Profile</metprof>
    </metextns>
    </metainfo>
    </metadata>
    rtacce>Vertical Positional Accuracy is expressed in meters. Vertical accuracy figures were developed by comparing elevation contour locations on 1:24,000 scale maps to elevation values at the same location within the digital database. Some manual interpolation was necessary to complete this test. The analysis results are expressed as linear error at a 90% confidence interval.</vertacce>
    </qvertpa>
    </vertacc>
    </posacc>
    <lineage>
    <srcinfo>
    <srccite>
    <citeinfo>
    <origin>National Imagery and Mapping Agency</origin>
    <pubdate>1994</pubdate>
    <title>Operational Navigational Chart</title>
    <geoform>map</geoform>
    <pubinfo>
    <pubplace>St.Louis, MO</pubplace>
    <publish>National Imagery and Mapping Agency</publish>
    </pubinfo>
    </citeinfo>
    </srccite>
    <srcscale>1000000</srcscale>
    <typesrc>stable-base material</typesrc>
    <srctime>
    <timeinfo>
    <rngdates>
    <begdate>1974</begdate>
    <enddate>1994</enddate>
    </rngdates>
    </timeinfo>
    <srccurr>Publication dates</srccurr>
    </srctime>
    <srccitea>ONC</srccitea>
    <srccontr>All information found on the source with the exception of aeronautical data</srccontr>
    </srcinfo>
    <srcinfo>
    <srccite>
    <citeinfo>
    <origin>National Imagery and Mapping Agency</origin>
    <pubdate>199406</pubdate>
    <title>Digital Aeronautical Flight Information File</title>
    <geoform>model</geoform>
    <pubinfo>
    <pubplace>St. Louis, MO</pubplace>
    <publish>National Imagery and Mapping Agency</publish>
    </pubinfo>
    </citeinfo>
    </srccite>
    <typesrc>magnetic tape</typesrc>
    <srctime>
    <timeinfo>
    <sngdate>
    <caldate>1994</caldate>
    </sngdate>
    </timeinfo>
    <srccurr>Publication date</srccurr>
    </srctime>
    <srccitea>DAFIF</srccitea>
    <srccontr>Airport records (name, International Civil Aviation Organization, position, elevation, and type)</srccontr>
    </srcinfo>
    <srcinfo>
    <srccite>
    <citeinfo>
    <origin>Defense Mapping Agency</origin>
    <pubdate>1994</pubdate>
    <title>Jet Navigational Chart</title>
    <geoform>map</geoform>
    <pubinfo>
    <pubplace>St.Louis, MO</pubplace>
    <publish>Defense Mapping Agency</publish>
    </pubinfo>
    </citeinfo>
    </srccite>
    <srcscale>2,000,000</srcscale>
    <typesrc>stable-base material</typesrc>
    <srctime>
    <timeinfo>
    <rngdates>
    <begdate>1974</begdate>
    <enddate>1991</enddate>
    </rngdates>
    </timeinfo>
    <srccurr>Publication date</srccurr>
    </srctime>
    <srccitea>JNC</srccitea>
    <srccontr>All information found on the source with the exception of aeronautical data. JNCs were used as source for the Antartica region only.</srccontr>
    </srcinfo>
    <srcinfo>
    <srccite>
    <citeinfo>
    <origin>USGS EROS Data Center</origin>
    <pubdate></pubdate>
    <title>Advance Very High Resolution Radiometer</title>
    <geoform>remote-sensing image</geoform>
    <pubinfo>
    <pubplace>Sioux Falls, SD</pubplace>
    <publish>EROS Data Center</publish>
    </pubinfo>
    </citeinfo>
    </srccite>
    <srcscale>1000000</srcscale>
    <typesrc>magnetic tape</typesrc>
    <srctime>
    <timeinfo>
    <rngdates>
    <begdate>199003</begdate>
    <enddate>199011</enddate>
    </rngdates>
    </timeinfo>
    <srccurr>Publication date</srccurr>
    </srctime>
    <srccitea>AVHRR</srccitea>
    <srccontr>6 vegetation types covering the continental US and Canada</srccontr>
    </srcinfo>
    <procstep>
    <procdesc>For the first edition DCW, stable-based positives were produced from the original reproduction negatives (up to 35 per ONC sheet). These were digitized either through a scanning-raster to vector conversion or hand digitized into vector form. The vector data was then tagged with attribute information using ARC-INFO software. Transformation to geographic coordinates was performed using the projection graticules for each sheet. Digital information was edge matched between sheets to create large regional datasets. These were then subdivided into 5 x 5 degree tiles and converted from ARC/INFO to VPF. The data was then pre-mastered for CD-ROM. QC was performed by a separate group for each step in the production process.</procdesc>
    <procdate>199112</procdate>
    <proccont>
    <cntinfo>
    <cntorgp>
    <cntorg>Environmental Systems Research Institute</cntorg>
    </cntorgp>
    <cntpos>Applications Division</cntpos>
    <cntaddr>
    <addrtype>mailing and physical address</addrtype>
    <address>380 New York St.</address>
    <city>Redlands</city>
    <state>CA</state>
    <postal>92373</postal>
    <country>US</country>
    </cntaddr>
    <cntvoice>909-793-2853</cntvoice>
    <cntfax>909-793-5953</cntfax>
    </cntinfo>
    </proccont>
    </procstep>
    <procstep>
    <procdate>199404</procdate>
    <proccont>
    <cntinfo>
    <cntorgp>
    <cntorg>Geonex</cntorg>
    </cntorgp>
    <cntpos></cntpos>
    <cntaddr>
    <addrtype>mailing and physical address</addrtype>
    <address>8950 North 9th Ave.</address>
    <city>St. Petersburg</city>
    <state>FL</state>
    <postal>33702</postal>
    <country>US</country>
    </cntaddr>
    <cntvoice>(813)578-0100</cntvoice>
    <cntfax>(813)577-6946</cntfax>
    </cntinfo>
    </proccont>
    </procstep>
    <procstep>
    <procdesc>Transferred digitally directly into the VPF files.</procdesc>
    <procdate>199408</procdate>
    <proccont>
    <cntinfo>
    <cntorgp>
    <cntorg>Geonex</cntorg>
    </cntorgp>
    <cntpos></cntpos>
    <cntaddr>
    <addrtype>mailing and physical address</addrtype>
    <address>8950 North 9th Ave.</address>
    <city>St. Petersburg</city>
    <state>FL</state>
    <postal>33702</postal>
    <country>US</country>
    </cntaddr>
    <cntvoice>813-578-0100</cntvoice>
    <cntfax>813-577-6946</cntfax>
    </cntinfo>
    </proccont>
    </procstep>
    <procstep>
    <procdesc>Stable-based positives were produced from the original reproduction negatives (up to 35 per ONC sheet). These were digitized either through a scanning-raster to vector conversion or hand digitized into vector form. The vector data was then tagged with attribute information using ARC-INFO software. Transformation to geographic coordinates was performed using the projection graticules for each sheet. Digital information was edge matched between sheets to create large regional datasets. These were then subdivided into 5 x 5 degree tiles and converted from ARC/INFO to VPF. The data was then pre-mastered for CD-ROM. QC was performed by a separate group for each step in the production process.</procdesc>
    <procdate>199112</procdate>
    <proccont>
    <cntinfo>
    <cntorgp>
    <cntorg>Environmental Systems Research Institute</cntorg>
    </cntorgp>
    <cntpos>Applications Division</cntpos>
    <cntaddr>
    <addrtype>mailing and physical address</addrtype>
    <address>380 New York St.</address>
    <city>Redlands</city>
    <state>CA</state>
    <postal>92373</postal>
    <country>US</country>
    </cntaddr>
    <cntvoice>909-793-2853</cntvoice>
    <cntfax>909-793-5953</cntfax>
    </cntinfo>
    </proccont>
    </procstep>
    <procstep>
    <procdesc>Daily AVHRR images were averaged for two week time periods over the entire US growing season. These averaged images, their rates of change, elevation information, and other data were used to produce a single land classification image of the contental US. The VMap-0 data set extended this coverage over the Canadian land mass, however vegetation classification was further subdivided into nine vegetation types.</procdesc>
    <procdate>199402</procdate>
    <srcprod>EROS data</srcprod>
    <proccont>
    <cntinfo>
    <cntorgp>
    <cntorg>USGS Eros Data Center</cntorg>
    </cntorgp>
    <cntpos></cntpos>
    <cntaddr>
    <addrtype>mailing and physical address</addrtype>
    <address></address>
    <city>Sioux Falls</city>
    <state>SD</state>
    <postal></postal>
    <country>US</country>
    </cntaddr>
    <cntvoice></cntvoice>
    <cntfax></cntfax>
    </cntinfo>
    </proccont>
    </procstep>
    <procstep>
    <procdesc>The Eros data (raster files) were converted to vector polygon, splined (remove stairstepping), thinned (all ploygons under 2km2 were deleted), and tied to existing DCW polygons (water bodies, built-up areas). The resulting file was tiled and converted to a VPF Vegetation coverage for use in the DCW. All processing was performed using ARC-INFO software.</procdesc>
    <procdate>199412</procdate>
    <srcprod>VMap-0 Vegetation Coverage</srcprod>
    <proccont>
    <cntinfo>
    <cntorgp>
    <cntorg>Geonex</cntorg>
    </cntorgp>
    <cntpos></cntpos>
    <cntaddr>
    <addrtype>mailing and physical address</addrtype>
    <address>8950 North 9th Ave.</address>
    <city>St. Petersburg</city>
    <state>FL</state>
    <postal>33702</postal>
    <country>US</country>
    </cntaddr>
    <cntvoice>813-578-0100</cntvoice>
    <cntfax>813-577-6946</cntfax>
    </cntinfo>
    </proccont>
    </procstep>
    <procstep>
    <procdesc>Data was translated from VPF format to ArcInfo Coverage format. The coverages were then loaded into a seamless ArcSDE layer.</procdesc>
    <procdate>02152001</procdate>
    <proccont>
    <cntinfo>
    <cntorgp>
    <cntorg>Geodesy Team, Harvard University</cntorg>
    </cntorgp>
    <cntemail>[email protected]</cntemail>
    </cntinfo>
    </proccont>
    </procstep>
    </lineage>
    </dataqual>
    <spdoinfo>
    <direct>Vector</direct>
    <ptvctinf>
    <sdtsterm>
    <sdtstype>Complete chain</sdtstype>
    </sdtsterm>
    <sdtsterm>
    <sdtstype>Label point</sdtstype>
    </sdtsterm>
    <sdtsterm>
    <sdtstype>GT-polygon composed of chains</sdtstype>
    </sdtsterm>
    <sdtsterm>
    <sdtstype>Point</sdtstype>
    </sdtsterm>
    <vpfterm>
    <vpflevel>3</vpflevel>
    <vpfinfo>
    <vpftype>Node</vpftype>
    </vpfinfo>
    <vpfinfo>
    <vpftype>Edge</vpftype>
    </vpfinfo>
    <vpfinfo>
    <vpftype>Face</vpftype>
    </vpfinfo>
    </vpfterm>
    </ptvctinf>
    </spdoinfo>
    <spref>
    <horizsys>
    <geograph>
    <latres>0.000000</latres>
    <longres>0.000000</longres>
    <geogunit>Decimal degrees</geogunit>
    </geograph>
    <geodetic>
    <horizdn>D_WGS_1984</horizdn>
    <ellips>WGS_1984</ellips>
    <semiaxis>6378137.000000</semiaxis>
    <denflat>298.257224</denflat>
    </geodetic>
    </horizsys>
    <vertdef>
    <altsys>
    <altdatum>Mean Sea Level</altdatum>
    <altunits>1.0</altunits>
    </altsys>
    </vertdef>
    </spref>
    <eainfo>
    <detailed>
    <enttyp>
    <enttypl>
    lc.pat</enttypl>
    </enttyp>
    <attr>
    <attrlabl>FID</attrlabl>
    <attrdef>Internal feature number.</attrdef>
    <attrdefs>ESRI</attrdefs>
    <attrdomv>
    <udom>Sequential unique whole numbers that are automatically generated.</udom>
    </attrdomv>
    </attr>
    <attr>
    <attrlabl>Shape</attrlabl>
    <attrdef>Feature geometry.</attrdef>
    <attrdefs>ESRI</attrdefs>
    <attrdomv>
    <udom>Coordinates defining the features.</udom>
    </attrdomv>
    </attr>
    <attr>
    <attrlabl>AREA</attrlabl>
    <attrdef>Area of feature in internal units squared.</attrdef>
    <attrdefs>ESRI</attrdefs>
    <attrdomv>
    <udom>Positive real numbers that are automatically generated.</udom>
    </attrdomv>
    </attr>
    <attr>
    <attrlabl>PERIMETER</attrlabl>
    <attrdef>Perimeter of feature in internal units.</attrdef>
    <attrdefs>ESRI</attrdefs>
    <attrdomv>
    <udom>Positive real numbers that are automatically generated.</udom>
    </attrdomv>
    </attr>
    <attr>
    <attrlabl>LC#</attrlabl>
    <attrdef>Internal feature number.</attrdef>
    <attrdefs>ESRI</attrdefs>
    <attrdomv>
    <udom>Sequential unique whole numbers that are automatically generated.</udom>
    </attrdomv>
    </attr>
    <attr>
    <attrlabl>LC-ID</attrlabl>
    <attrdef>User-defined feature number.</attrdef>
    <attrdefs>ESRI</attrdefs>
    </attr>
    <attr>
    <attrlabl>LCAREA.AFT_ID</attrlabl>
    </attr>
    <attr>
    <attrlabl>LCPYTYPE</attrlabl>
    <attrdef>Land cover poygon type</attrdef>
    <attrdefs>NIMA</attrdefs>
    <attrdomv>
    <edom>
    <edomv>1</edomv>
    <edomvd>Rice Field</edomvd>
    </edom>
    <edom>
    <edomv>2</edomv>
    <edomvd>Cranberry bog</edomvd>
    </edom>
    <edom>
    <edomv>3</edomv>
    <edomvd>Cultivated area, garden</edomvd>
    </edom>
    <edom>
    <edomv>4</edomv>
    <edomvd>Peat cuttings</edomvd>
    </edom>
    <edom>
    <edomv>5</edomv>
    <edomvd>Salt pan</edomvd>
    </edom>
    <edom>
    <edomv>6</edomv>
    <edomvd>Fish pond or hatchery</edomvd>
    </edom>
    <edom>
    <edomv>7</edomv>
    <edomvd>Quarry, strip mine, mine dump, blasting area</edomvd>
    </edom>
    <edom>
    <edomv>8</edomv>
    <edomvd>Oil or gas</edomvd>
    </edom>
    <edom>
    <edomv>10</edomv>
    <edomvd>Lava flow</edomvd>
    </edom>
    <edom>
    <edomv>11</edomv>
    <edomvd>Distorted surface area</edomvd>
    </edom>
    <edom>
    <edomv>12</edomv>
    <edomvd>Unconsolidated material (sand or gravel, glacial moraine)</edomvd>
    </edom>
    <edom>
    <edomv>13</edomv>
    <edomvd>Natural landmark area</edomvd>
    </edom>
    <edom>
    <edomv>14</edomv>
    <edomvd>Inundated area</edomvd>
    </edom>
    <edom>
    <edomv>15</edomv>
    <edomvd>Undifferentiated wetlands</edomvd>
    </edom>
    <edom>
    <edomv>99</edomv>
    <edomvd>None</edomvd>
    </edom>
    </attrdomv>
    </attr>
    <attr>
    <attrlabl>TILE_ID</attrlabl>
    <attrdef>VPF Format tile ID</attrdef>
    <attrdefs>NIMA</attrdefs>
    </attr>
    <attr>
    <attrlabl>FAC_ID</attrlabl>
    </attr>
    </detailed>
    <overview>
    <eaover>The DCW used a product-specific attribute coding system that is composed of TYPE and STATUS designators for area, line, and point features; and LEVEL and SYMBOL designators for text features. The TYPE attribute specifies what the feature is, while the STATUS attribute specifies the current condition of the feature. Some features require both a TYPE and STATUS code to uniquely identify their characteristics. In order to uniquely identify each geographic attribute in the DCW, the TYPE and STATUS attribute code names are preceded by the two letter coverage abbreviation and a two letter abbreviation for the type of graphic primitive present. The DCW Type/Status codes were mapped into the FACC coding scheme. A full description of FACC may be found in Digital Geographic Information Exchange Standard Edition 1.2, January 1994.</eaover>
    <eadetcit>Entities (features) and Attributes for DCW are fully described in: Department of Defense, 1992, Military Specification Digital Chart of the World (MIL-D-89009): Philadelphia, Department of Defense, Defense Printing Service Detachment Office.</eadetcit>
    </overview>
    </eainfo>
    <distinfo>
    <distrib>
    <cntinfo>
    <cntorgp>
    <cntorg>NIMA</cntorg>
    </cntorgp>
    <cntpos>ATTN: CC, MS D-16</cntpos>
    <cntaddr>
    <addrtype>mailing and physical address</addrtype>
    <address>6001 MacArthur Blvd.</address>
    <city>Bethesda</city>
    <state>MD</state>
    <postal>20816-5001</postal>
    <country>US</country>
    </cntaddr>
    <cntvoice>301-227-2495</cntvoice>
    <cntfax>301-227-2498</cntfax>
    </cntinfo>
    </distrib>
    <distliab>None</distliab>
    <stdorder>
    <digform>
    <digtinfo>
    <formname>VPF</formname>
    <formverd>19930930</formverd>
    <formspec>Military Standard Vector Product Format (MIL-STD-2407). The current version of this document is dated 28 June 1996. Edition 3 of VMap-0 conforms to a previous version of the VPF Standard as noted. Future versions of VMap-0 will conform to the current version of VPF Standard.</formspec>
    <transize>0.172</transize>
    </digtinfo>
    <digtopt>
    <offoptn>
    <offmedia>CD-ROM</offmedia>
    <recfmt>ISO 9660</recfmt>
    </offoptn>
    </digtopt>
    </digform>
    <fees>Not Applicable</fees>
    </stdorder>
    </distinfo>
    <distinfo>
    <distrib>
    <cntinfo>
    <cntorgp>
    <cntorg>USGS Map Sales</cntorg>
    </cntorgp>
    <cntaddr>
    <addrtype>mailing address</addrtype>
    <address>Box 25286</address>
    <city>Denver</city>
    <state>CO</state>
    <postal>80225</postal>
    <country>US</country>
    </cntaddr>
    <cntvoice>303-236-7477</cntvoice>
    <cntfax>303-236-1972</cntfax>
    </cntinfo>
    </distrib>
    <distliab>None</distliab>
    <stdorder>
    <digform>
    <digtinfo>
    <transize>0.172</transize>
    </digtinfo>
    </digform>
    <fees>$82.50 per four disk set</fees>
    <ordering>For General Public: Payment (check, money order, purchase order, or Government account) must accompany order.
    Make all drafts payable to Dept. of the Interior- US Geological Survey.
    To provide a general idea of content, a sample data set is available from the TMPO Home Page at:</ordering>
    </stdorder>
    </distinfo>
    <distinfo>
    <distrib>
    <cntinfo>
    <cntorgp>
    <cntorg>Geodesy Team, Harvard University</cntorg>
    <cntper>Geodesy Team</cntper>
    </cntorgp>
    <cntemail>[email protected]</cntemail>
    </cntinfo>
    </distrib>
    <resdesc>Geodesy layer</resdesc>
    <distliab>None</distliab>
    <stdorder>
    <digform>
    <digtinfo>
    <formname>SHP</formname>
    <transize>0.172</transize>
    </digtinfo>
    <digtopt>
    <onlinopt>
    <computer>
    <networka>
    <networkr>geodesy.harvard.edu</networkr>
    </networka>
    </computer>
    </onlinopt>
    </digtopt>
    </digform>
    <fees>none</fees>
    </stdorder>
    <availabl>
    <timeinfo>
    <sngdate>
    <caldate>1992</caldate>
    </sngdate>
    </timeinfo>
    </availabl>
    </distinfo>
    <metainfo>
    <metd>20010226</metd>
    <metc>
    <cntinfo>
    <cntorgp>
    <cntorg>Geodesy Team</cntorg>
    <cntper>REQUIRED: The person responsible for the metadata information.</cntper>
    </cntorgp>
    <cntvoice>REQUIRED: The telephone number by which individuals can speak to the organization or individual.</cntvoice>
    <cntemail>[email protected]</cntemail>
    </cntinfo>
    </metc>
    <metstdn>FGDC Content Standards for Digital Geospatial Metadata</metstdn>
    <metstdv>FGDC-STD-001-1998</metstdv>
    <mettc>local time</mettc>
    <metextns>
    <onlink>http://www.esri.com/metadata/esriprof80.html</onlink>
    <metprof>ESRI Metadata Profile</metprof>
    </metextns>
    </metainfo>
    </metadata>

    Have you tired the directory and bfile methods? Here is the example for that in the Oracle XML Developer's Guide:
    CREATE DIRECTORY xmldir AS 'path_to_folder_containing_XML_file';
    Example 3-3 Inserting XML Content into an XMLType Table
    INSERT INTO mytable2 VALUES (XMLType(bfilename('XMLDIR', 'purchaseOrder.xml'),
    nls_charset_id('AL32UTF8')));
    1 row created.
    The value passed to nls_charset_id() indicates that the encoding for the file to be read is UTF-8.
    ben

  • Get ALV Report's Result Into Internal Table

    Hello everyone,
    is there a way to get a alv reports result into an internal table?
    For example: is it possible to get the values from transaction S_ALR_87012078.
    I mean i want to write a function an it will give you the alv reports result as internal table, so  you won't have to dig the reports code in.
    thanks to any answers from now. bye.

    Hi
    This is a wrapper program which will execute the standard program and capture the output as we are using list to memory
    Then after we will be using LIST_FROM_MEMORY and 'LIST_TO_ASCI'
    submit rhrhaz00 exporting list to memory
    and return
    with pchplvar = pchplvar
    with pchotype = pchotype
    with pchobjid in pchobjid
    with pchsobid in pchsobid
    with pchseark = pchseark
    with pchostat = pchostat
    with pchistat = pchistat
    with pchztr_d = pchztr_d
    with pchztr_a = pchztr_a
    with pchztr_z = pchztr_z
    with pchztr_m = pchztr_m
    with pchztr_p = pchztr_p
    with pchztr_y = pchztr_y
    with pchztr_f = pchztr_f
    with pchobeg = pchobeg
    with pchoend = pchoend
    with pchtimed = pchtimed
    with pchbegda = pchbegda
    with pchendda = pchendda
    * with pchwegid = pchwegid
    * with pchsvect = pchsvect
    * with pchdepth = pchdepth
    with infty in infty
    with subty in subty
    with vdata = vdata
    with info = info.
    data: list like abaplist occurs 0 with header line.
    data: txtlines(1024) type c occurs 0 with header line.
    clear list.
    refresh list.
    clear tbl_reportlines.
    refresh tbl_reportlines.
    call function 'LIST_FROM_MEMORY'
    tables
    listobject = list
    exceptions
    not_found = 1
    others = 2.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    call function 'LIST_TO_ASCI'
    * EXPORTING
    * LIST_INDEX = -1
    * WITH_LINE_BREAK = ' '
    * IMPORTING
    * LIST_STRING_ASCII =
    * LIST_DYN_ASCII =
    tables
    listasci = txtlines
    listobject = list
    exceptions
    empty_list = 1
    list_index_invalid = 2
    others = 3
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    else.
    tbl_reportlines[] = txtlines[].
    call function 'LIST_FREE_MEMORY'.
    endif.
    Here is the simple example program
    *Example Code (Retrieving list from memory)
    DATA BEGIN OF itab_list OCCURS 0.
    INCLUDE STRUCTURE abaplist.
    DATA END OF itab_list.
    DATA: BEGIN OF vlist OCCURS 0,
    filler1(01) TYPE c,
    field1(06) TYPE c,
    filler(08) TYPE c,
    field2(10) TYPE c,
    filler3(01) TYPE c,
    field3(10) TYPE c,
    filler4(01) TYPE c,
    field4(3) TYPE c,
    filler5(02) TYPE c,
    field5(15) TYPE c,
    filler6(02) TYPE c,
    field6(30) TYPE c,
    filler7(43) TYPE c,
    field7(10) TYPE c,
    END OF vlist.
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = itab_list
    EXCEPTIONS
    not_found = 4
    OTHERS = 8.
    CALL FUNCTION 'LIST_TO_ASCI'
    EXPORTING
    list_index = -1
    TABLES
    listasci = vlist
    listobject = itab_list
    EXCEPTIONS
    empty_list = 1
    list_index_invalid = 2
    OTHERS = 3.
    IF sy-subrc NE '0'.
    WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
    ENDIF.
    Re: alv to internal table

  • Adobe hosted videophone example doesn't work?

    What can be going wrong for me when others claim this is working??
    I've tried using the Adobe hosted videophone example at http://labs.adobe.com/technologies/cirrus/samples/
    It works fine for me when I have two machines on the same LAN both connecting to the service with firewalls operating.
    It does NOT work when one of the machines has a different connection to the Internet, hence diff IP address
    I checked that UDP outbound and inbound is permitted in each firewall.
    Even when I turn firewalls OFF on both machines the app only works when both machines are on the same LAN.
    We have tried this from net connections in USA and UK: in both locations, the videophone app works fine between machines on the same LAN, but fails to work when machines are on a separate Internet connection; and, it goes without saying, we can't connect the videophone app internationally.
    Now all of this is with the Adobe hosted example. We downloaded the sample code and followed the instructions in this article and set up our own working examples, both in a web-hosted Flex version and a desktop AIR version. Again, similar results: our own web and AIR versions work just fine when talking locally over a LAN, but both fail when two machines are connected to different Internet connections and this is regardless of Firewall settings.
    This is REALLY frustrating and we wonder what we can be missing?!

    Thanks for the helpful pointers, Michael. It seems that we likely are running into NAT or firewall issues.
    However, that leaves me wondering what on earth Cirrus can be useful for in the real world? I guess it is just possible that it might be useful in a large corporate campus where you can run multiple instances of an app on machines behind the same firewall; but for anything that is designed to be deployed on multiple end-user machines across the Internet it has no usefulness that I can see. In the real world, there is a huge mix of router and firewall configurations that the developer can have no control over: the P2P capabilities need to handle this without requiring end users to do nasty config work.
    Adobe seems to have dropped the ball here: on the one hand, AIR apps can be easily installed and updated with a single button click; but if the new P2P capabilities are to work it seems we have to get end users to do nasty editing of configuration files to tunnel through NAT/firewall.
    This is just not a subject that most Flex and AIR developers will have experience of so we really need some easy step-by-step instructions or better tools to enable us to make use of these capabilities in the real world!

  • Does anyone can help me to import XML string into a ORACLE database

    Hi guys!
    i have some problem that my friend wants me to convert XML string to Oracle relational database which means.
    let's say, there is a table that a row has XML string.
    so table has XML string with varchar type.
    what my friend want me to do is, the string needs to be solved as a relational database.
    like
    A table has 'ID', 'data', 'result' rows
    and Data column has XML string like <?xml version...............>
    then wants to convert that data column's XML data into TABLE B with structure normally XML has.
    i'm so confused and have no idea at all.. also i couldn't find any solution related to my stuff..
    if someone knows how to solve the problem, just let us know
    thx

    The database is 10.2.0
    What sort of example do u want me to give you..
    i thought i give all information on the post..
    i will explain it
    let's say there are 3 columns ID,Name,Code
    Id = normal integer
    Name= varchar
    Code= varchar
    and i need to conver that XML in the Code column into relational databases
    the code column has normal XML code which is starting from <?xml version.... and so on
    so does it explain?
    please help me!

  • Import XML file into ABAP WD

    Hi,
    Is there any way to upload an XML file into ABAP WD?
    I just saw a blog for Java WD.
    <a href="/people/johann.marty/blog/2006/10/03/create-a-web-dynpro-tree-from-an-xml-file:///people/johann.marty/blog/2006/10/03/create-a-web-dynpro-tree-from-an-xml-file
    Is there a similar facility in ABAP WD?
    Regards,
    Haresh.

    hey u can do this by using CALL Transformation id.. command..
    here is the example code where i wrote this to convert it DATA to XML format...it may help u..
      DATA : BEGIN OF l_xml_tab OCCURS 0,
              a(100) TYPE c,
             END OF l_xml_tab.
      DATA : xml_out TYPE string .
      DATA : lw_xml_tab LIKE LINE OF l_xml_tab.
    XML
      CALL TRANSFORMATION id "('ID')
      SOURCE tab = gt_outtab[]
      RESULT XML xml_out.
    Convert to TABLE
      CALL FUNCTION 'HR_EFI_CONVERT_STRING_TO_TABLE'
        EXPORTING
          i_string         = xml_out
          i_tabline_length = 100
        TABLES
          et_table         = l_xml_tab.
      OPEN DATASET p_lgfil1 FOR OUTPUT IN BINARY MODE.
      LOOP AT l_xml_tab INTO lw_xml_tab.
        TRANSFER lw_xml_tab TO p_lgfil1.
      ENDLOOP.
      CLOSE DATASET p_lgfil1.

  • Combine 2 xml file into 1

    hello everyone,
    can i know is it posible to combine 2 xml file into one xml file?
    if possible
    can i know how?
    thank you
    : )

    Of course you have to make up some specifications to deal with the requirements forced by XML files. For example: an XML file must have a single root element, so you can't just concatenate the two input files. So your specifications have to say whether the root element of the result is a new element, containing two children which are the original input documents, or something else.

  • Parsing SOAP Results into Variables

    Can someone assist me in figuring out what way I need to go
    to parse SOAP results into an array?
    I have setup the <MX:WEBService> correctly, created my
    resultEvent(event) handler and faultEvenet(event) handler as
    needed. Below is the web service:
    <mx:WebService
    id="srvGetTagHistory" wsdl="{SOAP_URL}"
    result="CreateTagHistory(event)" fault="faultEvenet(event)"
    useProxy="false">
    <mx:operation name="GetTagHistory" resultFormat="e4x">
    <mx:request>
    <RSWID>{vRSWID}</RSWID>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    This works perfectly. I can return the results of the
    webservice to a text area control, and the complete SOAP results
    are displayed.
    My problem is I cannot and have not figured out how to make
    the SOAP results into some type of arraycollection for using in,
    lets say, a dataGrid.
    Here is an example of a SOAP result for the above webservice:
    <NS1:GetTagHistoryResponse
    xmlns:NS1="urn:myresaleworldserviceIntf-myresaleworldserver"
    xmlns:NS2="urn:myresaleworldserviceIntf" xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xmlns:SOAP-ENC="
    http://schemas.xmlsoap.org/soap/encoding/">
    <NS2:return href="#1"/>
    <SOAP-ENC:Array id="1">
    <item href="#2"/>
    <item href="#9"/>
    <item href="#16"/>
    <item href="#25"/>
    <item href="#29"/>
    </SOAP-ENC:Array>
    <NS2:rswTagHistory id="2">
    <OrderDate>2005-12-08T11:15:24.857-05:00</OrderDate>
    <TagType>CB Tags</TagType>
    <NS2:ColorDetail href="#3"/>
    </NS2:rswTagHistory>
    <SOAP-ENC:Array id="3">
    <item href="#4"/>
    <item href="#5"/>
    <item href="#6"/>
    <item href="#7"/>
    <item href="#8"/>
    </SOAP-ENC:Array>
    <NS2:rswTagColorDetail id="4">
    <TagColor>Lavender</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="5">
    <TagColor>Light Blue</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="6">
    <TagColor>Green</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="7">
    <TagColor>Pink</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="8">
    <TagColor>Yellow</TagColor>
    <Total>1</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagHistory id="9">
    <OrderDate>2005-12-08T11:18:44.233-05:00</OrderDate>
    <TagType>CB Tags</TagType>
    <NS2:ColorDetail href="#10"/>
    </NS2:rswTagHistory>
    <SOAP-ENC:Array id="10">
    <item href="#11"/>
    <item href="#12"/>
    <item href="#13"/>
    <item href="#14"/>
    <item href="#15"/>
    </SOAP-ENC:Array>
    <NS2:rswTagColorDetail id="11">
    <TagColor>Lavender</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="12">
    <TagColor>Light Blue</TagColor>
    <Total>3</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="13">
    <TagColor>Green</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="14">
    <TagColor>Pink</TagColor>
    <Total>3</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="15">
    <TagColor>Yellow</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagHistory id="16">
    <OrderDate>2006-08-07T13:56:22.513-05:00</OrderDate>
    <TagType>CB Tags</TagType>
    <NS2:ColorDetail href="#17"/>
    </NS2:rswTagHistory>
    <SOAP-ENC:Array id="17">
    <item href="#18"/>
    <item href="#19"/>
    <item href="#20"/>
    <item href="#21"/>
    <item href="#22"/>
    <item href="#23"/>
    <item href="#24"/>
    </SOAP-ENC:Array>
    <NS2:rswTagColorDetail id="18">
    <TagColor>Lavender</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="19">
    <TagColor>Light Blue</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="20">
    <TagColor>Green</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="21">
    <TagColor>Orange</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="22">
    <TagColor>Pink</TagColor>
    <Total>1</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="23">
    <TagColor>Red</TagColor>
    <Total>2</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="24">
    <TagColor>Yellow</TagColor>
    <Total>1</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagHistory id="25">
    <OrderDate>2007-04-10T12:08:03.950-05:00</OrderDate>
    <TagType>CB Tags</TagType>
    <NS2:ColorDetail href="#26"/>
    </NS2:rswTagHistory>
    <SOAP-ENC:Array id="26">
    <item href="#27"/>
    <item href="#28"/>
    </SOAP-ENC:Array>
    <NS2:rswTagColorDetail id="27">
    <TagColor>Light Blue</TagColor>
    <Total>3</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagColorDetail id="28">
    <TagColor>Green</TagColor>
    <Total>1</Total>
    </NS2:rswTagColorDetail>
    <NS2:rswTagHistory id="29">
    <OrderDate>2007-12-19T12:52:30.883-05:00</OrderDate>
    <TagType>Thermal Tags</TagType>
    <NS2:ColorDetail href="#30"/>
    </NS2:rswTagHistory>
    <SOAP-ENC:Array id="30"/>
    </NS1:GetTagHistoryResponse>
    Any assistance to this issue would be greatly appreciated.

    If you have set resultFormat="e4x" than you can handle the
    result very easily.
    I guess you already find out that your result is in
    event.result.
    Your example is too hard to parse by human.
    You can read:
    http://livedocs.adobe.com/labs/flex3/html/help.html?content=13_Working_with_XML_01.html
    Especially: Traversing XML structures and Using XML
    namespaces
    I hope this will help

  • Binding ArrayCollection to HTTPService method="POST" xml result

    Hi All,
    Firstly apologies for posting all this code!
    I have the following app that adds & displays in a
    datagrid the data from a mysql db, works fine so far.
    #########################<START
    SNIP>##########################
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*" layout="absolute"
    backgroundGradientColors="[#0080ff,#80ffff]"
    creationComplete="send_data()">
    <!-- This is the Script to SetUp Functions-->
    <mx:Script>
    <![CDATA[
    private function youveClicked():void {
    mx.controls.Alert.show('You Clicked!!!');
    private function send_data():void {
    staffcodeRequest.send();
    ]]>
    </mx:Script>
    <!-- This is the HTTPService-->
    <mx:HTTPService id="staffcodeRequest" url="
    http://192.168.0.84/amfphp/services/staffcode.php"
    useProxy="false" method="POST">
    <mx:request xmlns="">
    <firstname>{firstname.text}</firstname><surname>{surname.text}</surname><staffcode>{staff code.text}</staffcode><emailaddress>{emailaddress.text}</emailaddress><department>{departm ent.text}</department>
    </mx:request>
    </mx:HTTPService>
    ###########################<END
    SNIP>##########################
    I'm thinking of Binding the the xml formated results into an
    arrayCollection & then use the filterFunction to allow a user
    to filter the data (is this possible?).
    (Below is some code that I found in a thread & am using
    to work from as an example)
    #########################<START
    SNIP>##########################
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical" creationComplete="initData()">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    private var dataList:ArrayCollection ;
    private function initData():void{
    dataList= new ArrayCollection([
    {name:"school A", city:"Dartford"},
    {name:"school B", city:"Pomona "},
    {name:"School C", city:"Phillipsburg"}
    private function filterDemo():void{
    dataList.filterFunction = searchDemo;
    dataList.refresh();
    private function searchDemo(item:Object):Boolean{
    var isMatch:Boolean = false
    if(item.name.toLowerCase().search(search.text.toLowerCase())
    != -1){
    isMatch = true
    return isMatch;
    private function clearSearch():void{
    dataList.filterFunction = null;
    dataList.refresh();
    search.text = '';
    ]]>
    </mx:Script>
    ###########################<END
    SNIP>##########################
    If it is possible, I need some help in integrating the
    following code, (I've tried but keep getting {1151: A conflict
    exists with definition staffcodeRequest in namespace internal.})
    #########################<START
    SNIP>##########################
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*" layout="absolute"
    backgroundGradientColors="[#0080ff,#80ffff]"
    creationComplete="send_data()">
    <!-- This is the Script to SetUp Functions-->
    <mx:Script>
    <![CDATA[
    private function youveClicked():void {
    mx.controls.Alert.show('You Clicked!!!');
    private function send_data():void {
    staffcodeRequest.send();
    <!--Can I just Bind the arrayCollection here-->
    import mx.collections.ArrayCollection;
    [Bindable]
    private var staffcodeRequest:ArrayCollection;
    private function filterDemo():void{
    staffcodeRequest.filterFunction = searchDemo;
    staffcodeRequest.refresh();
    private function searchDemo(item:Object):Boolean{
    var isMatch:Boolean = false
    if(item.staffcode.toLowerCase().search(search.text.toLowerCase())
    != -1){
    isMatch = true}
    return isMatch;
    private function clearSearch():void{
    staffcodeRequest.filterFunction = null;
    staffcodeRequest.refresh();
    search.text = '';
    ]]>
    </mx:Script>
    <!-- This is the HTTPService-->
    <mx:HTTPService id="staffcodeRequest" url="
    http://192.168.0.84/amfphp/services/staffcode.php"
    useProxy="false" method="POST">
    <mx:request xmlns="">
    <firstname>{firstname.text}</firstname><surname>{surname.text}</surname><staffcode>{staff code.text}</staffcode><emailaddress>{emailaddress.text}</emailaddress><department>{departm ent.text}</department>
    </mx:request>
    </mx:HTTPService>
    ###########################<END
    SNIP>##########################
    What I am strugling with is BINDING the returned xml formated
    results to an arrayCollection, and changing from the static xml
    file example to mxl formated txt received from the mysql db on the
    fly.
    Help would be grate ;-)
    TIA
    Danny

    From what I've read, it seems that a Proxy Server, such as
    BlazeDS or FDS, is required if you want to use anything other than
    GET or POST and set the useProxy property to true.
    What is the motivation of requiring a proxy server to support
    HTTP PUT or DELETE?

Maybe you are looking for

  • Website site looks fine in Dreamweaver but...

    So I am creating my own website for the first time and after a bunch of problems, I've ran into one I am unsure of how to fix. ngkevin-art.com/about.html This is how it looks like in Dreamweaver and how I want it to look: http://i.imgur.com/wlOIR.jpg

  • WRT400N Can no longer connect to with cat 5 or wireless.

    Been having random connection drops for the past few weeks where I would see the network connections to the router just drop either on a wireless connection or a wired cat 5 connection. As of tonight I cant connect to the router at all. If I disconne

  • Standard text in smartform

    hi, I want to include one standard text in smartform how cani do it

  • Maintain default custom vendor

    Dear all, I want to maintain default vendor for some custom condition type. In case of import PO, we maintain custom vendor at item level of PO in condition type. i want that vendor code should come automatically, i have not to maintain multiple time

  • Reverting to old version?

    I could not get my iPhone 4.2 update on my mac desktop because I could not get the latest version of iTunes (I think). every time I plugged in, opened iTunes, and then pressed 'Update', I was told I had the latest version of iTunes, and would not go