How to get processing instruction tag ?

pls,can anyone tell me,how to processing instruction tag indesign sdk?
Thanks,
screen410099

with t
as
select 'EXECUTION APPROVAL - <b><VALIDATION TYPE></b> execution <b><VAL. EXE. NO.></b> f or <b><ENTITY NAME> / <ENTITY NO.></b> has been Sent to you for Approval' str
  from dual
select regexp_substr(str,'<[^>]*>',1,level)
  from t
where regexp_substr(str,'<[^>]*>',1,level) is not null
   and regexp_substr(str,'<[^>]*>',1,level) not in ('<b>','</b>')
connect by level <=length(str)

Similar Messages

  • How to get the anchor tag values in next jsp

    Hey all,
    I have two jsp files.
    in first jsp,
    I am getting the resultset.
    I am setting the resultset to the anchor tag.
    below is the code...
    <a target="_top" rel="contents" rev="contents" class="fordynamiclabel" href="ASCMasterTwo.jsp"><%=rSet.getString(1) %></a></td>
    whenever he click on any anchor tag,
    It will goes to ACSMasterTwo.jsp page for edit the compleate record.
    how to get the anchor tag value in that page...
    Please help me on this.

    You have to pass a parameter. An id is good.
    Of course you have to get an id from somewhere in the result set right?
    <a target="_top" rel="contents" rev="contents" class="fordynamiclabel" href="ASCMasterTwo.jsp?id=<%= rSet.getString("id") %>"><%=rSet.getString(1) %></a></td>Then you call
    request.getParameter("id");
    and look up the values related to that id in the database.

  • How to get Process Task Retry Count using API (OIM 10g)

    Hi ,
    I want to get all the process task which are failed after retried 5 times.
    For e.g Create user task in AD retried for 5 times but still it is in failed state. I want to get all such process task.
    I am stuck at point how to get process task retry count from process definition?
    Thanks

    You can reference the code in the "Task Timed Retry" scheduled task to get what you are looking for. Here is the decompiled code:
    >
    package com.thortech.xl.schedule.tasks;
    import Thor.API.Operations.tcScheduleTaskOperationsIntf;
    import com.thortech.util.logging.Logger;
    import com.thortech.xl.dataaccess.tcDataSetException;
    import com.thortech.xl.dataobj.tcDataSet;
    import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
    import com.thortech.xl.util.logging.LoggerMessages;
    import java.sql.Date;
    import java.util.Hashtable;
    public class tcTskTimedRetry extends SchedulerBaseTask
    private static Logger logger = Logger.getLogger("Xellerate.Scheduler.Task");
    Date isCurrentDate;
    public void init()
    logger.debug(LoggerMessages.getMessage("EnteredMethodDebug", "tcTskTimedRetry/init"));
    this.isCurrentDate = new Date(System.currentTimeMillis());
    logger.debug(LoggerMessages.getMessage("LeftMethodDebug", "tcTskTimedRetry/init"));
    public void execute()
    logger.debug(LoggerMessages.getMessage("EnteredMethodDebug", "tcTskTimedRetry/execute"));
    tcDataSet localtcDataSet1 = new tcDataSet();
    tcDataSet localtcDataSet2 = new tcDataSet();
    tcDataSet localtcDataSet3 = new tcDataSet();
    try
    if (isStopped())
    return;
    localtcDataSet2.setQuery(getDataBase(), "select osi_retry_on from osi where 1=2");
    localtcDataSet2.executeQuery();
    if (isStopped())
    return;
    localtcDataSet2.setDate("osi_retry_on", this.isCurrentDate);
    localtcDataSet1.setQuery(getDataBase(), "select osi.sch_key, osi.mil_key, osi.orc_key, osi.osi_rowver, sch.sch_rowver, osi.osi_retry_for, osi.osi_retry_on, osi.osi_retry_counter, sch.sch_note from osi osi,sch sch where osi.osi_retry_on <=" + localtcDataSet2.getSqlText("osi_retry_on") + " and osi.sch_key = sch.sch_key" + " and sch.sch_status='R'" + " and osi_retry_counter>0 order by osi.sch_key");
    localtcDataSet1.executeQuery();
    if (isStopped())
    return;
    int i = localtcDataSet1.getRowCount();
    logger.debug("tcTskTimedRetry:execute:Number of Process tasks retrieved is=" + i);
    tcScheduleTaskOperationsIntf localtcScheduleTaskOperationsIntf = (tcScheduleTaskOperationsIntf)getUtility("Thor.API.Operations.tcScheduleTaskOperationsIntf");
    tcDataSet localtcDataSet4 = new tcDataSet();
    localtcDataSet4.setQuery(getDataBase(), "select osi_retry_for, osi_retry_counter from osi where 1=2");
    localtcDataSet4.executeQuery();
    Hashtable localHashtable = new Hashtable();
    if (isStopped())
    return;
    for (int j = 0; j < i; j++)
    if (isStopped())
    return;
    localtcDataSet1.goToRow(j);
    localtcDataSet3.setQuery(getDataBase(), "select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=" + localtcDataSet1.getLong("sch_key"));
    localtcDataSet3.executeQuery();
    if (isStopped())
    return;
    if (localtcDataSet3.getInt("counter") > 0)
    continue;
    localHashtable.put("osi_retry_for", String.valueOf(localtcDataSet1.getLong("sch_key")));
    localHashtable.put("sch_note", localtcDataSet1.getString("sch_note"));
    long l = localtcDataSet1.getLong("osi_retry_counter");
    if (isStopped())
    return;
    try
    localtcScheduleTaskOperationsIntf.createScheduleItem(localtcDataSet1.getString("orc_key"), localtcDataSet1.getString("mil_key"), localHashtable, l - 1L);
    catch (Exception localException2)
    logger.error(LoggerMessages.getMessage("ErrorMethodDebug", "tcTskTimedRetry/execute", localException2.getMessage()), localException2);
    catch (tcDataSetException localtcDataSetException)
    logger.error(LoggerMessages.getMessage("ErrorMethodDebug", "tcTskTimedRetry/execute", localtcDataSetException.getMessage()), localtcDataSetException);
    logger.debug("PJ:tcTskTimedRetry:execute:DataSetexception has occured");
    catch (Exception localException1)
    logger.error(LoggerMessages.getMessage("ErrorMethodDebug", "tcTskTimedRetry/execute", localException1.getMessage()), localException1);
    logger.debug(LoggerMessages.getMessage("LeftMethodDebug", "tcTskTimedRetry/execute"));
    public boolean stop()
    logger.debug("tcTskTimedRetry:stop:Task being stopped");
    return true;
    >
    -Kevin

  • How to get a specific tag value from SAX parser

    I am using the SAX method to parse my xml file.
    My Question is how to get the returning characters parsed after calling?
    esp the value of <body> tag?
    Here is my xml file, and i want to get the parsed <body> value after call sax parser.
    <?xml version="1.0" encoding="UTF-8"?>
    <article>
    <content>
    <title>floraaaaa</title>
    <date>2004-03-19</date>
    <body>
    Details of an article, and i want to get the article details
    </body>
    </content>
    </article>

    here is the parser code I am using:
    import java.io.*;
    import org.apache.xerces.parsers.SAXParser;
    import org.xml.sax.Attributes;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    public class test2 {
         public String m_xmlDetail;
         public void readDetail(String url) {
              System.out.println("Parsing XML File: " + url + "\n\n");
              try {
                   XMLReader parser = new SAXParser();
                   ContentHandler contentHandler = new MyContentHandler();
                   parser.setContentHandler(contentHandler);
                   parser.parse(url);
              } //try ends here
              catch (IOException e) {
                   System.out.println("Error reading URI: " + e.getMessage());
              } //catch ends here
              catch (SAXException e) {
                   System.out.println("Error in parsing: " + e.getMessage());
              } //catch ends here
         } //function
    }//close class
    public class MyContentHandler implements ContentHandler {
         private Locator locator;
         //public String m_bodyDetail=new String();
         public void setDocumentLocator(Locator locator) {
              System.out.println(" * setDocumentLocator() called");
              this.locator = locator;
         public void startDocument() throws SAXException {
              System.out.println("Parsing begins...");
         public void endDocument() throws SAXException {
              System.out.println("...Parsing ends.");
         public void processingInstruction(String target, String data)throws SAXException {
              System.out.println("PI: Target:" + target + " and Data:" + data);
         public void startPrefixMapping(String prefix, String uri) {
              System.out.println("Mapping starts for prefix " + prefix + " mapped to URI " + uri);
         public void endPrefixMapping(String prefix) {
              System.out.println("Mapping ends for prefix " + prefix);
         public void startElement(String namespaceURI, String localName,String rawName, Attributes atts)throws SAXException {
              System.out.print("startElement: " + localName);
              if (!namespaceURI.equals("")) {
                   System.out.println(" in namespace " + namespaceURI + " (" + rawName + ")");
              else {
                   System.out.println(" has no associated namespace");
              for (int i=0; i<atts.getLength(); i++)
                   System.out.println(" Attribute: " + atts.getLocalName(i) +"=" + atts.getValue(i));
         public void endElement(String namespaceURI, String localName, String rawName) throws SAXException {
              System.out.println("endElement: " + localName + "\n");
         public void characters(char[] ch, int start, int end) throws SAXException {
              String s = new String(ch, start, end);
              System.out.println("characters: " + s);
         public void ignorableWhitespace(char[] ch, int start, int end)throws SAXException {
              String s = new String(ch, start, end);
              System.out.println("ignorableWhitespace: [" + s + "]");
         public void skippedEntity(String name) throws SAXException {
              System.out.println("Skipping entity " + name);
    } //close class

  • How to get PROCESS MODE in CRM 2007 WebClient

    Hi all,
    Currently, we're implementing CRM2007 WebClient -- Service Transaction.
    In the past(CRM4.0 Version), we used the function 'CRM_INTLAY_GET_PROCESS_MODE' in the BADI of SAVE Service Order to identify it's a new create order or changed order.
      CALL FUNCTION 'CRM_INTLAY_GET_PROCESS_MODE'
        IMPORTING
          ev_process_mode = l_dialog_mode. " A created, B changed
    Now, this function does not work in Web Client. So, I turned to another function 'CRM_ORDERADM_H_READ_OW' try to get the flag of process mode.
    CALL FUNCTION 'CRM_ORDERADM_H_READ_OW'
      EXPORTING
        iv_orderadm_h_guid               = lv_guid_ref
    IMPORTING
       ES_ORDERADM_H_WRK                = l_CRMT_ORDERADM_H_WRK
       EV_MODE                          = l_dialog_mode
    Yes, function 'CRM_ORDERADM_H_READ_OW' works in WebClient. But when creating new service order, the l_dialog_mode  = 'B' which is same to changing an exsiting order.
    So would anyone kindly help me, How to get the process mode properly in WebClient, especially in Service Order. I need to identify the order is new created or is changed.
    Your comments is really appreciated.
    Best Regards,
    Tony

    Use function module CRM_ORDERADM_H_ON_DATABASE_OW to check, if the order has already been save on the database. If not, you are in create mode.

  • How to send process instructions to new pcs system

    Hi, we have PCS system known as performer. we need to send the process order header data to this pcs system. i created all z characteristics and z process instruction type and assigned to CRD. Now i could not understand how to send this info to perfomer. do i need to send this to xi and from xi i need to send to performer? is there any way to send directly to performer? please guide me so that i follow the same.

    Close inactive apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen
    http://support.apple.com/kb/ht5137

  • How to add processing instruction to my XML view

    Hi,
    How do I add the processing instruction like &lt;?xml version="1.0" encoding="iso-8859-1"?&gt;.
    in my XML view.

    The only way to do at the moment is as follows... And it's not very pretty. The SQL/XML standard is still finalizing the correct way of doing this...
    set echo on
    connect &1/&2@&3
    create or replace view EMPLOYEES_WORKBOOK_XML of xmltype
    xmlschema "excel.xsd" element "Workbook"
    with object id
    'EMPLOYEES_WORKBOOK_XML'
    as
    select
    xmltype(
    '<?xml version="1.0"?>' ||
    xmlElement
    "Workbook",
    xmlAttributes
    'urn:schemas-microsoft-com:office:spreadsheet' as "xmlns",
    'urn:schemas-microsoft-com:office:office' as "xmlns:o",
    'urn:schemas-microsoft-com:office:excel' as "xmlns:x",
    'urn:schemas-microsoft-com:office:spreadsheet' as "xmlns:ss",
    'http://www.w3.org/TR/REC-html40' as "xmlns:html",
    'http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi",
    'excel.xsd' as "xsi:noNamespaceSchemaLocation"
    xmlElement
    "DocumentProperties",
    xmlAttributes('urn:schemas-microsoft-com:office:office' as "xmlns"),
    xmlForest
    USER as "Author",
    USER as "LastAuthor",
    '2002-10-11T15:47:35Z' as "Created",
    'Oracle Corporation' as "Company",
    '10.350' as "Version"
    xmlElement
    "OfficeDocumentSettings",
    xmlAttributes('urn:schemas-microsoft-com:office:office' as "xmlns"),
    xmlElement("DownloadComponents"),
    xmlElement
    "LocationOfComponents",
    xmlAttributes('file://' as "HRef")
    xmlElement
    "ExcelWorkbook",
    xmlAttributes('urn:schemas-microsoft-com:office:excel' as "xmlns"),
    xmlForest
    '8835' as "WindowHeight",
    '14220' as "WindowWidth",
    '480' as "WindowTopX",
    '60' as "WindowTopY",
    'False' as "ProtectStructure",
    'False' as "ProtectWindows"
    xmlElement
    "Styles",
    xmlElement
    "Style",
    xmlAttributes('Default' as "ss:ID",'Normal' as "ss:Name"),
    xmlElement("Alignment",xmlAttributes('Bottom' as "ss:Vertical")),
    xmlElement("Borders"),
    xmlElement("Font"),
    xmlElement("Interior"),
    xmlElement("NumberFormat"),
    xmlElement("Protection")
    xmlElement
    "Style",
    xmlAttributes('s21' as "ss:ID"),
    xmlElement("Font",xmlAttributes('Swiss' as "x:Family",'1' as "ss:Bold"))
    xmlElement
    "Worksheet",
    xmlAttributes('EMP' as "ss:Name"),
    xmlElement
    "Table",
    xmlAttributes('11' as "ss:ExpandedColumnCount",'108' as "ss:ExpandedRowCount",'1' as "x:FullColumns",'1' as "x:FullRows"),
    xmlElement
    "Row",
    xmlAttributes('s21' as "ss:StyleID"),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Employee ID')),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'First Name')),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Last Name')),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Email Address' )),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Phone Number' )),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Hire Date')),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Job Title')),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Salary')),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Commission Rate')),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Manager')),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Department'))
    xmlagg
    xmlElement
    "Row",
    xmlAttributes('Default' as "ss:StyleID"),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('Number' as "ss:Type"), e.EMPLOYEE_ID)),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.FIRST_NAME )),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.LAST_NAME )),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.EMAIL )),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.PHONE_NUMBER )),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('DateTime' as "ss:Type"), to_char(to_char(e.HIRE_DATE,'YYYY-MM-DD"T00:00:00.000"')))),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), JOB_TITLE)),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('Number' as "ss:Type"), e.SALARY )),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('Number' as "ss:Type"), e.COMMISSION_PCT)),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), m.FIRST_NAME || ' ' || m.LAST_NAME )),
    xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), DEPARTMENT_NAME )) )
    xmlElement
    "WorksheetOptions",
    xmlAttributes('urn:schemas-microsoft-com:office:excel' as "xmlns"),
    xmlElement
    "Print",
    xmlElement("ValidPrintInfo"),
    xmlElement("HorizontalResolution",96),
    xmlElement("VerticalResolution",96),
    xmlElement("NumberOfCopies",0)
    xmlElement("Selected"),
    xmlElement
    "Panes",
    xmlElement
    "Pane",
    xmlElement("Number",3),
    xmlElement("ActiveRow",6),
    xmlElement("ActiveCol",1)
    xmlElement("ProectedObjects",'False'),
    xmlElement("ProectedSecenarios",'False')
    ).getClobVal())
    from HR.EMPLOYEES e, HR.JOBS j, HR.DEPARTMENTS d, HR.EMPLOYEES m
    where e.JOB_ID = j.JOB_ID
    and e.DEPARTMENT_ID = d.DEPARTMENT_ID
    and e.MANAGER_ID = m.EMPLOYEE_ID
    pause
    create or replace trigger IGNORE_IO_OPERATIONS
    instead of INSERT or UPDATE or DELETE on EMPLOYEES_WORKBOOK_XML
    begin
    null;
    end;
    show errors
    pause
    quit

  • Getting processing instruction node

    I am trying to get the following node from my input XML file.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    I tried to get it through processing-instruction() method But I am not able to get it.
    Hoe can I get this node? I want to reset the encoding attribute of the node.
    Thanks in anticipation
    Rajesh

    it is a non-sense to try changing the DOM: the encoding must be set correctly when you serialize the to an XML file, therefore, if you use JAXP:
    transformer.setOutputProperty(OutputKeys.ENCODING, "Shift_JIS");

  • How to print process instruction in process order.

    Hi dudes,
    ,y client is not having Process management interface, but they want to maintain process instruction for phases in recipe and want to take print of process instructions  in process order after release process order.
    Please explain the path for printing process instructions copied into process order.
    if some one assign PIs to phase in recipe, will control recipes be created after release of process order.
    Regards
    Daniel

    The easiest way to do what you want is to actually create the PI sheet and then print it off from the view PI sheet transaction (CO60).  This is then all standard functionality.
    to do this you will need to set the configuration to create the control recipe when the process order is released and send it to a recipe destination.
    Regards
    Laurence

  • How to get process instance id

    Hi,
    We are invoking a long lived process from a client using Java API (EJB end point).
    We are getting the JobId in return. Is there a way to get the process instance Id through API.
    Searched a lot in the documentation. Finally inclining to query the table directlyTB_PROCESS_INSTANCE  on LONG_LIVED_INVOCATION_ID.
    Appreciate a lot if any expert point us to an API way of doing the same

    We have tried to use the following approach to get process instance id right after invoking a process.
    - Define an OUT process variable to contain process id
    - A set value step right after invocation sets this out variable with process id variable value which is available by default
    - InvocationResponse.getOutputParameters() to read the output variable
    The problem is in the map returned by getOutputParameters() is not having our output variable , but just the JobId.
    Anyone tried this before? Are we missing sometiing?
    Any expert help is highly appreciated..

  • How to get the; popular tag: back in safari. Deleted it.

    How to get the POPULAR tab back in safari after deleting it. Thanks for the help.

    You have to pass a parameter. An id is good.
    Of course you have to get an id from somewhere in the result set right?
    <a target="_top" rel="contents" rev="contents" class="fordynamiclabel" href="ASCMasterTwo.jsp?id=<%= rSet.getString("id") %>"><%=rSet.getString(1) %></a></td>Then you call
    request.getParameter("id");
    and look up the values related to that id in the database.

  • How to get/process the Data from XMLSocket?

    Hello All,
    I'm using Adobe Professional CS6, and Actionscript 3.0.
    To start with I have a C# program that basically just feeds data out from a Server in the form of XML data. I then have a Flash program that should receive the data and then I'll do some stuff with it. We had this working in Actionscript 1.0 but we need to upgrade the code to Actionscript 3.0, but instead of just trying to convert stuff over to the new  Actionscript version, I'm going to re-write the program.
    So far I've basically just defined some EventListeners most of which I found examples of online for using XMLSockets. As of now the Flash program will connect an XMLSocket to the Server that is feeding out the data, and the server feeding the data resends new data every 5-10 seconds or so.
    So when a grouping of XML Data comes in on the port I defined, the following Function gets executed for handling the incoming data. For my EventListener's Function for "socket.addEventListener(DataEvent.DATA, dataHandler);"  ("socket" is defined as --> var socket = new XMLSocket(); ). So when the new data comes in it executes the above function.
    The trouble I'm having is declaring a new variable of type "XML" and then using that variable to pull out individual "nodes/children" from the incoming XML Data. I found an example online that was very close to what I want to do except instead of using an XMLSocket to get data constantly streaming in they use the "URLLoader" function to get the XML data. I know I'm receiving the XML data onto the server because if I set the (e: DataEvent) variable defined in the function "head" to a string and then run a trace on that I can see ALL of the XML data in the "Output Window".
    But I can't seem to be able to set (e: DataEvent) to a XML variable so I can access individual elements of the XML data. The example I found (which uses the URLLoader instead) uses this line (myXML = new XML(e.target.data);)  to set the XML Variable, which won't work for mine, and if I try to do the same thing in my code it simply prints this for as many lines as there is XML data --> "[object XMLSocket]"
    MY CODE:
    *I left out the other Functions that are in my code for the EventListeners you'll see defined below, except for the one in question:
                             ---> "function dataHandler(e: DataEvent):void"
    import flash.events.IOErrorEvent;
    import flash.events.ProgressEvent;
    import flash.events.SecurityErrorEvent;
    import flash.events.DataEvent;
    var socket = new XMLSocket();
    socket.addEventListener(Event.CONNECT, connectHandler);
    socket.addEventListener(Event.CLOSE, closeHandler);
    socket.addEventListener(DataEvent.DATA, dataHandler);
    socket.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
    socket.addEventListener(ProgressEvent.PROGRESS, progressHandler);
    socket.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
    var success = socket.connect('server.domain.name.local',3004);
    The code in this function was used from an example I found online as described above in the post: 
              LINK --> http://www.republicofcode.com/tutorials/flash/as3xml/
    // The Commented out code (*in blue) will show ALL the xml data inside the "Output Window":
    function dataHandler(e: DataEvent):void {
              // var myStr:String = e.data;
              var xml:XML;
              xml = new XML(e.target.data);  //<--- THIS DOESN"T WORK (I DONT THINK 'target' IS CORRECT HERE)??
              if (socket.connected)
                        // trace(myStr)
                        trace(xml);
    The Output from the line "trace(xml)" will show this data below in the "Output Window" (*FYI There should be 6 lines of XML Data on each 'update'):
    [object XMLSocket]
    [object XMLSocket]
    [object XMLSocket]
    [object XMLSocket]
    [object XMLSocket]
    [object XMLSocket]
    Could someone show or point me in the right direction on this. I want to be able to access specific parts of the incoming XML Data.
    Here's some sample XML Data:
    <MESSAGE VAR="screen2Display" TEXT="CSQ_1" />
    <MESSAGE VAR="F1_agentsReady" TEXT="111" />
    <MESSAGE VAR="F1_unavailableAgents" TEXT="222" />
    <MESSAGE VAR="F1_talkingAgents" TEXT="333" />
    <MESSAGE VAR="F1_callsHandled" TEXT="444" />
    <MESSAGE VAR="F1_ABDRate" TEXT="555" />
    Any thoughts or suggestions would be greatly appreciated..!
    FYI:
    I'm VERY new to Actionscript/Flash Developing (*about a week now), so go easy on me haha...
    Thanks in Advance,
    Matt

    Hey Guys, thanks ALOT for the replies!!
    Andrei1 and Sinious,
    The code I show above is actually just what I found in an example online, and its what i was trying to show you what "they" used
    in the URLLoader example. I wasn't trying to use URLLoader, but it was the closest example I found online to  what I was trying to
    do in terms of processing the XML Data, and not how I read it in. So XMLSocket IS definetly what I'm trying to use because the Server
    I'm receiving the XML Data from "pushes" it out every 10 seconds or so. So yea I definatly want to use XMLSocket and not URLLoader...
    Sorry for the confusion...
    The example you show:
         var xml:XML = new XML(e.data)
    Is actually what I had in my original code but I couldn't get it to show anything in the "Output Window" using the trace() method on
    it, so I assumed I wasn't doing it correctly...
    What my original code was in the "dataHandler()" Function was this:
    function dataHandler(e: DataEvent): void
        var xml: XML = XML(e.data);
        if (socket.connected)
            trace(xml);
            msgArea.htmlText += "*socket.connected = TRUE\n"
        } else {
            msgArea.htmlText += "*socket.connected = FALSE\n"
    OUTPUT:
    And what I get when I run a Debug on it is, in the "msgArea", which is just a simple Text Box w/ Dynamic Text on the main frame it prints:
        "socket.connected = TRUE
         socket.connected = TRUE
         socket.connected = TRUE
         socket.connected = TRUE
         socket.connected = TRUE
         socket.connected = TRUE"
    It prints that message 6 times in the msgArea for each XML Message that comes in (*which I think 6 times because there
    are 6 "sections/nodes" in the XML Data). But then NOTHING prints in the "Output Window" for the "trace(xml)" command.
    Not sure why nothing is showing in the "Output Window", maybe the XML is not complete? But I could see data in the "Output
    Window" when I set "e.data" to a string variable, so I know the Data is reaching the program. Since I could see the XML Data in
    a string variable, does that mean I can rule out that the XML Data coming in is considered a "complete" XML Document?
    Because I wasn't sure if to be considered a complete XML Document it would need to have this included in the message..?
                        "<?xml version="1.0"?>"
    For the tests I'm running, one single XML message which is being pushed out from the server looks like this:
    <MESSAGE VAR="screen2Display" TEXT="Call_Queue_1" />
    <MESSAGE VAR="F1_agentsReady" TEXT="111" />
    <MESSAGE VAR="F1_unavailableAgents" TEXT="222" />
    <MESSAGE VAR="F1_talkingAgents" TEXT="333" />
    <MESSAGE VAR="F1_callsHandled" TEXT="444" />
    <MESSAGE VAR="F1_ABDRate" TEXT="555" />
    Would I need to include that "Header" in the XML message above?
                   i.e. "<?xml version="1.0"?>"
    Or do I need to be more specific in the trace command instead of just using "trace(xml)"?
    Also yes, I already have a Flash Policy file setup and working correctly.
    Anyway, thanks again guys for the replies, very much appreciated!!
    Thanks Again,
    Matt

  • How to get process start time from BI BPM Data Source

    Hi,
    I would like to get the process start time using the VC data source BI_BPM_MY_PROCESSES_DS.
    The return parameter BI_START_TIME_VALUE returns numbers like 1.271.858.563.350,00. This seems to be ms beginning from 1970.
    I tried the following to get the current date/time but it didn't work:
    =DTADD(DATETIME(1970,01,01,00,00),@BI_START_TIME_VALUE,'Z')
    Any idea how to do this?
    Thanks,
    Kevin

    Hi Experts,
    Do you have ideas for this SQL query ?
    Regards.

  • SSAS 2008 - How to get processing times per dimension / measure group?

    Hi experts!
    SSAS 2008. I am doing analysis and I'm trying to get information (from dmv or log) about processing times per dimension / measure group. Any ideas how to do that?
    Thanks,

    also in DMV there's no column recording the processing time, so we suggest you using SSAS AMO to programmatically get the state and last processed date time. Please see:
    Analysis Management Objects (AMO)
    Hi John,
    Thanks for you info, As
    Simon Suggested there is no DMV columns available.
    You can use below link for more information.
    Programming Administrative Tasks with AMO
    Cube
    partition attributes for last processed (timestamp and status)
    Thanks
    Suhas
    Mark as Answer if this resolves your problem or "Vote as Helpful" if you find it helpful.
    My Blog
    Follow @SuhasKudekar

  • How to get processing time in RMI program

    Hi, all
    I am a newbie in Java RMI application. I am currently developing a small calculation application using Java RMI.
    My question is how can i get the processing time from client input until the server give feedback to the client?
    Thanks,
    Sohming

    sohming wrote:
    I have another question, is the default RMI using the reliable/unreliable/switchable connection?No. It is not a messaging protocol and uses direct synchronous connectivity. As such, if you get a reply it was successfully sent.
    Can i test processing time using different type of protocol?You can use the same approach for testing connectivity for a range of protocols. However I suggest you run the tests many times if this is realistic for your use case.
    I have a performance comparison of many messaging and RMI solutions here [http://www.freshvanilla.org:8080/display/essence/Essence+Remote+Method+Invocation] under "What are similar libraries?"
    I tested my own implementation for latency and throughput and you can get the results and download the source for those tests from this page.

Maybe you are looking for

  • Problem importing home video into iTunes for ipod touch

    I recorded my son's marching band concert on a Flip Video camera. I have tried importing it various ways (directly from flip, importing to windows media player, burning it to dvd, putting the file directly into the itunes library folder) but every ti

  • Reg: work flow in abap corssapplications

    Hi, I don't know about work flow, iam interested  to work on work flow.So can u  help  me  with detailed explanation. Thanks & Regards Ravicharan

  • Help using Java to retrieve XMLType returned from PL/SQL stored object

    Hi, Please bear with me if this is a trivial question. I'm brand new to Java, JDBC, and XML DB. I've been spinning my wheels on this for a few hours now. I have a table: XMLDB_USER@xmldb64> desc my_test_table Name                                     

  • N82 | Nokia Maps | Firmware

    Hi everybody! I am new on this forum, so don't slaugher me... Ehm, as you can see, I own a N82. When I press *#0000#, it tells me that I have the firmware: V30.0.019. I've heard about that many other N82 users have the V31.... firmware. But when I ch

  • Error in put() method

    hi this is my first post here i have written a program but when ever i compile the code i get a error message which is posted below BounceThread.java : cannot resolve symbol: method put(int,java.lang.String) location: class java.util.HashMap; scoreMa