Need sample to build one XML doc from 2 ViewObject writeXML

I just discovered the ViewObject methods readXML and writeXML methods... really neat!.
I want to package the output from a master writeXML along with its detail writeXML ViewObject into one big XML string to be sent through a queue to another component for further processing. My XML skills are few and new.
Can anyone supply an example of how to get the composite XMLDocument created and the two writeXML pieces merged? I also need to put in some additional control elements, but I think I could do that part from other examples.
Thanks,
Roger

Roger,
Our writeXML implemenation will optionally automatically follow view links to render detail information into the XML document for you without "grafting" together two different master and details datagrams yourself.
If you were working with EMP and DEPT, are you basically trying to create a composite "Department" XML Datagram with nested XML content for the employees in the department, or something else?
To see what this looks like, create a default entity objects, view objects, and application module using our Business Components Package wizard for the DEPT and EMP tables.
Right-mouse "Test..." on your AppModuleName appmodule and then "Show..." the master query in the tester.
Then, select the "View as XML..." option and this will show you was the master/detail xml will look like (it's using writeXML under the covers).

Similar Messages

  • Building big XML file from scratch - Urgent

    Oracle 8.1.7.3 on windows NT platform
    What is the best way to generate a quiet big XML file from multiple tables ?
    I have information stored in many relational tables from which I need to generate a XML flat file either stored in a CLOB field or in a text file in a system directory. This XML file will be then used
    as an input to generate a report either in HTML using XSLT, or in a PDF file using apache-fop or in a MS Excel file using SoftArtisan ExcelWriter.
    My XML file has many levels in it structure, I mean that it is composed of one root element with 2 children, each children has a 3 children. One on these 3 children has 2 children and so on. Actually there are more or less 10 nested levels.
    To generate this XML file, I tried to use XSU for PL/SQL with the nested cursor() feature plus XSLT to transform the raw XML file to my requirements.
    But obviously there are some limitations using this method. Particularly, if the inner cursor returns an empty set I get exhausted resultset java error... A TAR confirmed that limitation.
    So I had to give up this method to use basic nested PL/SQL cursors. Each fetched row is then inserted into a table (varchar2) with a sequence number so that with a cursor like select xml_chunk from my_table order by sequence, I get the whole XML file that I save either in a flat file or in a CLOB (using append method).
    This method works fine, but it takes time and it's not flexible at all as I have to construct each XML tag. I guest this way of proceeding is not the more efficient...
    Using DOM method won't be better as I still need PL/SQL cursor to select each level of my XML structure and in addition I might for sure encounter a problem of memory.
    So what solutions would you suggest to generate this XML file. It must be quiet fast. The XML file can be up to 2Mo big. My system is actually a kind of on-the-fly reports generation. I mean that the XML file needs to be created with up-to-date data many times during the working hours !
    Quick answers or suggestions would be greatly appreciated. It's very urgent !!
    Thanks

    I looks like the best way is to using the SAX processing for your application? Do you know the DTD or XML schema of your output XML document?
    Would you send me the sample code for the method "to use XSU for PL/SQL with the nested cursor() feature plus XSLT to transform the raw XML file" to reproduce the problem?

  • Build large XML Docs within PLSQL

    Hi..
    I wondered what will be the fastest way to make a XML Document from a selection resultset and put it in a CLOB.
    I think XSU isn't suitable to retrieve large XML (?)
    Maybe I should build the XML within PLSQL manually by adding all Tag- and Element-Strings to one CLOB.
    Can you please give me some recommendations.
    Al

    If you are using 9iR2 you might want to look at the new SQL/XML operators that provide an industry standard mechanism for generating XML from a SQL Query. Using these operators allows significant optimizations to take place in the database kernel as the optimzier is aware that the result set will be presented as an XML Document. The typical output of these operators is an XMLType which can be stored as a column in the database. There is not need to use a CLOB as such, as for not Schema based XMLType, the underlying storage mechanism is CLOB

  • Need conversion logic for the xml sending from legacy system ...!!!

    Hi Experts ,
    we have one requirement where in the legacy system ( Sender system) is sending .xml  file and PI needs to pick the file and send it to ECC Via IDOC AAE Receiver Adapter  to R/3  (SAP ECC) System .
    The problem is the  .xml file which PI receives is in a different format  which is shown below
    </tns:Header>
        <tns:Body>
            <esa:Payload>
                <esa:Header>
                    <PayloadName></PayloadName>
                    <PayloadVersion>1.0</PayloadVersion>
                    <PayloadCreated>2014-01-07T02:39:55.793Z</PayloadCreated>
                    <PayloadSize units="Bytes">432</PayloadSize>
                </esa:Header>
                <esa:Data>
                    <zcs:HUM xmlns:zcs="com.">
                        <Hum_Number>00393155965135748871</Hum_Number>
                        <Source_Storage_Location>9000</Source_Storage_Location>
                        <Destination_Storage_Location>0100</Destination_Storage_Location>
                        <Material_Number>000000000000004123</Material_Number>
                        <Batch_Number>321940071 </Batch_Number>
                        <Quantity>0000000096000</Quantity>
                        <Production_Version>A100</Production_Version>
                        <Hostname>POSPI000003</Hostname>
                    </zcs:HUM>
                </esa:Data>
            </esa:Payload>
        </tns:Body>
    </tns:Envelope>|]
    need help to  convert this  .xml into PI Standard xml  format ( i mean without esa,zcs, ..So that at PI the message gets passed  successfully without throwing  xml parser issue or xml well not formed error .)  .
    do i need to write any java code for this ?
    Please experts needs your suggestions here .
    regards,
    khan ,

    Hi Aziz,
    please make sure your pasted xml has  start and end tags
    <tns:Body> </tns:Body>.
    i don't think you need to change the external definition. make sure that you use xslt mapping first then message mapping.
    Regards,
    Muni.

  • Creating XML doc from DTD using jDOM

    Hi...
    I want to create empty XML Document from the DTD using JDOM or JAXP & then want to populate that xml document with the values from the database.
    The problem is :-
         How can we create an XML document by simply reading the DTD using JDOM or JAXP.?
    or
    first of all how am i going to parse the DTD from jDOM or JAXp & then how will i create the empty XML Document from it..?
    Please revert back soon... & thanx in advance for helping..
    regards
    Shoorya

    Yes i've also got teh same problem this day...
    Can somone help us ?
    Thanks
    Math

  • Generate multiple XML files from one Invoices file in AR Selected Invoices

    I have converted our Oracle EBS 11i Selected Invoice RAXINV.rdf to XML and created a template for XML Bursting. I'm bursting fine at the:
    /ZRAXINV/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_CF_NO/G_CF_NO. My question is since I'm writing out my pdf output invoices to the filesystem on Sharepoint; I also need to archive the XML part of each invoice broken down by the same group as .//LIST_G_CF_NO/G_CF_NO. When I convert the rdf to XML it produces one XML file from which I created the templates.
    My requirement is to archive both the individual invoices from the templates and the corresponding XML pieces on Sharepoint so that we will be able to search and link the xml to the pdf written out to the filesystem on Sharepoint.
    Any idea how should go about this requirement will be much appreciated.
    Thanks,
    Leo

    So how does it take this file
    file>
    <statement>
    <name>John Dow </name>
    <address>123 Main</address>
    <phone>972-213-3434</phone>
    </statement>
    <statement>
    <name>Jane Dow </name>
    <address>345 Main</address>
    <phone>972-213-3534</phone>
    </statement>
    <statement>
    <name>Marry Dow </name>
    <address>678 Main</address>
    <phone>972-213-3435</phone>
    </statement>
    </file>
    and create these three different one?
    1.)
    <statement>
    <name>John Dow </name>
    <address>123 Main</address>
    <phone>972-213-3434</phone>
    </statement>
    2.)
    <statement>
    <name>Jane Dow </name>
    <address>345 Main</address>
    <phone>972-213-3534</phone>
    </statement>
    3.)
    <statement>
    <name>Marry Dow </name>
    <address>678 Main</address>
    <phone>972-213-3435</phone>
    </statement>
    Is it not going to just grab each element after the file tag? I'm just confused about that.

  • Build Reports from XML output from Reports

    Hi,
    I was just wondering if it is possible to build reports from output in XML format, originally generated by Oracle Reports.
    The XML output produced by Reports is stored in a database for further processing.
    TIA
    Hien

    Hi Hien
    If I have understood this right, you need to create report in XML format from an XML Report Definition File. From the Builder, Generate to File from the File menu and choose XML format for the output.
    Remember that XML output from Reports is Data driven and faithfully reproduces the Data Model. It is NOT layout driven.
    Regards
    Sripathy

  • Merging XML Doc's

    Hi
    I have a servlet that builds up two different connections. The 2 databases holds the same type of data, ie the select statement is the same, it just brings back different time period values. I need to combine these two XML docs into one XML document, massage it a bit, apply style sheet and send to browser.
    I have now succeeded in doing the XML doc , massage and sending. However, I'am battling to combine the two xml doc's into one. any help appreciated.
    Tks
    Andre
    Here is the Servler code:
    String query = queryBuff.toString();
    OracleXMLQuery q1 = new OracleXMLQuery(conn1, query);
    q1.useLowerCaseTagNames();
    q1.setRowsetTag("CARDSLOADED");
    q1.setRowTag("CARDREC");
    XMLDocument xmldoc1 = (XMLDocument)q1.getXMLDOM();
    // now 2nd
    OracleXMLQuery q2 = new OracleXMLQuery(conn2, query);
    q2.useLowerCaseTagNames();
    q2.setRowsetTag("CARDSLOADED");
    q2.setRowTag("CARDREC");
    XMLDocument xmldoc2 = (XMLDocument)q2.getXMLDOM();
    So I need to combine xmldoc1 and xmldoc2. The stylesheet will do the Order by for me.
    Tks

    Hi - got it going ...tks
    You need to step down into the XMLDOC to get the nodes and not start at the beginning
    Sameple code -
    try
    String query = queryBuff.toString();
    System.out.println("query is >"+query);
    OracleXMLQuery q = new OracleXMLQuery(conn2, query);
    q.useLowerCaseTagNames();
    q.setRowsetTag("CARDSLOADED");
    q.setRowTag("CARDREC");
    xmldoc2 = (XMLDocument)q.getXMLDOM();
    // num_rows = q.getNumRowsProcessed();
    } //end try
    catch (Exception exc)
    out.println(exc.toString());
    // Now attemt to merge the two xml docs
    try
    NodeList list = xmldoc1.getElementsByTagName("CARDSLOADED");
    Node root = list.item(0);
    NodeList list1 = xmldoc2.getElementsByTagName("CARDREC");
    // now loop from pos 0 to end and add each node
    int noOfRecs = list1.getLength();
    for (int i=1; i <= noOfRecs -1; i++)
    Node child=list1.item(i);
    Node copy = xmldoc1.importNode(child, true);
    root.appendChild(copy);
    catch (Exception exc)
    System.out.println("Error merging "+exc.toString());

  • Problems while writing xml doc to a  file

    Hi all , in my project (of distributed xml databases) i need to write the xml files from the main server to the clients.
    These xml files i had formed by fragmenting one xml doc and i did the fragmentation using ....
    TransformerFactory tf = TransformerFactory.newInstance();
              Transformer transformer = tf.newTransformer();
              transformer.transform(new DOMSource(root),
              new StreamResult(new FileOutputStream(outputFile)));
    Now the problem is that on the client where these fragments reside..i m not able to do the indexing of the document properly ie...
    some extra text nodes with no values are coming in the index...
    i dont know how to deal wid the extra nodes that i m getting after parsing the file and craeting an index for the same..
    may be its coz of the transformer func i m using....don know(???)
    Note : i m fragmenting the xml files into text files using the above function and then sending thm to the client via sockets.
    Also,after fragmenting i am getting sumthng like
    <?xml version="1.0" encoding="UTF-8"?>
    in all the files..is this a source of any problem....
    plz reply soon....

    You have not described how you "index" the files and what you mean by that.
    Are you processing them with SAX or DOM, or one of the variations of those means?
    Is there a chance that the "extra" nodes are simply text nodes with newlines ("\n")? There are usually a lot of extra text nodes in a file each containing only one newline.
    If you are using SAX, there is no requirement for the parser to collect all of the text inside an element into a single block before calling the characters method. You may get several calls to characters between the start of an element and the end. If you change parsers, you may even get a different number of calls, but the character data will always be the same.
    Dave Patterson
    As to the <?xml version="1.0" encoding="UTF-8"?> line, that is perfectly fine. It means that your file thinks it is valid XML. Whether or not it REALLY is valid depends on a validation of the file.

  • Error parsing XML file from a HttpServletRequest using JAXP

    Hi,
    I am trying to generate an XML file from an HttpServletRequest. I am actually using file uploading method in JSP to send the XML file. I think the parser isnt able to correctly identify the XML file from the message body and hence it is giving some strange error messages. Has anyone of u managed to solve this problem ?
    Code snippet:
    //now build an XML document from the requested input stream
    InputStream in = myRequest.getInputStream();
    try {
    myDocRequest = myParser.parse(in);
    } catch (Throwable t) {
    throw new Exception("Could not build document",t);
    Error message is:
    [Fatal Error] :1:1: Content is not allowed in prolog.
    java.lang.Exception: Could not build document
    at XMLUtil.<init>(XMLUtil.java:91)
    at WCS.doPost(WCS.java:44)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    at XMLUtil.<init>(XMLUtil.java:89)
    ... 20 more
    Actually if i just print out the message, it gives something like this:
    -----------------------------7d63dc71b06b2
    Content-Disposition: form-data; name="W"; filename="C:\work_projects\Capas.xml"
    Content-Type: text/xml
    <?xml version="1.0" encoding="UTF-8"?>
    <GetCapabilities version="1.0.0" service="wcs">
    <section>/WCS_Capabilities/Capability</section>
    </GetCapabilities>
    -----------------------------7d63dc71b06b2--
    Cheers.

    The ServletInput stream contains this:
    -----------------------------7d63dc71b06b2
    Content-Disposition: form-data; name="W"; filename="C:\work_projects\Capas.xml"
    Content-Type: text/xml
    <?xml version="1.0" encoding="UTF-8"?>
    i.e., its the HTTP File Upload MIME stuff, followed by the XML. You need to wrap around the input stream something that can decode the HTTP MIME stuff and let you get at the XML itself, i.e., something like: com.orielly.servlet.multipart.MultipartParser (Apache has a similar 'file upload servlet).
    Jeremy

  • XML Files from Idoc

    Hi All,
    pls can you help me
    i need how will i get xml file from idoc
    can you give me the steps to get it
    thanks
    mars

    report zexternalfile .
    tables : zzpublisher,
    sscrfields.
    data: it_publisher like standard table of zzpublisher,
    wa_publisher like zzpublisher.
    select * from zzpublisher into table it_publisher.
    call function 'GUI_DOWNLOAD'
    exporting
    BIN_FILESIZE =
    filename = 'C:externalfileskamal.XLS'
    FILETYPE = 'ASC'
    APPEND = ' '
    write_field_separator = 'X'
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = it_publisher
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Pls go thru the following websites :
    A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    Reward points if found helpful....

  • Create XML file from ABAP with SOAP Details

    Hi,
    I am new to XML and I am not familiar with JAVA or Web Service. I have searched in SDN and googled for a sample program for creating XML document from ABAP with SOAP details. Unfortunately I couldn't find anything.
    I have a requirement for creating an XML file from ABAP with SOAP details. I have the data in the internal table. There is a Schema which the client provided and the file generated from SAP should be validating against that Schema. Schema contains SOAP details like Envelope, Header & Body.
    My question is can I generate the XML file using CALL TRANSFORMATION in SAP with the SOAP details?
    I have tried to create Transformation (Transaction XSLT_TOOL) in SAP with below code. Also in CALL transformation I am not able to change the encoding to UTF-8. It's always show UTF-16.
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
      <xsl:template match="/">
        <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
          <SOAP:Header>
            <CUNS:HeaderInfo>
              <CUNS:InterfaceTypeId>10006</InterfaceTypeId>
              <CUNS:BusinessPartnerID>11223344</BusinessPartnerID>
              <CUNS:SchemaVersion>1.0</SchemaVersion>
              <CUNS:DateTime>sy-datum</DateTime>
            </CUNS:HeaderInfo>
          </SOAP:Header>
          <SOAP:Body>
            <xsl:copy-of select="*"/>
          </SOAP:Body>
        </SOAP:Envelope>
      </xsl:template>
    </xsl:transform>
    In ABAP program, I have written below code for calling above Transformation.
      call transformation ('Z_ID')
           source tab = im_t_output[]
           result xml xml_out.
      call function 'SCMS_STRING_TO_FTEXT'
        exporting
          text      = xml_out
        tables
          ftext_tab = ex_t_xml_data.
    Please help me how to generate XML file with SOAP details from ABAP. If anybody have a sample program, please share with me.
    Is there any easy way to create the XML file in CALL Transformation. Please help.
    Thanks

    Try ABAP forum, as it seems not to be PI related.

  • FM to read XML files from Application server in ECC5.0

    Hi All,
    We need to pick up an XML file from Application server/FTP server. The requirement is to parse the XML file and process it to create material master. SAP provides standard function modules to read XML files.
    Now we need to read the XML file contents of MM01 and upload into SAP Data Base through BAPI
    I need to know about the Function modules to read XML files from Application Server and also about the FM's that will update the Date base tables with the data obtained form XML files.
    Regards
    Prathima

    Parsing XML data:
    http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/frameset.htm
    or alternatively check out ABAP online help for "CALL TRANSFORMATION".
    For creating the material master look at BAPI_STANDARDMATERIAL_CREATE.
    Thomas

  • Importing Word docs from a RH for Word project

    I have a HUGE RH for Word project that I'm trying to convert
    to RHTML (RH Office X5). We generate CHM with this project, and
    we've got map ids for all topics. I've been to Peter Grainge's site
    to get some ideas, but I don't think they're going to work. There
    are so many Word files and topics (537 and 2,974, respectively)
    that the more I think about it, the more I think that a conversion
    to RH HTML might not be worth it.
    When I tried to import all of the Word documents and also
    convert the TOC (converting the Index isn't an option since it
    never worked with our large number of Word docs) and use the
    HTMLHelp.css (using the Import wizard), RH HTML crashed twice after
    40 minutes.
    So, I created a new RH HTML project and tried to import just
    one Word doc from the RH for Word project, and selected the same
    wizard options. As I expected, the Word doc imported, but even
    though I told RH to split the topics on Heading 2, it also copied
    in the characters (#S+@) that preceded every topic heading and
    incorporated them into the Topic Title. AND, RH HTML did not
    "convert" the TOC - it was blank.
    In another post I saw a reference to this patch -
    http://www.adobe.com/support/security/bulletins/apsb07-10.html.
    I'm not sure it's related, although when I examined my second
    failed import attempt, the imported topics were visible in the
    project folder only by using Windows Explorer - RoboHelp HTML did
    not display them from within RoboHelp.
    Does anyone know if this is the patch that will fix this
    issue as well?
    By the way, based on the number of questions I've seen posted
    about RH for Word 7 with zero replies, I'm thinking I'm going to
    run into issues as well, even if we leave it in RH for Word when we
    upgrade to version 7. It seems that its size is an issue for RH
    HTML.
    Thanks,
    Jim
    Thanks,
    Jim

    Hi Jim,
    just as an encouragement: we sucessfully converted a HUGE RH
    for Word project (4,300 topics) to RH HTML a while ago, including
    TOC, index and everything. I must admit though that we had all
    those topics in only 25 word documents. Maybe you can reduce the
    number of documents by moving the topics? There will always be
    problems you run into and afterward, we had to go through every
    single topic and check the formatting, but I guess you'd always
    have to do this. But I think it's worth it, working in HTML is so
    much more convenient.
    Good luck!
    Kathrin

  • E4X - all nodes of one xml

    Hello guys,
    Can somebody help me???
    I need all nodes of one xml that <system> element
    equals "SystemOne".
    private function initApp():void {
    var xmlTemp:XML =
    <interfaces>
    <xinterface>
    <name>firstInterface</name>
    <team>TeamOne</team>
    <systems>
    <system>
    <name>SystemOne</name>
    </system>
    <system>
    <name>SystemTwo</name>
    </system>
    </systems>
    </xinterface>
    <xinterface>
    <name>secondInterface</name>
    <team>TeamTwo</team>
    <systems>
    <system>
    <name>SystemOne</name>
    </system>
    <system>
    <name>SystemTwo</name>
    </system>
    <system>
    <name>SystemThree</name>
    </system>
    </systems>
    </xinterface>
    </interfaces>;
    var xmlFind:XML =
    xmlTemp.xinterface.systems.system.(name=='SystemOne').parent().parent();
    But this don't work... return error (TypeError: Error #1010:
    A term is undefined and has no properties.)
    Thank a lot!!!
    Kleber

    No ready made example, but maybe some (untested) snippets.
    var xlSystem:XMLList =
    xmlTemp.xinterface.systems.system.(name=='SystemOne');
    var xmlInterface:XML = <foundinterfaces />;
    var xmlInterface:XML;
    for (vari:int=0;i<xlSystem.length();i++) {
    xmlInterface = xlSystem
    .parent().parent();
    xmlInterface.appendChild(xmlInterface .copy());
    Tracy

Maybe you are looking for

  • Report with Standard price / MAP price

    Hi Is their are standard report where i can run the MAP / Stand price. No extraction from table please. Thanks N

  • ERROR:Unreportted Exception java.io.IOEcxeption

    import java.io.*; public class MyFileWriter{      BufferedReader br;      InputStreamReader isr;      PrintWriter pw;      FileWriter fw;      File f;      String data; public MyFileWriter(){      isr=new InputStreamReader(System.in);      br=new Buf

  • Downgrading to 7.3.1 fixes time capsule firmware problem

    Just in case some of you folks are still suffering with from time capsule firmware upgrade this post worked for me. First reset the time capsule by pushing the little button in the back for longer than 5 seconds. I also reinstalled the original tC so

  • Major frustration; no tears YET

    Hi - I posted a message last night - 22 hours ago - on the Active HTML category and haven't gotten a reply. I know it's a constant problem for new users to connect to the testing server using IIS and Windows Vista and DW CS3 and MS Access. (Not to me

  • The Order of songs in the library

    ok.. so I'm trying to place my songs in my library in a certain order.. like to have itunes play my most favorite song of a band first and then so on and so forth. I can't seem to click and drag them in the order I want and I was wondering if there w