Newbie: trying to use XML in a Line Series.

So, I have a similar question to my last one, how to connect some XML from an RPC to a line series. The XML comes across fine. Problem is, why does it not work below?
The XML is simple, and I use dataProvider="{tsRPC.lastResult.TIMESERIES}"....then yField="DataPoint.Value"...but it does not work
I have seen some examples that use the "data.something"...where data must be some internal object. I tried various combinations of everything.
<TIMESERIES>
  <DataPoint Date="38000" Value="34.51"/>
  <DataPoint Date="38001" Value="35.06"/>
</TIMESERIES>
    <mx:HTTPService id="tsRPC"
        url="http://localhost:6574/Test2/TimeSeriesServer"
        resultFormat="e4x">
    </mx:HTTPService>
<mx:Panel title="LineChart and AreaChart Controls Example3"
        height="491" width="729" layout="horizontal" x="350" y="84">
        <mx:LineChart id="linechart" height="100%" width="100%"
            paddingLeft="5" paddingRight="5"
            showDataTips="true" dataProvider="{tsRPC.lastResult.TIMESERIES}">      
        <mx:horizontalAxis>
            <mx:CategoryAxis id="ca" categoryField="DataPoint.Date" title="Date" />
        </mx:horizontalAxis>
            <mx:series>
                <mx:LineSeries yField="DataPoint.Value" form="curve" displayName="Profit" lineStroke="{s1}"/>
            </mx:series>
        </mx:LineChart>
        <mx:Legend dataProvider="{linechart}"/>
    </mx:Panel>

thanks paul.
I am learning now about e4x. For those who don't know...
http://www.actionscript.org/resources/articles/222/1/Intro-to-E4X/Page1.html
For those that don't know E4X stands for ECMAScript for XML and this specification introduces some new functionality that makes working with XML a lot simpler. New to AS3 are the XML, XMLList,QSpace and Namespace E4X classes. E4X not only makes life simpler but provides greater code consistency and familiarity (we can use dot syntax more similiar to ActionScript).

