CUSTOMIZING GRAPH USING XML AND SRW.APPLY_DEFINITION

Hello,
I'm trying to use the document
http://www.cs.uvm.edu/oracle9doc/appdev.901/a88894/adx14rep.htm#1017323
and trying to modify a graph property. I keep getting "Rep-6106 Error in
Report Definition at Line 1", whenever I add the graph tag.
Is graph allowed to be changed through XML and SRW.APPLY_DEFINITION?
Here's how I'm giving it in the report:
'<report name="esummarytestg" DTDVersion="1.0">
<layout>
<section name="main">
<field name="F_1" source="ACTIVE_INSTANCES" textColor="red">
<graph name="CT_2">
<geometryInfo x="0.25000" y="0.25000" width="9.06250" height="3.68750" />
<generalLayout verticalElasticity="variable"
horizontalElasticity="variable" />
<graphDefinition>
<![CDATA[
              <rw:graph id="CT_2" src="G_RTG" groups="RTG"
dataValues="NUM_OF_WEEKS">
              <!--
              <?xml version="1.0" ?>
              <Graph version="3.2.0.22">
              <LegendArea automaticPlacement="AP_NEVER"
position="LAP_BOTTOM"/>
              <MarkerText visible="true"/>
              <SeriesItems defaultFitlineType="FT_NONE"/>
              </Graph>
              -->
              </rw:graph>
             ]]>
</graphDefinition>
</graph>
</section>
</layout>
<customize>
</customize>
</report>'

