XML and the XMLDocument API confusion

Maybe I read this wrong or missing something, but it seems that there is a circular reference in the XML and XMLDocument API. I began reading on the use of XML and can't follow what objects should be used.

In the code XML doc page is the following line:
Quote:

Note: The XML class (along with related classes) go ActionScript 2.0 has been renamed XMLDocument and moved into the flash.xml package. It is included in ActionScript 3.0 for backward compatibility.

Tags: Flex

Similar Questions

  • Help with Essbase 9 and the Java API

    Hi, I am trying to connect to Essbase to a Java desktop app and I'm unable to do so. I need to know if I'm in principle do the right things and if I have the good environment set up.

    We have a server with Essbase version 9.3.1. We normally use essbase through the Excel add-in, and I already wrote it Excel applications that can use both the add-in and the Essbase API in VB. Now, I need to connect to Essbase but out of Excel and using the Java API. I have no idea what is APS don't my Essbase administrator.

    My request has the following (adapted from a post on this forum)-
    Public Shared Sub main (String [] args) {}
    String s_userName = 'user ';
    String s_password = "password";
    String s_olapSvrName = "ustca111";
    String s_provider = "http://localhost:13080/aps/JAPI ';
    try {}
    ESS IEssbase = IEssbase.Home.create (IEssbase.JAPI_VERSION);
    DOM IEssDomain = ess.signOn (s_userName s_password, s_provider, null, false);
    IEssOlapServer olapSvr = (s_olapSvrName) dom.getOlapServer;
    olapSvr.connect ();
    System.out.println ("connection to the server Analyic '" + olapSvr.getName () + "' has been a success.");
    olapSvr.disconnect ();
    } catch (EssException exp) {}
    System.out.println (exp.getMessage ());
    } }

    I'm running my app on my computer, not on the Essbase server, and the user name that I use is the same one I use (as a user of Essbase) through the Essbase Addin in Excel, not an admin login.

    When I run the application, I get:
    "Cannot connect to the Server.Make provider ensure that access code settings are correct and the server of the provider is running."

    Please can you confirm:
    (1) do I need an admin login for my client application to connect to the Essbase server or can I use a dial-up connection in normal play, like the one I use in Excel?
    (2) is the same provider regardless of the computer, i.e. "http://localhost:13080/aps/JAPI '; How can I know what this could be? Where can I get this information?
    (3) how can I make sure that the server is running the server needed 'provider', it's just a service that appears on the server services.msc? What should I ask the Essbase administrator for him to tell me what I need?

    Thank you very much.

    Leo

    Leo,

    You have APS and Shared Services running on your server? It would be the first question to answer. If you put in the url (http://localhost:13080/aps/JAPI, in your program) in a browser, you get a generic APS screen, or you get an error "page is not available. Unless you connect to APS that is running on the same computer that is running your Java application, the section 'localhost' should be the name of your APS Server.

    (1) for this Java program, you connect just to read only access that ID is OK
    (2) the supplier would be the same for every customer. The provider is the URL of your APS Server. Unless you run in embedded mode, you must APS to connect with the Essbase server. In embedded mode, you talk with the Essbase server, see [this thread | http://forums.oracle.com/forums/thread.jspa?messageID=3314485?].

    (3) APS - Analytic Provider Services, I'm not sure what it would show on a Windows Server. I suppose it would be something on Hyperion System 9 Analytic Provider Services. If you have installed APS, I would try the embedded road because it's the only way you will get to work.

    Published by: rjgideon on June 2, 2010 16:18

  • XML and the data recovery

    Hey,.

    Not sure if this is the right section on the forum:

    I was wondering if there was a way to retrieve data from an XML page.

    For example, I want to create a BBApp that can request a XML page and once it has loaded to extract all of the appropriate fields and load them into a graphical user interface - without actually loading the page, basically I just want to create demand and get the XML Source Code and mine through this XML Source data.

    Thanks in advance,

    Jovinus Sveinbjornsson

    Hi Eva,

    This can easily be done in a BlackBerry Widget.  You will use the built in support of AJAX and the XMLHttpRequest object.

    You can retrieve the contents of the XML file via an AJAX call.  When it returns can then access the property of '.responseXML' which has already crawled your XML DOM document.  Just to make sure to whitelist the domain in the config.xml file to allow access to that external resource.  There are a bunch of samples and videos that explain this concept.

    You would then just browse XML and create your HTML code to reflect your data and insert it into the page.  A good tutorial on AJAX can be found here:

    http://www.w3schools.com/AJAX/default.asp

    Now for some advice

    If you are recovering data and then display as Web content within a widget, I would really recommend format of that content on the server in its HTML markup before sending it to your Widget in the AJAX request.  The reason why I recommend this is that there is a lot of manipulation of the DOM creating HTML nodes if you look at the raw XML data that is returned.

    If you flip it over already in HTML server-side, you can simply replace an item on your web page using innerHTML.  On a device mobile, if you can offload the work to a server it certainly helps performance.

  • What groups safety and licensing for developers and the bulk API?

    I am currently working on the API integration in bulk of our SaaS product to Eloqua customer instance.  General requirements include read a list of contact lists and then adding/setting day of Contacts in a list.  They sent us a list of groups of security and licensing options and asked us to the API user account and a user account temporary developer/Tester (check that data arrives intact in Eloqua).  Here's what I assumed from documentation and the discussions here, but someone can tell me if this is correct?

    User of the API (permanent)

    Required permissions: "Everyone," "Users of the API," "user - Marketing base" (to access Contacts or 'Advanced users - Marketing' if "custom objects" access?)

    License: no

    Temporary interactive user to developer/Tester

    Required permissions: "Everyone", "Basic Marketing - users" (and, possibly, 'Advanced users - Marketing' if "custom objects" access?)

    License: Eloqua Marketing Platform

    The other element that I see referenced in the code examples is the specifier "site" or "instance".  What format does it take, and where I can tell the client to search for it in their console Eloqua?

    Thank you

    Richard

    Hi Richard,

    Let's simplify things a bit...

    For the use of the API (one of them!), you should have User API and Marketing advanced - users.  This warranty covers the basics.

    Licensing should only come into play for things as endpoints to deliver.

    Until the 'site' or 'instance', it is the simple name of the company and is when the user connects to Eloqua.

    Hope that helps!

  • InDesign, export XML and the Task FORCE

    As a producer of a weekly, I need advice as to generate xml from Indesign CC (Mac) data standards NITF, at the choice of my digital Distributor. This includes dividing an article - that can be formatted in single text - in two equal elements: one for the title, signature, etc. and one for the body of the text. Is it possible to do without altering the original route, intended for printing? I would rather not have to break an image into two just for this purpose - for each article in the newspaper. In short: an image, an ACE, maybe two items, the head and the body? There is no shortage of advice around xml, nor on the NITF standard for dress news, but I have yet to find the one dealing with both. Thanks in advance.

    If I understand correctly, you just need to label the elements properly. To use a simple example, if I have a single image of text that contains a header and body text, I would create two tags, one for the title and one for the body. Then, I select the heading and apply the tag title and made similarly to the body. When you export to xml format, you will have two items with the title tag and the other with the body tag.

    I am ignorant as to the requirements of the Task FORCE, and so you need anew XSLT to perform on the exported XML file that would comply with the standard. I do not know because I am not aware of it. This part, if necessary I would do in an xml editor or a good text editor who may be able to it's needs.

    Mike

  • Adobe TV Episode 1: Edge and the Twitter API does not?

    I went through this about 12 times and cannot operate. There is something different with the Twitter API?

    I saw the forum meet change edge handle Twitter, but that no longer works. All I see is the background, no tweets.

    Help?

    HD

    http://www.edgedocks.com/market/Twitter-template-edge-animate-updated

    It is a model updated from edgedocks

  • How to read the extended cache file - config.Xml. in the C++ API

    I want to create my own XML configuration file and set the values of configuration in that, so that the client application in C++ (using C++ API consistency) can access the config files.

    Also how to get the instance of configuration values that read the customer of coherence.

    i.e.
    TangosolCoherenceOverride=$PATH/examples/config/tangosol-coherence-override.xml
    TangosolCoherenceCacheconfig=$PATH/examples/config/extend-cache-config.xml

    How to get the instance of this XMLDocument object? and read the values of the.

    Thank you
    Naveen

    Hello

    You can get the config cache that was read by recovering of the ConfigurableCacheFatory (which you can get the CacheFactory) by getConfig(). See:
    http://download.Oracle.com/otn_hosted_doc/coherence/352CPP/classcoherence_1_1net_1_1_cache_factory.html
    http://download.Oracle.com/otn_hosted_doc/coherence/352CPP/classcoherence_1_1net_1_1_configurable_cache_factory.html

    There is no way to get the real XmlDocument object in the cluster that is played for the config-cluster (if you could open the same way yourself).

    Thank you
    -Rob

  • XML and the PowerCLI Scripting Edition

    Good then I am using PowerCLI to do Automation more boring tasks that need to be repeated. But now I'm stuck because I do not understand how to enter commands in the window PowerCLI and creating XML scripts that are called by a manually scheduled task.

    Is there training there or good articles on how to go to the manual entry of orders from command line and in scripts development of really?

    Any information would be greatly appreciated.

    See you soon,.

    Paul

    I assume you are talking about PowerShell scripts and not the XML scripts?

    You can find a good intro to PowerShell scripts in Chapter 10 of free PowerShell ebookTobias.

  • Beehive netui - config.xml and the ampersand problem

    <>url-config
    < url-encodes-URL > false < / url-encodes-URL >
    < html-amp-entity > false < / html-amp-entity >
    < / url-config >

    I added the following lines in the Beehive netui - config.xml, but getting these errors saying entered invalid, we use WLP 10.2, any help at this very appreciated


    java.lang.IllegalStateException: has not been initialized in /WEB-INF/beehive-netui-config.xml
    at org.apache.beehive.netui.pageflow.internal.PageFlowInitialization.performInitializations(PageFlowInitialization.java:95)
    at org.apache.beehive.netui.pageflow.PageFlowContextListener.contextInitialized(PageFlowContextListener.java:47)
    to weblogic.servlet.internal.EventsManager$ FireContextListenerAction.run (EventsManager.java:458)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs (unknown Source)
    Truncated. check the log file full stacktrace
    org.apache.beehive.netui.util.config.ConfigInitializationException: Validation errors occurred parsing the configuration file "/WEB-INF/beehive-netui-config.xml". Cause: org.xml.sax.SAXParseException: cvc-complex - type. 2.4.d: invalid content were found starting with the element "url-config". No child element is planned at this stage.
    to org.apache.beehive.netui.util.config.parser.NetUIConfigParser$ 3.error(NetUIConfigParser.java:171)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:175)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    to com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$ XSIErrorReporter.reportError (XMLSchemaValidator.java:429)
    Truncated. check the log file full stacktrace
    org.xml.sax.SAXParseException: cvc-complex - type. 2.4.d: invalid content were found starting with the element "url-config". No child element is planned at this stage.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    to com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$ XSIErrorReporter.reportError (XMLSchemaValidator.java:429)
    Truncated. check the log file full stacktrace


    e < 28 October 2008 9:40:50 PM PDT > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1225255174548 'for task ' 0'. Error: ' weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:975)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. check the log file full stacktrace
    org.xml.sax.SAXParseException: cvc-complex - type. 2.4.d: invalid content were found starting with the element "url-config". No child element is planned at this stage.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    to com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$ XSIErrorReporter.reportError (XMLSchemaValidator.java:429)
    Truncated. check the log file full stacktrace


    < 28 October 2008 9:40:50 PM PDT > < error > < hats > < BEA-149202 > < encountered an exception while trying to commit the task 9 for the application "PortalEar". >
    < 28 October 2008 9:40:50 PM PDT > < WARNING > < hats > < BEA-149004 > < failures have been detected all by initiating the task to redeploy to app "PortalEar" >.
    < 28 October 2008 9:40:50 PM PDT > < WARNING > < hats > < BEA-149078 > < message 149004 track battery
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:975)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. check the log file full stacktrace
    org.xml.sax.SAXParseException: cvc-complex - type. 2.4.d: invalid content were found starting with the element "url-config". No child element is planned at this stage.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    to com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$ XSIErrorReporter.reportError (XMLSchemaValidator.java:429)
    Truncated. check the log file full stacktrace


    < 28 October 2008 9:40:51 PM PDT > < WARNING > < hats > < BEA-149252 > < no deployment "PortalEar" found to stop operation. >

    Looks like you added the config url entry in the wrong place in the config file, so it fails to analyze. Looking at the diagram of the Beehive netui config, the elements in the netui-config element must be in the following sequence:













    So "url-config" should come before "iterator-factories" and after 'jsp-tag-config' in the config file.

    Jeff

  • Eloqua9 is supported in bulk and the Rest API v2.0?

    Nobody knows if they are both supported by E9?

    In bulk = Yes, = No rest

    Am I wrong? TJ fields-Oracle Joel Rothman-Oracle

  • Working with XML and button

    Hello

    How are you all. Well, I'm new to Flex. But I started to build simple applications. One of the best most problem I face in working with XML and the button. Can you please help me in this. I explain my problem:

    I have an external XML file like this:
    < menu >
    < button >
    < idnt > 0 < / idnt >
    General Health < label > < / label >
    pages of < text > general health is currently under construction < / text >
    < / button >
    < button >
    < idnt > 1 < / idnt >
    < label > mental health < / label >
    pages of < text > mental health is currently under construction < / text >
    < / button >
    < / menu >

    Now, I want to generate dynamically buttons from this XML file. And the second thing that is the most problematic is that how I code so that when I press the button marked 'General health', it will display the same text as in the XML corresponding to the tag tag "< label > General Health < / label >?
    I seriously need it. I'm really confused on this. Kindly help me.

    Concerning
    .. : DeX

    Dear Peter,

    Thank you, thank you very much... bundles of thanks from me. You really help me with this. I wasn't expecting such a detailed response from anyone. But you the wrong given. Thank you very much.
    My MSN account ID is "[email protected]". I would be very happy if you add me to your contact list or let me know your email address. I am not your hotmail ID ask you many questions, would just be a friend to share new ideas and knowledge.

    I thank once again...
    .. : DW

  • Force display the top menu and the scrubber in Adobe Content Viewer?

    Hello

    I have problems to display the top menu and scrubbing machines (see below), regardless of where I tap on the screen, it does not appear. I think it has something to do with most of my pages by having a web site with overlay. How can I fix it? Or y at - there a way to force this top menu/scrubber? A button for < a navto://topmenu > would be great

    menu.png

    You must provide space on the page somewhere that the reader can draw to bring it. If your HTML content supports the entire screen and uses gestures then the drive will not be able to raise the bar. It is, unfortunately, no way to set it explicitly html off.

    Note that we have addressed this in the next generation of Digital Publishing Solution (aka DPS 2015). Depending on your project, you might want to try the beta and the new APIs, we have for authors of HTML content that give you control over gestures and when our chrome shows full.

    Neil

  • Get write access to the VI API to allow stopping a server ESXi via Toolkit VI

    Shutdown, APC by 3i

    Referring to the above link and more precisely the following statement ' VMware ESXi 3.5u4 has just been launched and the internal API seems to have been fixed and exposed VI API will have only read-only access when you use the version of ESXi license.

    I did some playing with 3.5u4 ESXi and use the VI Toolkit to connect to the host of 3i. I have been unable to stop the ESXi host as it gives me the error "fault. RestrictedVersion.summary ".

    I understand the question (see this link fault. RestrictedVersion.summary).

    My question is how can I pay for that to work (which agents do I need to buy).

    In my scenario (small client under 15 users), I have a server terminal server in physics and I want to implement SBS on a box of 3i. I want to be able to issue a stop command to the area of 3i of the terminal server using the VI toolkit.

    So I'm able to buy an agent / license to allow write access to the API?

    My first thoughts were:

    • I need to purchase a license to host VirtualCenter for this box of 3i.

    • Then, he would be more free and I was able to 'write' API?

    • I guess on the SBS box, I wouldn't need to install virtual center, just the license service so I got somewhere to point the box of 3i in a location of license

    • VirtualCenter can be provided as a serial number or the host license?

    Any ideas or suggestions?

    I like the VI Toolkit to be able to issue the shutdown command, in turn will stop the VM guest for me.

    At least you need the Foundation license which includes vCenter. Which will give you full access r/w to the VI API, this limited restriction applies only to the free version of ESXi, you are aware of.

    This KB provides details on the type of license required for full access in RCLI: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006543

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    http://Twitter.com/lamw

  • Trouble accessing the dynamic XML of the API with a CFC

    Please see my example at the source of http://67.199.18.39/test.html and the view (to big to post here). I'm back XML returned by a dynamic call to an API through a ColdFusion CFC.

    You are looking for a generic name like dog. Click OK. I display the XML for you to see. I tried several different XMLList dataproviders but unable to get anything to work.

    Can someone indicate on the 'mistakes' of my ways?

    Thank you.

    It turns out that it was a matter of namespace. I found the answer from a tutorial of Bruce Phillips at -For-Each-Statement-And-The-Descendent-Accessor--Operator http://www.brucephillips.name/blog/index.cfm/2006/12/5/Processing-XML-in-Flex-20-Using-The

    I had to add:

    namespace private yahooNS = "urn: yahoo: Prods."
    Using namespace yahooNS;

  • I'm tryin to update my computer... I keep getting code and the error 646... I need help I am if confused as to what to do to get these updates... I tried to disable my firewall, but which is not good... Help, please

    I'm tryin to update my computer... I keep getting code and the error 646... I need help I am if confused as to what to do to get these updates... I tried to disable my firewall, but which is not good... Help, please

    Download and install the update/s who is / are relevant to your computer manually.
    IE: http://www.microsoft.com/downloads/en/results.aspx?freetext=974771&displaylang=en&stype=s_basic

    TaurArian [MVP] 2005-2010 - Update Services

Maybe you are looking for