XML nodes with periods Plugin-reading

We use the XML plugin to read the answer and create queries for REST operations, and it works pretty well until some new rest calls.  We can now retrieve XML containing periods in node names.  We cannot find a way to read this.  Here's a simple example, because there is a period between node.one I can't seem to get the value of ID.  I tried to use a------escape characters for the period, but the vCO throws an exception.

Any help would be greatly appreciated.

contentAsString = < root >

< node.one >

< id > 5 / < ID >

< node.one >

< / root >;

contentAsString = contentAsString.toString ();

XmlDocument = new XML (contentAsString);

System.log ("Total Machine Count:" + xmldocument.node.one.id);

Note: if I take the period off node.one it will work fine, but I have no control over the XML I was getting, so I can't do that.

Hello

You can try with the XMLManager and its objects associated with this (a little more talkative) approach and scripts:

var document = XMLManager.fromString (contentAsString) .getDocumentElement ();
var count = document.getElementsByTagName("node.one").item (0).getElementsByTagName("id").item (0) .textContent;
System.log ("Total Machine Count:" + count);

The problem with the direct approach, it is in line with the 'xmldocument.node.one.id' script code, it is not possible to say if 'on' part of the name of the node ("node.one") or it is a property of the node 'node' (once again "node.one"). The same thing happens if instead of a point ("". "") you have a hyphen (""-"") for example, from writing scripts inside it would be interpreted as a subtraction of two variables. But if you had a line of underscores ('_') it should work.

I hope it helps.

Sergio

Tags: VMware