Come on, guys. Help! :(

Similar Messages

  • How to edit bitmap which is imported in flash using xml and save the edited bitmap back to xml in flash.

    hi all
    It would be appreciated if any one let me know how to edit
    bitmap which is imported in flash using xml and save the edited
    bitmap back to xml in flash.
    Is it posible to save the bitmap data in flash?
    thanks in advance

    Yes you can... but like I said before you need to upload the
    data from the changes you make to a server.
    In terms of the solution... its unlikely that you'll find one
    specifically for your needs. You will have to learn whatever you
    don't know how already and maybe adapt some existing examples to
    your needs.
    To change the visual state of a movie clip... you just do all
    the regular things that you want to do to it using flash... scale,
    rotation, drawing API , textfields etc in actionscript. If you
    don't know how to how to do that stuff, then you need to learn that
    first. That's basic actionscript.
    You can capture the visual state of a movieclip using the
    BitmapData class. That includes a loaded jpeg. You can also
    manipulate bimatp data using the same class. You should read up on
    that if you don't know how to use it or check out the examples
    below for uploading info.
    For uploading to the server:
    Here's an as2 solution that took 15 secs to find using
    google:
    http://www.quasimondo.com/archives/000645.php
    If you're using as3, google search for "jpeg encoder as3" and
    look through that info. There are also historical answers in the
    forums here related to this type of thing that might help as
    well.

  • How to create a user using XML and specifying addional attributes that are objects

    I'm trying to create a user using XML and specifying some attributes that are objects and not sure how to do it. How would I set the DirectoryUserAcl to Public?
    Here's the xml file:
    <?xml version = '1.0' standalone = 'yes'?>
    <SimpleUser>
    <UserName>mike2</UserName>
    <Password>abc123</Password>
    <AdminEnabled>false</AdminEnabled>
    <HomeFolderRoot>/home</HomeFolderRoot>
    <HasContentQuota>false</HasContentQuota>
    <DirectoryUserAcl> ??? </DirectoryUserAcl>
    <DefaultAclBundleAcl> ??? </DefaultAclBundleAcl>
    <HomeFolderPolicyBundleAcl> ??? </HomeFolderPolicyBundleAcl>
    </SimpleUser>

    I figured out the answer:
    <?xml version = '1.0' standalone = 'yes'?>
    <SimpleUser>
    <UserName>mike2</UserName>
    <Password>abc123</Password>
    <AdminEnabled>false</AdminEnabled>
    <HomeFolderRoot>/home</HomeFolderRoot>
    <HasContentQuota>false</HasContentQuota>
    <DirectoryUserAcl classname="SystemAccessControlList" refType="name">Public</DirectoryUserAcl>
    </SimpleUser>
    null

  • Database updation using XML and stored Procedure?

    Hello,
    I want to perform updation in multiple tables using XML files.Please suggest can I do updation using xml and stored procedure.
    If yes then which is more efficient and takes less time.
    1.Updation using xml files only
    2.Updation using xml files with stored procedure.
    3.Stored procedure alone.
    If direct xml and stored procedure communication is possible.then please write how.
    Thanks in advance for any help.

    Here's a sample. The next code drop of the XSQL Servlet will make the easy-to-do from within XSQL Pages:
    package package1;
    import org.w3c.dom.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    public class Class1 extends Object {
    public static void main( String[] arg ) throws Exception {
    Connection conn = getConnection();
    CallableStatement ocs = conn.prepareCall("begin ? := App.HotItems('PAUL'); end;");
    ocs.registerOutParameter(1,OracleTypes.CURSOR);
    ocs.execute();
    ResultSet rs = ((OracleCallableStatement)ocs).getCursor(1);
    OracleXMLQuery oxq = new OracleXMLQuery(conn,rs);
    System.out.println(oxq.getXMLString());
    oxq.close();
    rs.close();
    ocs.close();
    conn.close();
    public static Connection getConnection() throws Exception {
    String username = "scott";
    String password = "tiger";
    String dburl = "jdbc:oracle:thin:@localhost:1521:xml";
    String driverClass = "oracle.jdbc.driver.OracleDriver";
    Driver d = (Driver)Class.forName(driverClass).newInstance();
    return DriverManager.getConnection(dburl,username,password);
    null

  • Custom Map using latitude and longitude data points

    Hi,
    I am new to Apex and I want to lost custom data points using latitude and longitude data points. I
    have seen posts referring to the chart example (http://apex.oracle.com/pls/apex/f?p=36648:65:2214483882702::NO:::) ; could someone help me with the following:
    1) How to add On Demand Application Process to a map page (step 4 in the demo)
    2) What is a hidden item and how to add it to a page (step 6)
    Any help would be greatly appreciated.
    Kind regards,
    Lisa

    I am trying to do the same thing. I have got the get_data function working to create the desired output. However when I replace the xml <data> block with &P65_DATA, it does not work. If I display P65_DATA on the page, it has correct output. If I cut and paste the output into custom XML, it works fine. Anyone have come across this issue..any ideas how to fix it?

  • Captivate 4, interaction SWF using XML and the Reviewer tool Problem

    Hello everyone!
    I am an advanced AS3er and am only months old working with Captivate 4. I've found some cool ways to use Captivate and incorporating swfs that use CSS and XML for their dynamic content builder and interactivity as well. However, I've run into a problem:
    The Reviewer tool will NOT display my swf interactions that use XML, however when published as a course, I can see them perfectly fine (once I move over my css and xml folders after publishing)
    Has anyone found a work around for this problem?
    Thanks in advance!

    Hi,
    Not sure if you want to control the audio used in Captivate of if you want to control you own audio form files loaded externally. If you try to control the audio associated with captivate, believe me it will be a mess. I tried it once and hit so many hurdles that I gave up. The Captivate framework is not meant at all for extending and adding functionality. I had to to create proxy classes that allowed me to gain access to internal variable but even then my control over audio streams was incomplete. Captivate completely lacks an eventing framework!
    On an other subject, can you tell me how you got the swf to use the CSS and XML files? Do you have to manually copy them to a folder? Which folder?
    Thanks,
    Yves

  • Creating an Order Processing System Using XML and JavaBean/EJB

    Hi,
    I'm looking to design a solution for the following problem:
    A distributor creates a purchase order from a home grown system. This purchase order is sent to the company as a flat text file. This file must then be validated for both syntax and data values and then processed by their ERP system running on an AS/400.
    The solution I would like to provide is to place the data from this text file into an XML file and then create a system composed of server side components (either Java Beans or Enterprise Java Beans) that would parse the information and call the back end ERP processes (using business methods from within the beans). I have already developed a web app that processes orders using JSP and Java Beans. In this case however, the order will never be seen by a human unless it fails validation. I figured using XML to do this would not only be good for this part but also improve the e-commerce side as well. My only question is how to submit an XML document to a bean for processing without user intervention. Any information you can give me on this or even to point me in the right direction would be greatly appreciated. Thank you for your time.

    Hello,
    Thank you for responding to my question. I have several books here on XML but have not gotten very far in them as of yet. I understand how to create an XML document and a DTD, but I guess I haven't gotten far enough to understand how "submit" per say an XML page like you would an HTML form and then proceed to retrieve the data from the request parameters. I will research this further.

  • Kirupa  Photo Gallery using XML and Flash

    I learn best by using tutes and figuring out how to make
    changes effectively. i finished the one at
    http://www.kirupa.com/developer/mx2004/thumbnails3.htm
    and managed to change sizes etc but i wanted to change it to a
    symbol to insert it in another flash file. i got that part done
    though the thumbs show up (number 3 to 5) and they do not scroll. i
    figure it has to do with the hit left and hit right and that the
    "path" not sure if i used the term in the right way changes when it
    turns from a scene all by itself to being inserted into a frame in
    a layer. i am not sure if i am explaining this right but i would
    really appreciate any help and I am sorry if this is a duplicate
    post, i have been searching for a long time and cannot find it or
    figure it out.
    jmontyman

    I learn best by using tutes and figuring out how to make
    changes effectively. i finished the one at
    http://www.kirupa.com/developer/mx2004/thumbnails3.htm
    and managed to change sizes etc but i wanted to change it to a
    symbol to insert it in another flash file. i got that part done
    though the thumbs show up (number 3 to 5) and they do not scroll. i
    figure it has to do with the hit left and hit right and that the
    "path" not sure if i used the term in the right way changes when it
    turns from a scene all by itself to being inserted into a frame in
    a layer. i am not sure if i am explaining this right but i would
    really appreciate any help and I am sorry if this is a duplicate
    post, i have been searching for a long time and cannot find it or
    figure it out.
    jmontyman

  • I'd like to load images using XML and Java - hints??

    I have a XML files that are created on a timed basis....they describe a photo and point to a dir where the photo is stored...like...
    <image>
    <user>bill</user>
    <img>photo.jpg</img>
    <img_dir>'/tmp/photos'</img_dir>
    </image>
    I'd like to write a Java program that parses the XML and loads the images, data into Oracle.
    Suggestions on Oracle tools, downloads that will help me accomplish this???
    Thanks!

    I pass a URL and then when I parse the XML I download the file from the URL.
    A.

  • HPCM custom driver use source and destination

    Hi All,
    I'm using HPCM 12.1.2, I need your help to create one custom driver that uses information from source and destination. I need to use 1 dimension of source and 2 of destination.
    I have the situation bellow:
    STAGE1 (SOURCE)
    Dim1 Machine
    Dim2 Account
    STAGE2 (DESTINATION)
    Dim1 Process
    Dim2 Operation
    Dim 3 Account
    Measure: Time used in the Machine
    The infromation is extracted:
    Machine1 - Process1 - Operation1 = 10 Hours
    Machine1 - Process1 - Operation2 = 9 Hours
    Machine2 - Process1 - Operation1 = 13 Hours
    How can I create one Driver that I could use these informations? It is possible?
    Thanks in Advance
    Diogo
    Edited by: user10432898 on 15/05/2012 14:21

    Hi Alex,
    You have to increase the Max Row size limit in Xcelsius.
    Goto >> File menu >> Preferences >> Increase the "Max Row Sixe"  by default it will be 500 you can increase it as per the requirement.
    Regards,
    AnjaniKumar C.A.

  • (Another) problem with custom painting using JApplet and JPanel

    Hi all,
    I posted regarding this sort of issue yesterday (http://forums.sun.com/message.jspa?messageID=10883107). I fixed the issue I was having, but have run into another issue. I've tried solving this myself to no avail.
    Basically I'm working on creating the GUI for my JApplet and it has a few different JPanels which I will be painting to, hence I'm using custom painting. My problem is that the custom painting works fine on the mainGUI() class, but not on the rightGUI() class. My code is below:
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.io.*;
    import javax.imageio.*;
    public class TetrisClone extends JApplet {
         public void init() {
              setSize( 450, 500 );
              Container content = getContentPane();
              content.add( new mainGUI(), BorderLayout.CENTER );
              content.add( new rightGUI() , BorderLayout.LINE_END );
    class mainGUI extends JPanel {
         // Main bit where blocks fall
         public mainGUI() {
              setBackground( new Color(68,75,142) );
              setPreferredSize( new Dimension( 325, 500 ) );
              validate();
         public Dimension getPreferredSize() {
              return new Dimension( 450, 500 );
         public void paintComponent( Graphics g ) {
              super.paintComponent(g);
              // As a test. This shows up fine.
              g.setColor( Color.black );
              g.fillRect(10,10,100,100);
              g.setColor( Color.white );
              g.drawString("Main",45,55);
    class rightGUI extends JPanel {
         BufferedImage img = null;
         int currentLevel = 0;
         int currentScore = 0;
         int currentLines = 0;
         public rightGUI() {
              // The right panel. Has quite a few bits. Starts here..
              FlowLayout flow = new FlowLayout();
              flow.setVgap( 20 );
              setLayout( flow );
              setPreferredSize( new Dimension( 125, 500 ) );
              setBackground( new Color(27,34,97) );
              setBorder( BorderFactory.createMatteBorder(0,2,0,0,Color.black) );
              // Next block bit
              JPanel rightNext = new JPanel();
              rightNext.setPreferredSize( new Dimension( 100, 100 ) );
              //rightNext.setBackground( new Color(130,136,189) );
              rightNext.setOpaque( false );
              rightNext.setBorder( BorderFactory.createEtchedBorder(EtchedBorder.LOWERED) );
              Font rightFont = new Font( "Courier", Font.BOLD, 18 );
              // The player's playing details
              JLabel rightLevel = new JLabel("Level: " + currentLevel, JLabel.LEFT );
              rightLevel.setFont( rightFont );
              rightLevel.setForeground( Color.white );
              JLabel rightScore = new JLabel("Score: " + currentScore, JLabel.LEFT );
              rightScore.setFont( rightFont );
              rightScore.setForeground( Color.white );
              JLabel rightLines = new JLabel("Lines: " + currentLines, JLabel.LEFT );
              rightLines.setFont( rightFont );
              rightLines.setForeground( Color.white );
              JPanel margin = new JPanel();
              margin.setPreferredSize( new Dimension( 100, 50 ) );
              margin.setBackground( new Color(27,34,97) );
              JButton rightPause = new JButton("Pause");
              try {
                  img = ImageIO.read(new File("MadeBy.gif"));
              catch (IOException e) { }
              add( rightNext );
              add( rightLevel );
              add( rightScore );
              add( rightLines );
              add( margin );
              add( rightPause );
              validate();
         public Dimension getPreferredSize() {
                   return new Dimension( 125, 500 );
         public void paintComponent( Graphics g ) {
              super.paintComponent(g);
              g.setColor( Color.black );
              g.drawString( "blah", 425, 475 ); // Doesn't show up
              g.drawImage( img, 400, 400, null ); // Nor this!
              System.out.println( "This bit gets called fine" );
    }Any help would be greatly appreciated. I've read loads of swing and custom painting tutorials and code samples but am still running into problems.
    Thanks,
    Tristan Perry

    Many thanks for reminding me about the error catching - I've added a System.out.println() call now. Anywhoo, the catch block never gets run; the image get call works fine.
    My problem was/is:
    "My problem is that the custom painting works fine on the mainGUI() class, but not on the rightGUI() class. My code is below:"
    I guess I should have expanded on that. Basically whatever I try to output in the public void paintComponent( Graphics g ) method of the rightGUI class doesn't get output.
    So this doesn't output anything:
    g.drawString( "blah", 425, 475 ); // Doesn't show up
    g.drawImage( img, 400, 400, null ); // Nor this!
    I've checked and experimented with setOpaque(false), however this doesn't seem to be caused by any over-lapping JPanels or anything.
    Let me know if I can expand on this :)
    Many thanks,
    Tristan Perry
    Edited by: TristanPerry on Dec 10, 2009 8:40 AM

  • How to Use XML and PL/SQL ?

    Hi !
    I have to read the XML file and I have to insert the values into Database by using Pl/SQL.
    I tried with DBDOM. But i have not succeded.
    I faced the UTL_FILE invalid_operation exception.
    Can Anyone give some example to insert the values into table like EMP.
    Thanks in Advance
    Suresh
    null

    Chapter 5 of "Building Oracle XML Applications" is full of PL/SQL-based XML examples, among them, several examples that do just this.
    There are several different approaches to attack the problem. One is more declarative using XSLT transformations and our XML SQL Utility, the other is more programmatic and uses our PL/SQL-based XML Parser's DOM implementation to search for bits you want to insert and insert them.
    The Oracle XSQL Servlet distribution also ships with several examples.

  • Why the tree show different while i use XML and XMLList as the data provider

    Code is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:services="services.*" layout="vertical">
    <services:CommonSvc id="ws" NameSpace="ws.wsSysDict" creationComplete="ws.getXmlList()"/>
    <mx:Tree width="100%" height="100%" labelField="@Name" dataProvider="{ws.xml}" fontSize="18" showRoot="false"/>
    </mx:Application>
    Shown below:
    as you see above,the font show Incomplete, if i change the dataprovider as  follows:
    <mx:Tree width="100%" height="100%" labelField="@Name" dataProvider="{ws.xml.obj}" fontSize="18" showRoot="false" />
    it  show complete when i use xmllist as the tree's dataprovider
    why it show like that while i use the xml as the tree's dataprovider,hope anybody's helping

    XML is a single node, XMLList is multiple nodes.  ShowRoot will affect the
    display

  • How to bulk upload users in wireless using XML and CUP?

    Hello I am working with wireless and I know there is a way to bulk upload users.
    Can anyone provide an example to upload users?
    Thx
    Utyrear Ytrew

    Hi Daniel
    I am trying to add addition propertires like TV, Copier etc. to Room Mailbox in Exchange 2010 using following commands:-
    [PS] C:\Windows\system32>$ResourceConfiguration = Get-ResourceConfig
    [PS] C:\Windows\system32>$ResourceConfiguration.ResourcePropertySchema+=("Room/Whiteboard")
    Upper two commands run fine but following command gives error:-
    [PS] C:\Windows\system32>Set-ResourceConfig -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
    The term 'Set-ResourceConfig' is not recognized as the name of a cmdlet, function, script file, or operable program. Ch
    eck the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:19
    + Set-ResourceConfig <<<<  -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
        + CategoryInfo          : ObjectNotFound: (Set-ResourceConfig:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    I also tried with space after set but still getting error:
    [PS] C:\Windows\system32>Set -ResourceConfig -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
    Set-Variable : A parameter cannot be found that matches parameter name 'ResourceConfig'.
    At line:1 char:20
    + Set -ResourceConfig <<<<  -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
        + CategoryInfo          : InvalidArgument: (:) [Set-Variable], ParameterBindingException
        + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SetVariableCommand
    Pl advise the solution at [email protected] . I got this help from
    http://zbutler.wordpress.com/2010/03/17/adding-additional-properties-to-resource-mailboxes-exchange-2010/

  • IWeb template customisations using XML and iWeb itself as the editor...

    For those who are curious to find out more on templates for iWeb...
    It's an ugly site in some perspectives.. but it's the contents that matter
    http://members.chello.nl/haan2
    There are clues on how to build your own template.. from iWeb itself
    And clues what you can do with a navigation bar - some stuff to be resolved, but I'm getting closer.

    Thanks, for the link Paul!

Maybe you are looking for

  • Adobe Bridge CS6 will not open

    Just started trial of Adobe Photoshop CC  ( CS6 and Bridge CS 6) Photoshop  downloaded ok but Bridge CS6 will not open after installation. I have used Adobe Bridge with CS2 before but since removing CS2 and installing CS6 and Adobe Bridge 6 64Bit Ado

  • HT204053 Can I use multiple apple id on an iphone

    I would like to use two different accounts on my iphone5. Is this possible?

  • Reg select query problem

    hi all, hope all r doing fine? anyway i have a query which is mentioned below:- select field1,.....fieldn          from <dbtable1>          into corresponding fields of table itab          where <condition>. select field1,...fieldn           from <db

  • Macbook Pro Will Not Boot Windows Disk

    I have a late 08 (or early 09) Unibody Macbook Pro 2.53Ghz. I start the Bootcamp Assistant and successfully create my Windows partition. When I restart with the Windows 7 disk, I get a blinking cursor for 1 second then it goes to a black screen and n

  • Please help me in understanding ALE

    1. _Please can anybody send me the ALE Real time scenario, please dont say that it is to send the data from one client to another i.e master data ?