Write XML Component

Hello All,
I have an XML component with a local .xml file set as the source.
<mx:XML id="propXML" source="Properties.xml" />
It seems relatively straight forward to make changes to the value of a node, but I was wondering how I can save these changes back to the xml file stored locally?
propXML.node = "new value";
Save?
Thank you for any help.
Cheers,
David

You can't write to the local file system in Flex. Are you creating an AIR app? If so then you can write to the local file system. In Flex, you can't even open a file from the local file shystem, only when you are developing the app in FlexBuilder.

Similar Messages

  • Query-based  xml component in Portal

    Hi
    Is there anybody who suceeded in building up an xml component based on a query outside or inside a stored procedure?
    Let's suppose I'd like to use a cursor in the <ORACLE> tag in order to select all elements from a table..
    it seems like the reading loop is completely ignored in the xml component in Portal: by printing a hand-made raw like: htp.p('<NAME>|| CURSOR.NAME_ELEMENT ||</NAME>'); in a loop I get a single raw in the final table:
    '||cursor.name_element||'
    I also tried to make the selection inside a stored procedure and tried to run this from the xml component in the oracle section: I got no error, but still nothing is displayed.
    Furthermore I'm not able to call an XML URL: I have this string displayed:
    >>
    java.security.AccessControlException: the Permission (java.util.PropertyPermission http.proxySet write) has not been granted by dbms_java.grant_permission to SchemaProtectionDomain(PORTAL30|PolicyTableProxy(PORTAL30)) at java.security.AccessControlContext.checkPermission(AccessControlContext.java) at java.security.AccessController.checkPermission(AccessController.java) at java.lang.SecurityManager.checkPermission(SecurityManager.java) at oracle.aurora.rdbms.SecurityManagerImpl.checkPermission(SecurityManagerImpl.java) at java.lang.System.setProperty(System.java) at oracle.webdb.xmlcomp.XMLTransDoc.Transform(XMLTransDoc.java:48)
    >>
    Please help

    XML Component works this way :
    1) All the XML tags data are presented in the XSL form.
    2) If the tag contains <ORACLE> then it will be just treated as sql query or pl/sql block and the output of that will be rendered within that style.
    Remember that <ORACLE> tag is just used as the same way as it is used for Dynamic Pages.
    The only advantage being the data can from database within this tag.
    What you are asking is, the reference should be there for XML tags even when it is running inside pl/sql block ?
    Yha, we can have this as an enhancement and may be addressed in the future releases of portal.

  • XML Structure in XML Component

    Hi,
    I'm trying to build an XML component in Portal 9.0.2.
    What I need to know is the structure of the XML generated by SQL placed inside the <ORACLE> tags so I can parse it with the XSL style sheet.
    All the examples I've seen (about 2) show the sql coming out in one lump in a table, but I want to be able to parse individual columns from the SQL. All I seem to get is a default presentation of the data.
    Any Ideas ?

    Hi,
    This is not possible currently. There is an enhancement filed for this.
    Thanks,
    Sharmila

  • Write XML to the server... ? Problem !

    Hi,
    I need your help !
    I'm trying to reach the "Weather" example web service in WL 6.1.
    My aim is to write XML direct into a socket, over HTTP, and read the
    response...
    I have included the code I am using, but it is not successful for the
    moment.
    I keep getting a parse exception :
    HTTP/1.1 200 OK
    Date: Thu, 26 Jun 2003 07:57:33 GMT
    Server: WebLogic WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    Content-Type: text/xml; charset=UTF-8
    Transfer-Encoding: Chunked
    Connection: Close
    04da
    <?xml version="1.0" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>
    Server
    </faultcode>
    <faultstring>
    org.xml.sax.SAXException
    </faultstring>
    <detail>
    Server side error:
    org.xml.sax.SAXException: Could not find envelope element
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:87)
    at
    weblogic.soap.server.servlet.StatelessBeanAdapter.getInputMessage(Sta
    telessBeanAdapter.java:150)
    at
    weblogic.soap.server.servlet.StatelessBeanAdapter.doPost(StatelessBea
    nAdapter.java:100)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2495)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    0000
    ============ code ===============
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    public class ClientSocket {
    public static void main(String args[]) throws Exception
    if (args.length != 5)
    throw new Exception("Nombre de parametres incorrect");
    String site = args[0];
    Socket sock = new Socket("localhost", 7001);
    PrintWriter out = new PrintWriter(sock.getOutputStream());
    out.println("POST /weather/weatheruri HTTP/1.1");
    out.println("Host: localhost");
    out.println("Content-Type: text/xml; charset=\"utf-8\"");
    out.println("Content-Length: nnnn");
    //out.println("SOAPAction: \"http://localhost:7001/weather/weatheruri\"");
    //out.println("SOAPAction: ");
    out.println("SOAPAction: \"Some-URI\"");
    out.println("");
    out.println("<?xml version='1.0' encoding='UTF-8'?>");
    out.println("<SOAP-ENV:Envelope
    xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
    xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
    xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'
    xmlns:xsd='http://www.w3.org/1999/XMLSchema'>");
    out.println("<SOAP-ENV:Body>");
    out.println("<getTemp
    SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>");
    out.println("<message xsi:type='xsd:string'>");
    out.println("1212");
    out.println("</message>");
    out.println("</getTemp>");
    out.println("</SOAP-ENV:Body>");
    out.println("</SOAP-ENV:Envelope>");
    out.flush();
    BufferedReader in = new BufferedReader(new
    InputStreamReader(sock.getInputStream()));
    String str = null;
    while (((str = in.readLine()) != null))
    System.out.println(str);
    sock.close();

    Many thanks, Mike !!
    Mathew
    "Michael Wooten" <[email protected]> wrote in message
    news:[email protected]...
    >
    The attached Java source shows one example of how to use a Socket to senda SOAP
    message. Check it out, and see if it helps. It has some optimizations thataren't
    currently in the code you provided.
    Regards,
    Mike Wooten
    "W@p" <[email protected]> wrote:
    Hi,
    I need your help !
    I'm trying to reach the "Weather" example web service in WL 6.1.
    My aim is to write XML direct into a socket, over HTTP, and read the
    response...
    I have included the code I am using, but it is not successful for the
    moment.
    I keep getting a parse exception :
    HTTP/1.1 200 OK
    Date: Thu, 26 Jun 2003 07:57:33 GMT
    Server: WebLogic WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    Transfer-Encoding: Chunked
    Connection: Close
    04da
    <?xml version="1.0" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>
    Server
    </faultcode>
    <faultstring>
    org.xml.sax.SAXException
    </faultstring>
    <detail>
    Server side error:
    org.xml.sax.SAXException: Could not find envelope element
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:87)
    at
    weblogic.soap.server.servlet.StatelessBeanAdapter.getInputMessage(Sta
    telessBeanAdapter.java:150)
    at
    weblogic.soap.server.servlet.StatelessBeanAdapter.doPost(StatelessBea
    nAdapter.java:100)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2495)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    0000
    ============ code ===============
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    public class ClientSocket {
    public static void main(String args[]) throws Exception
    if (args.length != 5)
    throw new Exception("Nombre de parametres incorrect");
    String site = args[0];
    Socket sock = new Socket("localhost", 7001);
    PrintWriter out = new PrintWriter(sock.getOutputStream());
    out.println("POST /weather/weatheruri HTTP/1.1");
    out.println("Host: localhost");
    out.println("Content-Type: text/xml; charset=\"utf-8\"");
    out.println("Content-Length: nnnn");
    //out.println("SOAPAction:
    \"http://localhost:7001/weather/weatheruri\"");
    //out.println("SOAPAction: ");
    out.println("SOAPAction: \"Some-URI\"");
    out.println("");
    out.println("<?xml version='1.0' encoding='UTF-8'?>");
    out.println("<SOAP-ENV:Envelope
    xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
    xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
    xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'
    xmlns:xsd='http://www.w3.org/1999/XMLSchema'>");
    out.println("<SOAP-ENV:Body>");
    out.println("<getTemp
    SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>");
    out.println("<message xsi:type='xsd:string'>");
    out.println("1212");
    out.println("</message>");
    out.println("</getTemp>");
    out.println("</SOAP-ENV:Body>");
    out.println("</SOAP-ENV:Envelope>");
    out.flush();
    BufferedReader in = new BufferedReader(new
    InputStreamReader(sock.getInputStream()));
    String str = null;
    while (((str = in.readLine()) != null))
    System.out.println(str);
    sock.close();

  • MICR font not displayed in PDF on SUSE Linux Server for Check Writer (XML)

    We are generating checks by running the Check Writer(XML) concurrent request and are not able to see MICR fonts on the Check. We downloaded the free version from IDAutomationSMICR.ttf and the fonts were registered under /usr/local/fonts/micr directory. I registered in APPS and uploaded the file IDAutomationSMICR.ttf. Am I missing any steps. The DBA's have registered the fonts under /usr/local/fonts/micr on SUSE Linux Server . The custom Checks are generated but no luck with the fonts. Please advise. Can I download MICR fonts other than IDAutomation site? Appreciate your response.
    Thanks,
    Hari

    I use version 11i, so the steps are probably different. Download a font file (gnuMICR for me). Extract it to a location of your choice on your operating system.
    Follow these steps to load the MICR font to the server. (Step 11 was missing in some of the metalink documents in late 2007. I think Jan. 2008 will be OK).
    1.     Log in as XML Publisher Administrator.
    2.     Navigate to Administration->Font Files->Create Font File.
    3.     Fields are Font Name and File. For Font Name choose any descriptive name. File will browse your PC to locate the font file.
    4.     Navigate to Font Mappings->Create Font Mapping Set.
    5.     Mapping name is the name you will give to a set of fonts. [MICR Font]
    6.     Mapping code is the internal name you will give to this set. [MICR]
    7.     Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
    8.     Create Font Mapping (this allows you to add multiple fonts to a set).
    9.     Font Family is the exact same name you see in Word under Fonts. If you don't use the same name the font will not be picked up at runtime. [GnuMICR]
    10.     Style and weight must also match how you use the font in Windows. Normal and Normal are good defaults. [Normal, Normal]
    11.     DO NOT enter Language or Territory
    12.     Choose a value for Font Type. [Truetype]
    13.     Search for the Font you just created in step 3. [GnuMICR]
    14.     Navigate to Configuration -> FO Processing -> Font Mapping Set. Can also be done at data def and template level under Edit Configuration. Hierarchy is Site-> Data Def -> Template.
    15.     Select your new mapping set.
    16.     Make sure the font is not referenced under File->Properties->Custom in the RTF template file.
    17.     Select a temporary directory on your concurrent processing node (Configuration -> General). This needs to be a private area not shared by other processes, read writeable by the applmgr (owner of the $APPL_TOP file system). It should be fairly large 5 GB or 20x larger than any datafile being used. The fonts will be downloaded here the first time they are used.
    18.     Also at this site level select your font mapping set.
    19.     Upload a template that uses your special font and test using preview.

  • How to access backing bean of a xml component , in a managed bean of ADF

    Hi,
    We wrote a xml component in JSF and this component is used in ADF project by including the component as jar .
    In a master detail page , we need to update the value of the xml component, when the master row is changed. How to do this.
    We are trying to do this by accessing the backing bean of the xml component in ADF project's managed bean. So when ever the row changes, we can access the managed bean in ADF and then can set the value of the xml component by accessing it's backing bean
    But i can't access the backing bean instance of the xml component in the ADF managed bean. Could you let me know how to do this. Thanks .

    Thanks for the response Shay. The xml component is added as a custom component , with a separate faces-config.xml file . This component is added to ADF project as a jar with a custom tag.
    In the ADF project , i'm having different managed beans and i can access them from a different managed bean.
    The issue is, i can't access the added custom component's backing bean which is available from a different jar , defined in a separate faces-config.xml file . This backing bean is defined with request scope.

  • Check writer XML not working.

    We are using the oracle provided Check writer XML program for HR Payroll check printing. Check writer XML program is getting error ed out when we attach MICR font set up to the Check writer XML Template in template definition, works fine if we remove the MICR font set up for the template. And MICR font set up is working fine for other custom programs we developed. Any suggestions?

    Ya i gone through the docs in the thread. the program works fine when we remove the MICR font setup for the template.
    configuration
    ==========
    RDBMS : 11.1.0.7.0
    Oracle Applications : 12.1.1
    Error is
    ========================
    HR_6859_HRPROC_OTHER_PROC_ERR
    APP-PAY-06859: An error has been detected by another process.
    Cause: During processing, the master or another slave process has detected an error, communicated by setting the Payroll status to 'Error'.
    Action: Examine the error log file and payroll messages to investigate the cause of the error.

  • XML Component doesn't work (size limitation)

    Hello,
    I'm having problems with "large" XML documents in the XML Component. I have a XML document with 6 records, that fails with the following error:
    ORA-24345: A Truncation or null fetch error occurred
    If I cut the XML document down to 5 records it displays the output just fine. This definetly looks like a bug. I've cut and pasted this XML document into the "XML Code" section, and had it loaded via a URL in the "XML URL". Still I have the same problem.
    I looked at the code, and I noticed that the size for the variables in which to get the XML/XSL+DTD code retrieved into, is hard coded at 32767. Although this doesn't seem to be the source of my problem, 32767 is just too small for XML documents. Is there a patch for this problem, or do I just have to wait to the next release?

    I have the latest version that comes with 1.0.2.1 which is 3.0.8.
    The size of the file that I'm using is approximately 17K.
    I know that there are other ways of displaying XML with XSL, but unfortunatly, Netscape is what we currently use, so XML and XSL don't display easily.
    I'd like to know if this will be fixed in the next release or whether a patch will eventually be available. I was also wondering if there is date or approximation of when it will be fixed. I appreciate you taking the time to answer me.

  • How to write XML with attributes to a table in Oracle?

    I tried to find solutions over the internet. Some of the stuff I looked at:https://forums.oracle.com/thread/2182669 http://www.club-oracle.com/forums/how-to-insert-data-from-xml-to-table-t2845/
    In all these cases, the solution considers XML structure with only nodes and child nodes but not attributes. In fact, one of the solutions suggests transforming the XML into a canonical form with only nodes w/o attributes.
    This is a sample of xml structure I am working with:
    Sample XML
    <rep type="P" title="P List"> <as> <a id="3" /> <a id="4" /> </as> </rep>
    I am working with oracle client 11.2 and SQL developer
    My question is: how to write XML data into a table with attributes also as column values, beside the nodes?

    My question is: how to write XML data into a table with attributes also as column values, beside the nodes
    The question you should be asking is : "how do I access attributes in the XPath language?"
    and the answer to that is easily found in any XPath tutorial you may find over the Internet, it is not related to Oracle in particular.
    Short answer : you use an "attribute::" axis before the attribute name, or more commonly a "@", e.g. @type, @id etc.
    Using the method described in the first link, something like this will extract the root attributes :
    SELECT x.*
    FROM XMLTable(
           '/rep'
           passing <xmltype variable/column goes here>
           columns type  varchar2(1)  path '@type'
                 , title varchar2(30) path '@title'
    ) x ;
    For deeper levels, use additional XMLTable calls as described in the mentioned post.

  • Cluster and Read Write XML

    In my applications I allow users to save their settings. I used to do this in a Ini file. So I wrote a Vi that could write any cluster and it worked ok. When I discovered that in the newer versions of LabVIEW you could Read/Write From/To xml, I changed inmediatly because it have some advantages form me but I am having some trouble.
    Every time I want to save a cluster I have to use
    Flatten To XML -> Escape XML -> Write XML
    and to load
    Load From XML -> Unescape XML -> Unflatten from XML.
    I also do other important things each time I save or load settings. So it seems to be reasonable to put all this in just two subvi's. (One for loading, One for saving). The problem is that I want to use it with any cluster
    What I want with can be summarized as following:
    - SaveSettings.vi
    --Inputs:
    ---Filename
    ---AnyCluster
    ---Error In
    --Outputs
    ---Error Out
    -LoadSettings.vi
    Inputs:
    ---Filename
    ---AnyCluster
    ---Error In
    Outputs
    ---DataFromXML
    ---Error Out
    I have tried using variants or references and I was not able to make generic sub vi (sub vi that don't know what is in the cluster). I don't want to use a polymorphic vi because it will demand making one load/save pair per each type of settings.
    Thanks,
    Hernan

    If I am correct you still you need to wire the data type to the Variant To Data. How can you put in a subvi ALL that is needed to handle the read/write of the cluster? I don't want to put any Flatten To XML or Unflatten From XML outside.
    The solution I came out with INI files was passing a reference to a cluster control but it is real unconfortable because I have to itereate through all items.
    When a control has a "Anything" input, is there any way to wire that input to a control and remains "Anything"?
    Thanks
    Hernan

  • Check Writer (xml) is not showing current accrual hours

    Hi,
    We are on EBS 11.5.10.2, we are going live with new accrual plan of category Vacation, when we run the check writer (Xml) process it does not show the current period accrual , it does show correct Net accrual hours. What do I need to do to get this working.
    Thank you.
    Edited by: 924406 on Jun 19, 2012 3:22 PM

    Do you have the data field in the templae set right?
    Attach the template here if you can after taking out any sensitive company information you might have on it.

  • Segments in Check Writer XML data source

    Hi,
    Can anyone tell me what are the Segments 1-10 in the XML data source that I see for Check Writer (XML) when I use "Third Party Checks". I tried populating few fields in the Entry values for the corresponding element but that didn't work.
    We need an additional field to populate some reference number that needs to be printed on the check and we would like to use one of these segments since it eliminates the customization.
    - <EMPLOYEE_THIRD_PARTY_PAYMENTS>
    <ORG_PAYMENT_METHOD_ID>63</ORG_PAYMENT_METHOD_ID>
    <PERSONAL_PAYMENT_METHOD_ID>103704</PERSONAL_PAYMENT_METHOD_ID>
    <CHECK_DEPOSIT_NUMBER>166986</CHECK_DEPOSIT_NUMBER>
    <SEGMENT1 />
    <SEGMENT2 />
    <SEGMENT3 />
    <SEGMENT4 />
    <SEGMENT5 />
    <SEGMENT6 />
    <SEGMENT7 />
    <SEGMENT8 />
    <SEGMENT9 />
    <SEGMENT10 />
    <PRE_PAYMENT_ID>4077062</PRE_PAYMENT_ID>
    <VALUE>151</VALUE>
    <PREPAYMENT_ASSIGNMENT_ACTION>1363042534</PREPAYMENT_ASSIGNMENT_ACTION>
    <ORG_PAYMENT_METHOD_NAME>TP Bethesda</ORG_PAYMENT_METHOD_NAME>
    </EMPLOYEE_THIRD_PARTY_PAYMENTS>

    Ok..found it. Those are the bank details.

  • Data source for deposit advice xml and check writer xml

    Could someone please tell me where I can find the data source for the Deposit Advice XML and Check Writer XML programs. Since these executables are now a spawned process (PYUGEN), I don't know how to get to the data source. I was able before to look at the queries in PAYUSPST.rdf and PAYUSCHK.rdf. Where are these queries located now? Any help is appreaciated.

    Hi All,
    I applyied the patch 6399100 and i got the seeded Check Writer (XML) and Deposit Advice (XML) programs.Im able to run the Check Writer (XML) with Parameter (Check Style :Seeded Archive Check Writer Template ) but where as the im unable to run the Deposit Advice (XML) due to Error msg: "No enties found for list of vales"for the 'Check Style' Parameter.
    And for the above (only for Deposit Advice) i am not able to ecexute the SQL script given in the Doc ID : 459306.1 due to the error msg : cannot insert NULL into ("HR"."PAY_REPORT_CATEGORIES"."REPORT_GROUP_ID") if i see query the select * from apps.pay_report_categories where short_name like 'ARCHIVE%' there is no record exixts for ARCHIVE_DEPOSIT....
    for this we required any other patch/setups.
    And is the "Third Pary Check" will support XML Publisher ??
    Any respose will be greatly appriciated.
    Thanks,
    Madhu
    Message was edited by:
    user589951

  • Please help; how to write XML document with JSP?

    I try to write XML document with JSP...
    But I got wrong results everytime.
    The result is not XML file displayed in the browser,
    but HTML file.
    I even tried to use HTML special code for <, >, "
    but still display as HTML file not XML file.
    How to do this?
    Thanks in advance. I put my codes below.
    Sincerely,
    Ted.
    ================
    Here is code for the JSP (called stk.jsp):
    <%@ page contentType="text/xml" %>
    <%@ page import="bean.Stock" %>
    <jsp:useBean id="portfolio" class="bean.Portfolio" />
    <% java.util.Iterator pfolio = portfolio.getPortfolio();
    Stock stock = null; %>
    <?xml version="1.0" encoding="UTF-8"?>
    <portfolio>
    <% while (pfolio.hasNext())
    stock = (Stock) pfolio.next(); %>
    <stock>
    <symbol>
    <%=stock.getSymbol() %>
    </symbol>
    <name><%=stock.getName() %> </name>
    <price><%=stock.getPrice() %> </price>
    </stock>
    <% } %>
    </portfolio>
    =================
    Here is the code for bean.Stock:
    package bean;
    public class Stock implements java.io.Serializable
    String symbol, name;
    float price;
    public Stock(String symbol, String name, float price)
    this.symbol = symbol;
    this.name = name;
    this.price = price;
    public String getSymbol()
    return symbol;
    public String getName()
    return name;
    public float getPrice()
    return price;
    ===============
    And here is bean.Portfolio:
    package bean;
    import java.util.Iterator;
    import java.util.Vector;
    public class Portfolio implements java.io.Serializable
    private Vector portfolio = new Vector();
    public Portfolio()
    portfolio.addElement(new Stock("SUNW", "Sun Microsystem", 34.5f));
    portfolio.addElement(new Stock("HWP", "Hewlett Packard", 15.15f));
    portfolio.addElement(new Stock("AMCC", "Applied Micro Circuit Corp.", 101.35f));
    public Iterator getPortfolio()
    return portfolio.iterator();
    }

    Hi
    I'm not sure whta your query is but I tested your code as it is has been pasted and it seems to work fine. There is an XML output that I'm getting.
    Keep me posted.
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems
    http://www.sun.com/developers/support

  • XML Component URL

    Hello,
    I currently have 3.0.9.8 portal with 9iAS on Sun Solaris 2.8. I'm trying to create an XML Component. It works with static XML created in the XML code window and our customized XSL, however I'm trying to get dynamic XML from the data server by calling the procedures in DBMS_XMLQuery (which is from the XSU package) between Oracle tags in the "XML Code" area. Using the same XSL definition, we come up with no data being returned. Is there anything special we have to do to get this to work? Thanks,
    Jon Reed
    [email protected]

    Jonanthan,
    This enhancement has been taken care in the next release of Oracle 9iAS Portal.
    Now the XML component, also supports parsing of Oracle tags given in URL.
    (thanks for the suggestion given)
    Thanks,
    Balakrishnan.

Maybe you are looking for

  • Satellite S2410-504: What is the best battery?

    Hi All I am a complete noob to this but hope that someone can help me out. I have a Toshiba Satellite but I am not sure what model - it says on the back it is s2410-504. Anyways I have had it for about 3 years and I think the battery is kaput since i

  • Changes via SM30 of ztable is not reflected after saving...

    Hello experts, I am trying to modify a z table because the users told me that when they try to modify it using its maintenance view their changes is not being saved. Now, I checked the table and it has 3 fields(excluding MANDT) and I found out all of

  • Problem with path and compiling

    I am trying to compile a class where I have and object I created as well. It complains that it cannot find that object (or class in the classpath) and fires this error when I try to compile: Error: csci5433.database.animals.Pets.customerName is decla

  • Generated helpset not displayed correctly in OHW 2.0.2

    Hi, I have a servlet which generates a helpset file. To test my helpset, I plug in the url to the ohwconfig.xml in the ohw-demo-2.0.2 sample; ie C:\Tomcat 5.0\webapps\ohw-demo-2.0.2\helpsets\ohwconfig.xml The change in the ohwconfig.xml looks like th

  • How to do a quick check on a Macbook for functionality of Id and Dw?

    Hi, I'm wondering how to do a quick check on a Macbook Pro to check if its affected by any the known bugs in Id and Dw CS6? I read that there were problems with running them with some of the 2012 MBPs so I'm currently looking at a second hand option