Similar Questions

  • Replace the current XML node with another node in XML fragments

    Hello

    Please help, trying to replace an XML node with other fragments XML using XML DB, updateXML/deleteXML functions don't receive the desired result, on the front of the image below, this is what I have, and the transom is the replacement with new values XML fragment, I expect to see, there is a list of records from the XML that I need to open and do the replacement of the < broker-retail > according to the number of records to be inserted.

    Before the photo:

    < Broker-benefits-link >

    < hpp-rule > 0 < / hpp-rule >

    LISP < in.-CVCA-benefits-type > < / po-CVCA-benefits-type >

    < commit / >

    <broker-retail >

    < broker-entity-not > 1000947836 < / broker-entity-not >

    < broker-pct > 100 < / broker-pct >

    Y < principal > < / main >

    < / broker-retail >

    < / Broker-benefits-link >


    After photo (expected result):

    < Broker-benefits-link >

    < hpp-rule > 0 < / hpp-rule >

    LISP < in.-CVCA-benefits-type > < / po-CVCA-benefits-type >

    < commit / >

    <broker-retail >

    < broker-entity-not > 65656524 < / broker-entity-not >

    < broker-pct > 25 < / broker-pct >

    N < principal > < / main >

    < / broker-retail >

    <broker-retail >

    < broker-entity-not > 122224444 < / broker-entity-not >

    < > 75 broker-pct < / broker-pct >

    Y < principal > < / main >

    < / broker-retail >

    < / Broker-benefits-link >

    Kind regards

    Qwestion

    You can use DELETEXML and INSERTCHILDXML

    SQL> set long 10000
    SQL> column xmldata_new format a100
    SQL> set linesize 150
    SQL>
    SQL> with t
      2  as
      3  (
      4  select
      5  xmltype('
      6    0
      7    LISP
      8    
      9    
     10      1000947836
     11      100
     12      Y
     13    
     14  ') xmldata from dual
     15  )
     16  select xmlserialize
     17         (
     18             document
     19             insertchildxml
     20             (
     21                deletexml
     22                (
     23                    xmldata
     24                  , '/broker-benefit-link/broker-detail'
     25                )
     26              , '/broker-benefit-link'
     27              , 'broker-detail'
     28              , xmltype
     29                (
     30                '
     31                    
     32                        65656524
     33                        25
     34                        N
     35                    
     36                    
     37                        122224444
     38                        75
     39                        Y
     40                    
     41                 ').extract('/broker-master/broker-detail')
     42             )
     43             as clob indent size = 2
     44         ) xmldata_new
     45    from t;
    
    XMLDATA_NEW
    ----------------------------------------------------------------------------------------
    
      0
      LISP
      
      
        65656524
        25
        N
      
      
        122224444
        75
        Y
      
    
    
    SQL>
    
  • Remove xml nodes

    Hello, you know how to remove an example of XML node with a button?


    Is there a way to delete a node?

    Having a blank node is not enough? Note that when you delete something in the DOM that a reinstall the data and the model will be automatically... .This caused me grief in the past (if you get additional data from an external source).

    The command is:

    xfa.datasets.Data.Form1.Page1.Nodes.Remove (remove xfaObject);

    so usually the expression is like this:

    xfa.datasets.Data.Form1.Page1.Nodes.Remove (xfa.resolveNode ("xfa.datasets.data.form1.page1. billingMailAddr'));

    Assuming that you want to remove the nodes billingMailAddr.

    Paul

  • Line chart with nested &lt; XML &gt; node

    Hello

    I use a Flex 3 line chart.

    The table gets its data from a remote through < mx:HTTPService > as XML file:

    < mx:HTTPService id = "myServ" url = "MyChartData.xml" / >

    I want the chart to draw for all nodes that fall under each set of nodes for the < node > values:

    nodes <>

    < nodeset id = "1" >

    <>node

    <>node

    < / nodeset >

    < nodeset id = "2" >

    <>node

    <>node

    < / nodeset >

    < / node >

    The graph is get mapped out when I use the dataProvider for only the first internal as node:

    myServ.lastResult.nodes.nodeset [0] .node

    How to get the graph plotted for all interior nodes?

    The mxml:

    --------------------------

    < mx:LineChart id = "myChart" width = "100%" height = "100%" showDataTips = "true" dataProvider = "{myServ.lastResult.nodes.nodeset.node}" >

    < mx:horizontalAxis >

    < mx:CategoryAxis categoryField = "time" title = "Node value" / >

    < / mx:horizontalAxis >

    < mx:verticalAxis >

    < mx:LinearAxis title = "Interval" / >

    < / mx:verticalAxis >

    < mx:series >

    < mx:LineSeries id = "myLineSeries1" xField = "time" yField = "value" / >

    < / mx:series >

    < / mx:LineChart >

    The XML code example:

    --------------------------

    <? XML version = "1.0" encoding = "utf-8"? >

    nodes <>

    < id nodeset = "1" >

    < period node = "01" >

    < value > - 115 < / value >

        </node>

    < period node "02" = >

    < value > - 115 < / value >

        </node>

    < period node = "03" >

    < value > - 114 < / value >

        </node>   

    < period node '04' = >

    < value > 0 < / value >

        </node>

    </nodeset>

    < nodeset id = "2" >

    < period node '05' = >

    < value > - 114 < / value >

        </node>

    < period node "06" = >

    < value > 0 < / value >

    < / node >

    < period node "07" = >

    < value > 0 < / value >

    < / node >

    < period node '08' = >

    < value > 0 < / value >

        </node>

    < / nodeset >

    < / node >

    HTTPService.resultFormat = "e4x";

    The default value is object that will play not well what attributes. XML would work too, but e4x extends with a few useful shortcuts.

  • Merge the XML with regular Adobe Reader (DC)?

    Hi all

    We have developed a PDF file containing several form fields.

    We use a VBScript file to merge an XML file with the PDF file.

    It works perfectly on my pc with Adobe Acrobat Pro DC development.

    However, when I try to run the same code on a pc with (only) the Adobe Acrobat Reader installed, the script fails and the following error code is displayed:

    Component ActiveX cannot create object.

    Is it really necessary to have Adobe Acrobat Pro DC installed on each client pc?

    We understand that it is necessary to purchase a license Adobe Acrobat Pro DC to be able to create the PDF file, but we assumed that it was possible to run this code with just the installed Adobe Acrobat Reader? Or are there additional libraries (for Adobe Acrobat Reader) which must be installed on the client computers?

    Thank you.

    Best regards

    You can do this via a file FDF or XFDF referring to the original PDF file. In your VBScript, you will need to prepare such a file and open with the reader. Player will then open the referenced PDF file and fill in the fields on the form.

  • Numeric keypad is not working properly with the Adobe Reader Plugin

    Greetings;

    I had this strange problem with several workstations where the numeric keypad does not work correctly when you open a PDF file via the web browser. Things, I tested and noted:

    -Regardless of the State of the numlock (or disable) keys act as if NUMLOCK is off. Based on 9 and 3 will cause the page up and page down respectively. Striking at 7-4 will cause beginning and end to occur etc. 0 creates the ~ while the symbol of the keys work as expected.

    -The numeric keypad works on other programs. The numeric keypad works even in the same browser, you opened the PDF file but not in the actual form.

    -The numeric keypad works if you save and open the same PDF file in Adobe Reader, but does not work with the plugin.

    -Seems not to matter of this PDF it is, regardless of who seem to have made it (I used PDF files from the DMV and other sites of the Government for tests). The problem persists despite everything.

    -It doesn't seem to matter what browser you use. I saw this happen to IE10, IE11 (32 or 64-bit), and Chrome. I have tried Firefox, but I imagine that the problem will be the same if you are using the Adobe Reader Plugin.

    -It does not matter what version of the player. I saw the same problem with drive DC 10 and 11.

    -J' ran these without any add-ons or plug-ins and the problem persists.

    -J' I reset the browser settings, reset the default values, cleared the cache.

    -Disconnect the keyboard and moving to a different USB port allows you to use the numeric keypad as usual, but once you restart the issue will resume.

    -Uninstall and reinstall the keyboard driver allows you to use the numeric keypad as usual, but once you restart the issue will resume.

    -J' tried the official and generic keyboard drivers.

    -J' tried different keyboards from different manufacturers.

    -PDF viewer of Chrome or another Viewer PDF/writer will work. But unfortunately, this isn't a solution for us because of the site we access performs a check if the plugin is Adobe Reader. If it's not Adobe Reader, it does not display the PDF file.

    -J' have enabled Mode Touch in Reader.

    -I was not able to test this on one other operating system other than Windows 7 Pro 64 bit.

    -I can put it so the browser opens the PDF file directly to the Adobe Reader app, it's not quite a solution perfect for us because it create additional steps for our users to submit PDF files.


    I'm quite lost and would like to get help from the community. Thank you very much.



    Fixed my own problem. I answer this with a resolution:

    The question is the Protected Mode. You can find this setting in Adobe Reader. Preferences > Security > uncheck Protected Mode. In Adobe Reader X, you can find it under general.

    You don't need to restart your system.

  • Find the empty XML node on a table with 15 M lines

    I have a query that runs to always seek to empty xml node.

    CREATE TABLE TEST_TAB (ID number, doc XMLTYPE);

    SELECT COUNT (1)

    OF test_tab

    WHERE ((XMLEXISTS (declare default element namespace "http://oracle.com/»;)))  * / EmployeeNode / text () [not (empty (.))]'

    PASSAGE DOC)));

    Are there specific oracle or operator XML text that is more effective to check null values or a specific type of text/xml index that is best suited looking for nulls in the whole of nodes?

    Thank you

    Kevin

    In the meantime, here's a test on a similar scenario.

    It seems that the structured XMLIndex gives the best response time. The obvious drawback is that she is very specific and cannot be used to solve other queries.

    SQL > drop table test_tab is serving;

    Deleted table.

    SQL > create table test_tab like

    2. select id, cast (level as number)

    3, xmlparse (document

    4'http://xmlns.example.org ">"

    5         || -case when mod (level 5) = 0 then end level

    6         || '' correct

    (7) doc

    8 double

    9 connect by level<= 100000="">

    Table created.

    SQL > set timing on

    SQL > define pages 100

    SQL > set lines 200

    SQL > set autotrace on explain

    SQL >

    SQL > exec dbms_stats.gather_table_stats (user, 'TEST_TAB');

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:00.92

    SQL > select count (*)

    2 of test_tab

    3 where (xmlexists)

    4 ' declare default element namespace "http://xmlns.example.org"; / root/item/Text () '

    5 passage doc

    6  ) ;

    COUNT (*)

    ----------

    20000

    Elapsed time: 00:00:09.09

    Execution plan

    ----------------------------------------------------------

    Hash value of plan: 2371188561

    --------------------------------------------------------------------------------

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

    --------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |          |     1.   125.   271 (1) | 00:00:04 |

    |   1.  GLOBAL TRI |          |     1.   125.            |          |

    |*  2 |   FILTER |          |       |       |            |          |

    |   3.    TABLE ACCESS FULL | TEST_TAB |   100K |    11 M |   269 (1) | 00:00:04 |

    |   4.    XPATH EVALUATION.          |       |       |            |          |

    --------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    2 filter (EXISTS (SELECT 0 FROM))

    XPATHTABLE ('/ oraxq_defpfx:root / oraxq_defpfx:Item / Text () ' PASSING: B1)

    PATH OF XMLTYPE COLUMNS ' C_00$ ' '.')  "P"))

    SQL >

    With the index structured:

    SQL >

    SQL > create index test_tab_sxi on test_tab (doc)

    2 indextype is xdb.xmlindex

    () 3 parameters

    4Q ' {XMLTABLE test_tab_xt

    5 XMLNAMESPACES (default 'http://xmlns.example.org'),

    6 ' / root/item / text () '

    {7 item_value PATH VARCHAR2 COLUMNS (30) '.'} "

    8  ) ;

    The index is created.

    Elapsed time: 00:00:10.13

    SQL >

    SQL > exec dbms_stats.gather_table_stats (user, 'TEST_TAB');

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:01.69

    SQL >

    SQL > select count (*)

    2 of test_tab

    3 where (xmlexists)

    4 ' declare default element namespace "http://xmlns.example.org"; / root/item/Text () '

    5 passage doc

    6  ) ;

    COUNT (*)

    ----------

    20000

    Elapsed time: 00:00:00.18

    Execution plan

    ----------------------------------------------------------

    Hash value of plan: 3461631238

    -------------------------------------------------------------------------------------

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

    -------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |             |     1.    28.   290 (1) | 00:00:04 |

    |   1.  GLOBAL TRI |             |     1.    28.            |          |

    |*  2 |   HASH JOIN RIGHT SEMI |             | 22015 |   601K |   290 (1) | 00:00:04 |

    |*  3 |    TABLE ACCESS FULL | TEST_TAB_XT | 22015 |   343K |    20 (0) | 00:00:01 |

    |   4.    TABLE ACCESS FULL | TEST_TAB |   100K |  1171K |   269 (1) | 00:00:04 |

    -------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    2 - access ("TEST_TAB". ROWID = "SYS_SXI_0." ("' RID ')

    3 - filter("SYS_SXI_0".") ITEM_VALUE' IS NOT NULL)

    With an index not structured:

    SQL > drop index test_tab_sxi;

    The index is deleted.

    Elapsed time: 00:00:00.11

    SQL >

    SQL >

    SQL > create index test_tab_uxi on test_tab (doc)

    2 indextype is xdb.xmlindex

    3 parameters ("PATH of TABLE test_tab_pt

    4 PATHS (INCLUDE (/ root/point))

    (5 MAPPING of namespace (xmlns = "http://xmlns.example.org"))');

    The index is created.

    Elapsed time: 00:01:20.99

    SQL >

    SQL > exec dbms_stats.gather_table_stats (user, 'TEST_TAB');

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:06.56

    SQL >

    SQL > select count (*)

    2 of test_tab

    3 where (xmlexists)

    4 ' declare default element namespace "http://xmlns.example.org"; / root/item/Text () '

    5 passage doc

    6  ) ;

    COUNT (*)

    ----------

    20000

    Elapsed time: 00:00:00.45

    Execution plan

    ----------------------------------------------------------

    Hash value of plan: 2464052102

    ---------------------------------------------------------------------------------------------

    | ID | Operation | Name | Lines | Bytes | TempSpc | Cost (% CPU). Time |

    ---------------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |             |     1.    42.       |   773 (1) | 00:00:10 |

    |   1.  GLOBAL TRI |             |     1.    42.       |            |          |

    |*  2 |   HASH JOIN RIGHT SEMI |             |  6547 |   268K |  2176K |   773 (1) | 00:00:10 |

    |*  3 |    TABLE ACCESS FULL | TEST_TAB_PT | 53020 |  1553K |       |   283 (2) | 00:00:04 |

    |   4.    TABLE ACCESS FULL | TEST_TAB |   100K |  1171K |       |   269 (1) | 00:00:04 |

    ---------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    2 - access ("TEST_TAB". ROWID = "SYS_P0." ("' RID ')

    3 - filter("SYS_P0".") PATHID "= HEXTORAW ('061D') AND"

    SYS_XMLI_LOC_ISTEXT ("SYS_P0". "LOCATOR", "SYS_P0" "." " PATHID') = 1)

    (tested on 11.2.0.2)

  • Problem with to access the XML nodes whose namespace

    Hello
    I have a XML file with the following format;

    "" "" "< graphml version ="1.3"xmlns =" http://graphml.graphdrawing.org/xmlns/graphml ' xmlns:y = ' http://www.yworks.com/xml/graphml ' xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance" > "

    < graph id = 'G' edgedefault 'ordered' = >

    < key data 'd11' = >
    < y: SharedData >
    < name there: Brush = "SolidBrush" color = "Black" id = "1" / >
    < / y: SharedData >
    < / data >

    < node id = "G:n0" >
    < y: Labels >
    < y: Text > <! [CDATA [start]] > < / Text: y >
    < / y: Labels >
    < / node >

    < node id = "G:n1" >
    < y: Labels >
    < y: Text > <! [CDATA [end]] > < / Text: y >
    < / y: Labels >
    < / node >

    < / chart >

    < / graphml >


    I access this file as < mx:XML id = "layoutXml" source = "tmp.xml" / > "

    I have no application debugging and found that the layoutXml object contains the xml file as it is. Now when I try to access any child node of layoutXml, every time I found null. Same instruction layoutXml.graph.toXMLString () or layoutXml.graph.toString () returns null.

    I have tryied the following approach as well, but did not work,
    var nameSpace:Namespace = new Namespace (" http://www.yworks.com/xml/graphml");
    var str:String = layoutXml.graph.node. (@id == ' G:n0").nameSpace::Labels.nameSpace::Text.toXMLString();")
    also, this property returns null.

    If anyone has the solution, please answer.

    Thank you.

    Namespace var sets default namespace:
    lack of namespace xml = nameSpace;

    You should then be able to reference nodes normally.

    Tracy

  • Research within an XML node

    I'm trying to use the XML parser, in LabVIEW to read a custom XML file.  Basically I have several SubTest tags, each of which can or not contain multiple tags.  I want to search in each of these subtest tags to see if it contains each of the tags am interested and write in a cluster if it exists, or write a default value if it does not exist.

    I try to use get them all nodes matching and get first node in correspondence to achieve, but it doesn't seem to work.

    I use get all nodes matching for search tags subtest then pass each of these nodes in get first node corresponds to search tags in the node for each number that I'm interested.

    The problem is that first node to match returns the first match for the entire document each time, NOT the node I'm going in.

    I have attached a simplified VI that illustrates the problem.  Wrong documentation for first node of correspondence, or I do something wrong?  Thank you.

    Note: Using XML is saved in 2012 and Help_11 XML is saved for 2011

    Your search for price won't.

    As you're already gave a link to the book node, then you have not need search again from the top node.

    Replace your XPath 2 of "/ bookstore/book/price" only "of prices.

  • Problem with the plugin ActiveDirectory

    I have a problem with the plugin active directory that it does not show the OUs under a spesific UO (I guess that's because there are too many objects in this spesific UO and for some reason any, limit the amount of objects, it can show).

    To work around the problem I wanted to use the Active Directory script class and use the search method, but I can just find a way to create this object to use the reproductives I guess that I do not understand something in the API.

    Read this it looks like it could be typo...

    Please share your script, or search for mistyped as ActiveDirectory.Search ().

    For example - to throw the object system: TypeError: cannot find the default value for the object

    This code online

    System.Iog ("Test");

    because this isn't a lowercase L, it is a shift that i and this method does'nt exist on the object of the system...

    Other objects throw correcting errors as this method does not exist in the wrapper dyn...

    Depends on the implementation and management inside of it I guess than errors

    Kind regards

    Andreas

  • How to combine resources with a plugin files

    Envy, I'm missing something obvious here.

    Try to group a zip file with my plugin (c), and then access it in the code.

    I have added to the Group of resources in my project in XCode, which caused to be copied into the resources folder of the. InDesignPlugin package.

    What is the right way to go about this? How I can access it in the code?

    Thank you

    Hello

    You try to use the ODFRC compiler?

    Unfortunately I do not know how to create a resource appropriate for compressed data. I found in the SDK (CoreResTypes.h)

    #define kPackagesRsrcType 'PCKS.

    and

    #define kBinaryBlobType 'BBlb' DynamicDocumentsExtrasDefs //taken

    But do not know the macro to create this type of resource.

    The good thing is that you can cheat a little and use PNG resources, since it is also binary data.

    Simply set your zip file as resource PNG and use IPMStream to write data to the disk.

    All you need to do is set the zip which is the relative path to your project file in your path .fr:

    #define kYOUR_ZIP_FILERsrcID 15

    #ifdef __ODFRC__

    resources NFSP (kYOUR_ZIP_FILERsrcID) "... /.. '. "/ your_zip_file.zip".

    #endif / / __ODFRC__

    and in your class read the resource and write it to a file:

    WideString theFilePath("/Users/userName/Desktop/theFile.zip");

    IdFichier theFile (theFilePath) const;

    RsrcSpec theRsrc (kYourPluginID, kPNGArtRsrcType, kYOUR_ZIP_FILERsrcID, kFalse);

    InterfacePtr rsrcStream ((IPMStream*) StreamUtil::CreateResourceStreamRead (theRsrc, kFalse));

    InterfacePtr fileStream(StreamUtil::CreateFileStreamWrite(theFile)); )

    fileStream-> Open();

    fileStream-> SetEndOfStream();

    unsigned long totalIBytes = 0;

    unsigned long totalOBytes = 0;

    unsigned long iSize = - 1;

    unsigned long oSize = 0;

    While (rsrcStream-> IsReading() & iSize > 0)

    {

    given unsigned char [1024];

    iSize = rsrcStream-> XferByte (data, 1024);

    oSize = fileStream-> XferByte (data, iSize);

    totalIBytes += iSize;

    totalOBytes += oSize;

    }

    rsrcStream-> Close();

    fileStream-> Close();

    Concerning

    Bartek

  • Alteration of the content of an XML node in java

    Hi all

    I change the contents of an XML node using java, using the method of setTextContent() a node.

    Sometimes I also add child nodes of a node. In this case, when I add the child nodes of a given node, when I print the xml data, I see the added nodes.

    for example:

    Initial XML:

    < a > < / a >
    < b > < / b >
    < c > < / c >


    For my project requirement, based on certain conditions, I do 'a' 'b', 'c' as children nodes nodes. I reached this output.


    The problem is

    FINAL XML:

    < a > < b > < / b > < c > < / c > < / a >


    I get the nodes children in the same line as above. But the power required should be as below.


    REQUIRED XML

    < a >
    < b > < / b >
    < c > < / c >
    < /a >

    I also used the Doc.normalize () function. But still, it helps strength.

    Kindly help me in this regard.

    Thank you
    Sabarisri. N

    Hello

    You can try to transform the result as below:

    Transformer transformer = TransformerFactory.newInstance () .newTransformer ();
    transformer.setOutputProperty (OutputKeys.INDENT, 'yes');

    initialize the StreamResult with the object of the file to save to file
    StreamResult result = new StreamResult (new StringWriter());

    DOMSource source = new DOMSource (doc); Here, the doc is you XML document.
    transform. Transform (source, result);

    String xmlString = result.getWriter (m:System.NET.SocketAddress.ToString ());
    System.out.println (xmlString);

    Thank you best regards &,.
    Nilesh Sahni (www.infocepts.com)

    Published by: Nilesh on August 30, 2011 12:31

  • Date in format XML nodes

    I work with XML in AS3. I'm loading in an xml with dates in a format such as:

    2011-1-12-10-00-a

    I am to convert those to the actual Date of Flash in order to compare them and use the methods of the class Date, etc. I prefer convert once and then store them in the XML node, they came.

    Is it possible to store complex values such as date or what you have in an XML?

    Yes, or more directly using:

    var ms:int=date.getTime();

    var newDate:Date = new Date (ms);

  • How can I me parent XML node value?

    When I look at the value of attributes «0_0_0» How can I get the value of the parent node.

    var myxml:XML = < course >

    < leval0 id = "1" levalid = "0" >

    < leval1 id = '1' levalid = "0_0" >

    < pages id = '1' levalid = "0_0_0" >

    < page id = "1" / >

    < / pages >

    < pages id = "1" levalid = "0_0_1" >

    < page id = "1" / >

    < page id = "2" / >

    < / pages >

    < / leval1 >

    < leval1 id = "2" levalid = '0_1' / >

    < leval1 id = "3" levalid = "0_2" / >

    < / leval0 >

    < / course >;

    For a given node, the parent node is node.parent ().

    If you want to get the parent of the node with levalid "0_0_0", follow these steps:

    var myxml:XML= 
                                
                                    
                                        
                                            
                                        
                                        
                                            
                                            
                                        
                                    
                                    
                                    
                                
                            ;
    
    var parentNode:XML = myxml..*.(attribute("levalid") == "0_0_0")[0].parent();
    trace(parentNode);
    
  • There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (0:521)

    There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (0:521)

    Although I found other discussions in this forum regarding this error - none of the fixes seem to work. I have not found exactly the same error number (0:521), I might need a different fix for this? Has anyone else had the same error?

    Just to note, this seems to be a problem with Internet Explorer 8 on Windows 7 when displaying PDF files 'in the browser"which is using the plugin. Other versions of IE on other machines and FF on the same machine work very well on the same PDF files. It also works if you right-click on the pdf file, download and view it in Acrobat Reader 'locally '.

    Any help greatly appreciated, I'm stumped.

    'Open' Adobe Reader X

    Go to "EDIT".

    Open "Preferences" Ctrl + K

    Open "General".

    Select default PDF Manager

    Select the product of the WAA

    in this case WAA Reader X (10.1.1)

    Apply

    You want to enable blah blah blah YES

    Restart your system blah blah blah YES

    and he worked it at least he did

    a 0:521 on IE9, Windows 7 error

Maybe you are looking for