Similar Messages

  • Trying to use XML SAX parser with JDK2 ...

    Hi,
    I'm pretty new to Java.
    I'm trying to write and use java sample using XML SAX parser. I try with XP and XML4J.
    Each time I compile it give me a error message like
    "SAX01.java:23: unreported exception java.lang.Exception; must be caught or declared to be
    thrown
    (new SAX01()).countBooks();
    ^
    Note: SAX01.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error"
    For what I found, it seems that "deprecated" mean usage of old classes or methods. What should I do ?
    Wait for the XML parser to be rewrite ? ....
    Thank's
    Constant

    "SAX01.java:23: unreported exception
    java.lang.Exception; must be caught or declared to be
    thrown
    (new SAX01()).countBooks();
    ^Do this
    public static void main(String[] args) throws Exception {
    or do this
         try
                       first part of expression?(new SAX0()).countBooks();
         catch(Exception ex)     
              System.out.println("problem "+ ex);
    Note: SAX01.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error"deprecation is just a warning if there are no errors elsewhere in your program it should compile fine, but if you want to find out how to change it do this:
    javac YourClassName.java -deprecation
    then look in the docs for an alternative.

  • Newbie trying to use tomcat to run jsp

    I'm just trying to setup Tomcat on my machine, and i've run into a couple of issues.
    (1) if i type in http://localhost:9000/test in IE, it gives me an error saying TCP_ERROR and how the web server is possibly down. however if i try it in Netscape, the page shows up fine. I read in the running.txt file that it had something to do with the LAN settings, but i have no idea what has to be done in there to get it to work??
    (2) the second issue is, if i give someone the url http://<IP>:9000/test that is using another machine, what has to be done for them to see it? i had someone on another machine try it and they got page could not be found.
    TIA

    >
    (1) if i type in http://localhost:9000/test in IE, it
    gives me an error saying TCP_ERROR and how the web
    server is possibly down. Do you mean HTTP 500 error?
    however if i try it in
    Netscape, the page shows up fine. I read in the
    running.txt file that it had something to do with the
    LAN settings, but i have no idea what has to be done
    in there to get it to work??
    No LAN settings are needed. You're doing something else wrong. Is there a TOMCAT_HOME/webapps/test directory set up? Unless you created it, there's no such URL in Tomcat's setup.
    (2) the second issue is, if i give someone the url
    http://<IP>:9000/test that is using another machine,
    what has to be done for them to see it? i had someone
    on another machine try it and they got page could not
    be found.
    TIA If they can see the machine on the network, you don't have to do anything else special. If they can ping it, they can talk to Tomcat.
    If you're a newbie, as your topic says, why are you changing things like the Tomcat port? Leave it as the default until you have Tomcat under your belt. - MOD

  • Complete Newbie trying to use Ultra Key

    Hello,
    I am a total newbie, and am working on learning to use my new green screen & lights :-) So far, I am able to get the vast majority of the green out.
    Here is a shot of the green background:
    Here is my background:
    Here is my end result:
    You'll notice the fuzzy remanants of the green screen after using Ultra Key filter.
    How do I get rid of this? Any help is much appreciated
    Thanks,

    You do need to start of with a relatvely uncreased, evenly lit backdrop.  I can see why you're having problems. 
    With just one eyedrop sample...
    I would try and create a garbage matte to mask out as much unwanted background as possible and then try the key on the remaining content.

  • Newbie trying to use terminal

    Hello fellow Mac user.
    So I'm working on a projekt in logic, and a friend of my has recorded drums and are sending me audiofiles in a .zip file.
    However, when I tried to unzip it a new file is created that is called .cpgz. So i looked around on various forums witch said I should use Terminal. I used the following commands:
    cd ./desktop
    unzip file.zip
    Then I get the following message:
    Archive:  file.zip
       skipping: audio1       need PK compat. v4.6 (can do v2.1)
       skipping: audio2        need PK compat. v4.6 (can do v2.1)
       skipping: audio3    need PK compat. v4.6 (can do v2.1)
       skipping: audio4        need PK compat. v4.6 (can do v2.1)
       skipping: audio5      need PK compat. v4.6 (can do v2.1)
    My-MacBook-Pro:desktop namename$
    I do not understand the problem, and would apritiate some help on what I'm doing wrong,
    Thank you, and sorry if there are some spelling and/or gramatical errors
    //Wille

    @blomman007: you should be able to unpack the archive with the TheUnarchiver: it supports cpgz - archives. It's available from the app store: https://itunes.apple.com/app/the-unarchiver/id425424353?mt=12&ls=1

  • Newbie trying to use JDBC

    Hi,
    I'm trying to run the Employee sample that was provided as example in Oracle. I've instaled Oracle 8.0.5 (client) on a NT, JDK and JRE 1.1.8. It compiles fine, but when I try to run I get:"
    xception in thread "main" java.lang.UnsatisfiedLinkError: get_client_server_nls_ratio
    at oracle.jdbc.oci7.OCIDBAccess.getNlsRatio(OCIDBAccess.java:1577)
    at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:263)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:127)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:170)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:126)
    at Employee.main(Compiled Code)
    Does anyone has any ideia why is it happening? Thanks a lot!

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Gustavo Badauy ([email protected]):
    Hi,
    I'm trying to run the Employee sample that was provided as example in Oracle. I've instaled Oracle 8.0.5 (client) on a NT, JDK and JRE 1.1.8. It compiles fine, but when I try to run I get:"
    See my answer:
    java.lang.UnsatisfiedLinkError:
    get_client_server_nls_ratio topic submitted by Craig Nelsen
    xception in thread "main" java.lang.UnsatisfiedLinkError: get_client_server_nls_ratio
    at oracle.jdbc.oci7.OCIDBAccess.getNlsRatio(OCIDBAccess.java:1577)
    at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:263)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:127)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:170)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:126)
    at Employee.main(Compiled Code)
    Does anyone has any ideia why is it happening? Thanks a lot!<HR></BLOCKQUOTE>
    null

  • Help...Newbie trying to use iDVD

    I have sent over from iPhoto about 800 pictures to iDVD. I made a nice intro screen (the baby mobile), previewed it (it works fine), then select burn. It takes several hours to encode...then NOTHING. It doesn't burn the DVD. After several attempts, I tried encoding it to a disk image...still nothing. I assume this is user error (likely). Or it may be too many picutres, although the total size of the project that is developed (the .mov) is less than a GB. Any help would be greatly appreciated. This is a project for my wife's Valentines Gift...so time is of the essence
    PowerBook   Mac OS X (10.4.4)  

    Hi Mark:
    Welcome to discussions!
    You may want to try a different media ( like DVD-R ) and you should read these links.
    iDVD: Troubleshooting issues with burning discs
    http://docs.info.apple.com/article.html?artnum=302925
    What are some common reasons for problems when creating a DVD?
    http://www.kentidwell.com/idvd4/#faq_20
    Get back to us if you have more problems!
    Sue

  • Newbie trying to use javac

    I installed the Java development kit, it did not work so I uninstalled everything saying java from the Add/Remove programs menu.
    Then I installed the program jdk-6u12-windows-i586-p.exe. I installed it to the C:\jdk1.6.0 directory. (I had previously installed it under Program files)
    I did a file search for javac.exe under the c:\jdk1.6.0 directory, which it could not find. Am I missing installing something?
    I added the environment path string c:\jdk1.6.0\bin to the string.
    What am I missing?

    Google!
    This is one of the most frequently asked questions. There have been numerous posts about it as well as step-by-step instructions on how to set everything up on Sun's website. Please do a little research and find the answer yourself instead making someone waste their time repeating once again what is already on the web.

  • Cannot use XML Forms Builder - HTTP response: 500 - Internal Server Error

    Hi,
    I am trying to use XML Forms Builder, have added the corresponding role to my profile and when I create a new application or do anything I get the following error popup:
    HTTP response: 500 - Internal Server Error.
    What should I do ??
    Thank you for your help.
    Thibault Schalck

    Hi,
    Check the below link for environment checking of XML Form Builder
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9e/9c8f411467ac5fe10000000a1550b0/frameset.htm
    Raghu

  • Catalog manger "search and replace " using xml script

    Hi ,
    we have renamed 6 rpd columns names in rpd & alias is not removed yet .In catalog manager i can search and replace using string .But it takes lot time as they are stored in different reports , which are existing . I am trying to use xml script for replacing them.I got sample script from help file for single column . can anyone help for doing that for multiple strings.I will provide with my inputs .
    my inputs:
    <?xml version="1.0" encoding="utf-8"?>
    <actions>
    <action command="textReplace" oldValue="column 1 " newValue="column one" ignoreCase="true"/>
    <action command="textReplace" oldValue="column 2" newValue="column two" ignoreCase="true"/>
    <action command="textReplace" oldValue="column 3" newValue="column three" ignoreCase="true"/>
    </actions>
    please correct me .

    Given xml content looks okay but just in case check this oldValue="column 1 ", there is additional space at the end.
    I would suggest to extract Analysis report (.csv) using Catalog Manager and find out the list of reports based on those columns.
    This would help you learn with list of reports based on report owners, and then go for the fixing those reports.
    If you go by xml replace you never know the affected reports and you may not confirm until report owners come back to you with issues.
    This might take little bit time but your changes based on proper doc.
    Let me know updates, if helps mark
    Edited by: Srini VEERAVALLI on Feb 19, 2013 3:21 PM

  • Newbie trying to query an XML field in Clob

    I've been unsuccessfully trying to query XML data in a CLOB field today without much success.
    The clob field stores approvals (Edited, Reviewed, Published) for each version.
    I'm trying to get the latest version (in this case 13) and what state (name) it is at (in this case 'Reviewed')
    Below is an example of the table and field with a single XML column...
    desc WIKI.OS_PROPERTYENTRY
    Name                                              Null?       Type
    ENTITY_NAME                                         NOT NULL VARCHAR2(125)
    ENTITY_ID                                         NOT NULL NUMBER(19)
    ENTITY_KEY                                         NOT NULL VARCHAR2(200)
    KEY_TYPE                                               NUMBER(10)
    BOOLEAN_VAL                                               NUMBER(1)
    DOUBLE_VAL                                               FLOAT(126)
    STRING_VAL                                               VARCHAR2(255)
    TEXT_VAL                                               CLOB
    LONG_VAL                                               NUMBER(19)
    INT_VAL                                               NUMBER(10)
    DATE_VAL                                               DATE
    SQL> select xmltype(text_val) from wiki.os_propertyentry where entity_id = 7274716 and entity_key = 'com.comalatech.workflow.approvals';
    XMLTYPE(TEXT_VAL)
    <ApprovalChecks>
      <ApprovalCheck>
        <name>Edited</name>
        <version>7</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-10-31 13:47:25.638 NZDT</date>
         <comment>Initial import from Word document without change</comment>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>1</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Reviewed</name>
        <version>7</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-10-31 13:47:30.532 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>20</weight>
        <id>2</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Signoff</name>
        <version>7</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-10-31 13:47:32.532 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>30</weight>
        <id>3</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Edited</name>
        <version>8</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-11-02 10:54:07.903 NZDT</date>
         <comment>Updated references re Wiki, removed unwanted sections</comment>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>4</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Reviewed</name>
        <version>8</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-11-02 10:54:10.552 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>20</weight>
        <id>5</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Signoff</name>
        <version>8</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-11-02 10:54:13.161 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>30</weight>
        <id>6</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Edited</name>
        <version>9</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2009-11-13 08:53:00.649 NZDT</date>
         <comment>Testing approval information</comment>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>7</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Edited</name>
        <version>9</version>
        <approvers>
          <Approver>
         <approved>false</approved>
         <user>bgra030</user>
         <date>2009-11-13 08:53:13.830 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>8</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Edited</name>
        <version>12</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2009-11-23 11:08:14.666 NZDT</date>
         <comment>Changes due to self auditing, using Study Audit Checklist and DM Study Checklist</comment>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>9</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Reviewed</name>
        <version>12</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2009-11-23 11:08:20.345 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>20</weight>
        <id>10</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Signoff</name>
        <version>12</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2009-11-23 11:08:23.997 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>30</weight>
        <id>11</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Edited</name>
        <version>13</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2011-10-31 10:42:37.703 NZDT</date>
         <comment>No change, just change of name of a linked page</comment>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>12</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Reviewed</name>
        <version>13</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2011-10-31 10:42:40.596 NZDT</date>
         <comm
    1 row selected.My query is way off,... I can't even get it to run, let alone getting the record I want without some hard coding...
    Can anyone help?
    Thanks in advance.
    select y.y_name, y.y_version, z.z_approved, z.z_user, z.z_date, z.z_comment
    from WIKI.os_propertyentry t,
         XMLTABLE('$p/ApprovalChecks/ApprovalCheck'
                  PASSING t.text_val as "p"
                  COLUMNS y_name       VARCHAR2(30) PATH 'ApprovalCheck/name',
                          y_version    NUMBER       PATH 'ApprovalCheck/version',
                          Approver     XMLTYPE      PATH 'ApprovalCheck/approvers/Approver/*') y,
         XMLTABLE('$a/Approver'
                  PASSING y.Approver as "a"
                  COLUMNS z_approved  VARCHAR2(8)   PATH 'Approver/approved',
                          z_user      VARCHAR2(30)  PATH 'Approver/user',
                          z_date      DATE          PATH 'Approver/date',
                          z_comment   VARCHAR2(100) PATH 'Approver/comment') z
    where entity_id = 7274716 and entity_key = 'com.comalatech.workflow.approvals'
    and   t.name = 'Reviewed'
    and   t.version = 13;
               PASSING t.text_val as "p"
    ERROR at line 4:
    ORA-00932: inconsistent datatypes: expected - got CLOB

    Further to the above, the query returns a single record okay,...
    SQL > l  
      1  with all_versions as (
      2    select c.title, y.y_name, y.y_version, z.z_approved, z.z_user, z.z_date z_date, z.z_comment,
      3           row_number() over( order by to_timestamp_tz(z_date, 'YYYY-MM-DD HH24:MI:SS.FF3 TZD') desc ) as rn
      4    from wiki.os_propertyentry t, wiki.content c,
      5         XMLTABLE('$p/ApprovalChecks/ApprovalCheck'
      6               PASSING xmltype(t.text_val) as "p"
      7               COLUMNS y_name       VARCHAR2(30) PATH 'name',
      8                    y_version       NUMBER       PATH 'version',
      9                    Approver       XMLTYPE      PATH 'approvers/Approver/*') y,
    10         XMLTABLE('$a'
    11               PASSING y.Approver as "a"
    12               COLUMNS z_approved  VARCHAR2(8)   PATH '/approved',
    13                    z_user      VARCHAR2(30)  PATH '/user',
    14                    z_date      VARCHAR2(30)  PATH '/date',
    15                    z_comment      VARCHAR2(100) PATH '/comment') z
    16    where c.contentid = t.entity_id
    17    and   c.spaceid = (select spaceid from wiki.spaces where spacename = 'Quality')
    18    and   entity_id = 7274716
    19    and entity_key = 'com.comalatech.workflow.approvals'
    20    )
    21  select title, y_name, y_version
    22  from all_versions
    23* where rn = 1
    SQL> /
    TITLE                           Y_NAME                          Y_VERSION
    Quality Audits (NIHI-5001)     Signoff                     17
    1 row selected.... but I want to now query on all records, not just one.
    When I comment out the clause (and entity_id = xxxxx) I now get an error. I should have got ~300 records,.... what do I need to do to make this work?
    SQL > 18
    18*   and   entity_id = 7274716
    SQL> > c /and/-- and
    18*   -- and     entity_id = 7274716
    SQL > l
      1  with all_versions as (
      2    select t.entity_id, c.title, y.y_name, y.y_version, z.z_approved, z.z_user, z.z_date z_date, z.z_comment,
      3           row_number() over( order by to_timestamp_tz(z_date, 'YYYY-MM-DD HH24:MI:SS.FF3 TZD') desc ) as rn
      4    from wiki.os_propertyentry t, wiki.content c,
      5         XMLTABLE('$p/ApprovalChecks/ApprovalCheck'
      6               PASSING xmltype(t.text_val) as "p"
      7               COLUMNS y_name       VARCHAR2(30) PATH 'name',
      8                    y_version       NUMBER       PATH 'version',
      9                    Approver       XMLTYPE      PATH 'approvers/Approver/*') y,
    10         XMLTABLE('$a'
    11               PASSING y.Approver as "a"
    12               COLUMNS z_approved  VARCHAR2(8)   PATH '/approved',
    13                    z_user      VARCHAR2(30)  PATH '/user',
    14                    z_date      VARCHAR2(30)  PATH '/date',
    15                    z_comment      VARCHAR2(100) PATH '/comment') z
    16    where c.contentid = t.entity_id
    17    and   c.spaceid = (select spaceid from wiki.spaces where spacename = 'Quality')
    18    -- and     entity_id = 7274716
    19    and entity_key = 'com.comalatech.workflow.approvals'
    20    )
    21  select entity_id, title, y_name, y_version
    22  from all_versions
    23* where rn = 1
    wikiprod: OPS$IT_DBA > /
              PASSING xmltype(t.text_val) as "p"
    ERROR at line 6:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00241: entity reference is not well formed
    Error at line 8
    ORA-06512: at "SYS.XMLTYPE", line 272
    ORA-06512: at line 1

  • Error while trying to update the XML template using XML Publisher Administrator

    Hello Folks,
    We are on R12.1.3
    I changed a condition in a report and trying to upload the new XML template using XML Publisher Administrator.
    when i click the Apply button, it is throwing an error 'Bad Request'
    Navigation : XML Publisher Administrator > Data Definitions > query the report
    Click on the name of the report > click 'Update file' besides Data Template > Choose file > Click Apply
    I am getting the below error
    Bad Request
    Your browser sent a request that this server could not understand.
    Now, i could not upload a new XML template.
    Am I doing anything wrong.
    regards,
    Kris

    user10163762 wrote:
    Thank you Eugen and Hussein.
    The problem is not with the template.
    It seems to be a problem in that particular instance.
    Uploaded it in a different instance.
    However once i run the program, i cannot view the output as the browser window flashes and disappears.
    My colleague says , it is to do with the trusted site to download something from the browser.
    Can you please guide me on how to fix this ?
    http://bit.ly/1k8e2vi
    Thanks,
    Hussein

  • [JS][CS3] Trying to use XSL to transform a XML document

    I´m trying to do a script to format my XML in a particular way. The XSL document is ok because I´ve used this document to format an XML document in Indesign CS3 and works fine.However, when I´m trying to use this document in my scripting method I can´t obtain my XML formatted. I´ve tried it many times but I really don´t know where is the problem.
    I´ve changed the XMLExportPreferences (allowTransform,TransformFileName)in my scripting method before exporting my XML in order to obtain a formatted XML.
    Anyone have any idea? What are the steps to make this work?
    Thank u,
    Peter

    I'm having a similar problem but with importing XML. When I run this script I get a dialogue saying that "Stylesheet 'Macintosh HD:Users:myFolder:transform.xsl, specified in the XSLT processing instruction can not be found." But this is the location of the stylesheet??
    Here's the entire script (a combination of Adobe samples):
    main();
    function main(){
    mySetup();
    mySnippet();
    function mySetup(){
    var myDocument = app.documents.add();
    var myRootXMLElement = myDocument.xmlElements.item(0);
    var myXMLTag = myDocument.xmlTags.add("body");
    var myXMLElement = myDocument.xmlElements.item(0).xmlElements.add(myXMLTag);
    myDocument.select(myXMLElement);
    //Sets XML import options.
    var myXMLImportPreferences = myDocument.xmlImportPreferences;
    myXMLImportPreferences.createLinkToXML = false;
    myXMLImportPreferences.ignoreUnmatchedIncoming = false;
    myXMLImportPreferences.ignoreWhitespace = true;
    myXMLImportPreferences.importCALSTables = true;
    myXMLImportPreferences.importStyle = XMLImportStyles.mergeImport;
    myXMLImportPreferences.importTextIntoTables = false;
    myXMLImportPreferences.importToSelected = true;
    myXMLImportPreferences.removeUnmatchedExisting = false;
    myXMLImportPreferences.repeatTextElements = true;
    myXMLImportPreferences.allowTransform = true;
    myXMLImportPreferences.transformFilename = File("/Users/myFolder/transform.xsl");
    myDocument.importXML(File("/Users/myFolder/document.xml"))
    function mySnippet(){
    var myDocument = app.documents.item(0);
    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
    myDocument.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;
    myDocument.xmlElements.item(0).xmlElements.item(0).placeIntoFrame(myDocumen pages.item(0), [35, 35, 758, 576]);

  • I have a Yamaha FC7 foot pedal and am trying to use it as a whammy bar type controller.  Can I do this with anything in Mainstage?  I also have Line 6 Pod farm 2 - anything in there?

    I have a Yamaha FC7 foot pedal and am trying to use it as a whammy bar type controller.  Can I do this with anything in Mainstage?  I also have Line 6 Pod farm 2 - anything in there?
    The foot pedal also seems to have an on/off switch that activates when it's depressed all the way.  How do I set that up in Mainstage?  Can I cycle between and effect and a volume pedal, for example?
    Mainstage version is 2.1.3
    Thanks for all help given.

    Hi
    Bruno Filipe wrote:
    Thanks for the help but please don´t duplicate the answers. I´ve explain that to Chamie7
    Noted, except that the OP clearly did not feel that your answer was helpful
    Chamie7 wrote:
    Sorry, no help there.  Any guitar players know what I mean?
    and
    Bruno Filipe wrote:
    You can use a keyboard or other controller (with jack like sustain) and then assign controller (normally 64) to what you want Mainstage to do.
    This is unlikely to work if you plug an "Expression Pedal" such as an FC7 into a "Sustain Pedal" socket using MIDI CC64, which usually operates as a switch rather than a continuously variable value.
    If I understood the OP's request correctly, the OP wanted to use the FC7 as a "Whammy Pedal", which does a PitchBend 'dive' effect (amongst other things)
    http://en.wikipedia.org/wiki/DigiTech_Whammy
    CCT

  • Trying to store XML documents in Oracle XML repository using Java

    Hi,
    I am trying to store XML documents in Oracle XML Repository using a Java program. i just need a functionality to be able to store XML files and retrieve them.
    Can anybody PLEASE provide me some sample code.
    Thanks in Advance
    Sasha

    Did you ever get any samples on doing this and if so could you pass it on to me.
    Thanks

Maybe you are looking for