How to build VI using XML commands

I would like to build vi's using XML commands. Can someone point towards tutorials, other info.
Thanks,
Kevin

You might wish to check out object oriented programming or plugins.
In your case, OOP should let you design several types of tests and choose between them at run-time. The basic idea in this case is that each class (type) will have some configurable options (which will be coded beforehand) and the users will select the type of the class and then its options. If you want an example, think of the properties page you can get by right clicking a control. Depending on the control type you get different tab pages and options.
Full native OOP is available in 8.2 or later, but there are some implementation for earlier versions as well (you can try searching for GOOP).
Plugins allow you to define a basic interface for something and then use different versions which use this interface at run-time. Again, a search should yield some examples.
Try to take over the world!

Similar Messages

  • How to do subtemplate Using XML Publisher Template Builder for Word 5.6.2

    Is it possible to do subtemplate (similar to subreport in crystal report) using XML Publisher Template Builder for Word 5.6.2?. If yes, can anyone explain how to call or import subtemplate from main template?
    Thank you
    V.Piraba

    Hi V. Piraba,
    Here is how it works for me in Microsoft Word 2003. I'm not sure if it will work in Word 5.6.2.
    Creating Subtemplates
    1) Make sure you fill in the “Territory” field when creating Subtemplates. Otherwise there will be no way to import the Subtemplate into another Template. The Import command requires the Territory field to call it from other Templates. You will get a big Java error if you try to import a Subtemplate that does not have the Terriroty field populated.
    Importing Subtemplates
    1) Place the following syntax at the beginning of your XML Publisher template to import a subtemplate (in Oracle Applications)
    <?import:xdo://XDO.[Template Code Name].English.US?>
    Example: <?import:xdo://XDO.WC_SUBTEMPLATE_LOGOS.English.US?>
    2) Use the following commands to importing Subtemplates from local/network drives (outside of Oracle Applications):
    <?import:file:C:/Temp/WC Subtemplate - Logos.rtf?>
    <?import:file:L://Templates/WC Subtemplate - Logos.rtf?>
    <?import: file:///C:WorkChemical.xsl?>
    You can email me at [email protected] if you have further questions.
    Hope this helps!
    Dan

  • How can (parse) i use XML file with missing EndTag

    hi,
    i have an application which writes an "XML file".
    another application should read that XML file, build an DOM and
    access the nodes with xpath.
    my problem. if the first application is not finished there are tags
    missing. e.g. </xml>. but the seconds application cannot wait until the first application finishes it task.
    if i now read the XML file the parser cannot load it because the end tags are missing.
    my question:
    how can i deactivate the check or how can i read the XML file and access it via XPath (my application is using at the moment XPath to access the nodes and i dont want to change that)
    as parser i am using XERCES
    alex

    As far as I know, you can't do this - xml must be well formed (this is sort of a bedrock of xml). There may be some work around's, but I'm not aware of any - and they would most likely be hacks.

  • How to build portlets using struts

    Hi,
    Iam new to BEA weblogic.can any one help/guide developing portlets using struts on BEA weblogic 8.1 .
    I have a problem while configuring struts module URI.how to work exactly using struts on Weblogic for a portlets.
    Can any provide me the support for developing the sample portlet using sturts.
    thankx,
    RAGHU

    No i didnt tried on Page flows.First i am working on struts portlets.I will find out on page flows and reply u .If u had worked on struts page flows plz help me how i build portlets on struts .
    Thankx,
    Raghu.

  • Build GUI using XML

    Hi,
    I am interested in learning more about building a UI using XML...any suggestions? I have looked at SwiXml ....just looking for more. If you have used one/or more of them before, let me know what your opinions are to.
    Thanks!

    I know there are several of these things out there. The one I've tried was Thinlets. It looks good and is very lightweight. It's easy to get something running quickly, but you'll eventually run into limitations since the components are by far not as rich and flexible as swing. I still think it's great for what it does.
    If you're going to do a google search, I think one of the key words to use is XUL.

  • How to load images using xml in flash

    Hi
    im working on a quiz project where i plan to load images using xml in to flash, can any one help with the script with AS2 or 3

    You'll find a tutorial for what you are after here:
    http://www.gotoandlearn.com/play?id=22

  • How to create backup using sql commands

    can i create a backup using sql/sqlplus commands

    I would actually advice you to use RMAN, instead of backup using sql commands, but if you want or have a requirment to do so..
    First off all you should ensire that your databasse is in archilog mode.. (ALL PRODUCTION DATABASES should be in archivelog mode)
    you can do it using sql*plus
    archive log list
    Then if you would like to make a cold backup (the only one posible in noarchivelog mode)
    ypu have to
    shutdown immediate
    copy all database files (you don't need to copy redo logs) to another device
    startup - to startup database
    Actually I will suggest that your read User manager Recovery guide from oracle documentation
    tahiti.oracle.com
    Best Regards
    Krystian Zieja / mob

  • How can I to use XML Catalog for OSM 7.0.3?

    I have a xquery that execute a business rules in view.When I put it inside Data Instance Behavior, tab Data, inline, and
    XQUERY the deploy in OSM doesn't work because it is a large xquery, more than 4000 characters.
    So, I saw in OSM 7.0.3 doc (Developer’s Guide,Release 7.0.3 - Using XML Catalogs in OSM) that there is a possibility
    of import resources files (xquery file in my case) in OSM Data Instance Behavior through XML Catalog.
    I executed the follow steps
    1) Add entry
    *<rewriteURI uriStartString="http://br.com.ctbc" rewritePrefix="osmmodel:///XQuery/1.0.0/resources"/>*
    to my catalog.xml, which is in path <My_Cartridge>/xmlCatalogs/core/catalog.xml
    2) Set XML_CATALOG_SUPPORT variable in Design Studio with "enable"
    3)Add *<oms-parameter>*
    *<oms-parameter-name>oracle.communications.ordermanagement.util.net.CatalogUriResolver.DefaultXmlCatalogsUris</oms-parameter-name>*
    *<oms-parameter-value>file://<My_domin>/XQuery/catalog.xqy</oms-parameter-value>*
    *</oms-parameter>* to oms-config.xml, after unpack osm.ear
    4) Created a Data Instance Behavior, inline and type XQuery whith source
    declare namespace ctbcoms = "http://br.com.ctbc";
    let $result := ctbcoms:retorna()
    *return <DadosOrdem><Fim>{$result}</Fim></DadosOrdem>*
    The XQuery that has the method retorna() has name: catalog.xqy. Code:
    module namespace ctbcoms = "http://br.com.ctbc.xquery";
    declare function ctbcoms:retorna()
    let $retorno := 'teste'
    return $retorno
    So, when I deployed my cartridge I get the mensage:
    Error on line 2
    XPST0017: Cannot find a matching 0-argument function named {http://br.com.ctbc}retorna()
    <11-Jan-2012 6:40:47,906 VET PM> <WARN> <impl.e> <ExecuteThread: '14' for queue:
    'oms.xml'> <failed to compile xquery expression for xqueryInstanceType: xquery[
    declare namespace ctbcoms = "http://br.com.ctbc";
    let $result := ctbcoms:retorna()
    return <DadosOrdem><Fim>{$result}</Fim></DadosOrdem>
    ]>
    ; Line#: 2; Column#: -1
    net.sf.saxon.trans.XPathException: Cannot find a matching 0-argument function named {http://br.com.ctbc}retorna()
    I am using Design Studio 3.1.3 with OSM 7.0.3.
    Could have I a example these procedure? thank you !!!

    Two observations:
    1) Your inline xquery expression need to use the "import" xquery module expression. see point a) in my example below.
    2) the change in oms-config.xml is to support the case for overriding the cartridge xml catalog ( for example developer, qa tester, etc) so this step is not mandatory to get your cartridge working.
    =============================
    For example, In OSM Order To Activate Cartridges 703, the OrderLifeCycle, Amending State/Submit Amendment Transition has the following inline xquery which delegates xquery implementation details to a PoinOfNoReturn.xqy xquery module
    a) Inline Expression in Design Studio Entity
    CommunicationsSalesOrderFulfillmentPIP\Orders\POLICY\CommunicationsSalesOrderLifeCyclePolicy
    import module namespace pipponrfn = "http://xmlns.oracle.com/communications/ordermanagement/pip/ponr" at "http://xmlns.oracle.com/communications/ordermanagement/pip/ponr/PointOfNoReturn.xqy";
    let $taskData := fn:root(.)/GetOrder.Response
    let $checkPointOfNoReturn := pipponrfn:checkPointOfNoReturn($taskData)
    if ($checkPointOfNoReturn ..........
    b) xquery module
    module namespace pipponrfn = "http://xmlns.oracle.com/communications/ordermanagement/pip/ponr";
    declare function pipponrfn:checkPointOfNoReturn($taskData as element()) as xs:boolean { ....};
    c) cartridge xml catalog
    CommunicationsSalesOrderFulfillmentPIP\xmlCatalogs\core\catalog.xml
    <rewriteURI uriStartString="http://xmlns.oracle.com/communications/ordermanagement/pip/ponr" rewritePrefix="osmmodel:///CommunicationsSalesOrderFulfillmentPIP/1.0.0/resources"/>
    =======================
    Optinally if you have OSM 703.3 path you can use <oms-parameter><oms-parameter-name> in oms-config.xml if you need to OVERRIDE the cartridge xml catalog.
    d) osm-config.xml
    <oms-parameter>
    <oms-parameter-name>oracle.communications.ordermanagement.util.net.CatalogUriResolver.DefaultXmlCatalogsUris</oms-parameter-name>
    <oms-parameter-value>file:///<My_test_folder>/XQuery/catalog.xqy</oms-parameter-value>
    </oms-parameter>
    e) your developer xml catalog overrideing the cartridge catalog:
    your_full_path_to_xml_catalog.xml
    <rewriteURI uriStartString="http://xmlns.oracle.com/communications/ordermanagement/pip/ponr" rewritePrefix="file:///d:/your_full_path_to_test_folder"/>

  • How to extract data using xml datatype

    Hi,
    I tried the following example using xml data type , but not getting the required output.
    could you please correct the query so as to get the required one
    CREATE TABLE TEST.EMP_DETAIL
      EMPNO       NUMBER,
      ENAME       VARCHAR2(32 BYTE),
      EMPDETAILS  SYS.XMLTYPE
    Insert into EMP_DETAIL
       (EMPNO, ENAME, EMPDETAILS)
    Values
       (7, 'Martin', XMLTYPE('<Dept>
      <Emp Empid="1">
        <EmpName>Kevin</EmpName>
        <Empno>50</Empno>
        <DOJ>20092008</DOJ>
        <Grade>E3</Grade>
        <Sal>3000</Sal>
      </Emp>
      <Emp Empid="2">
        <EmpName>Coster</EmpName>
        <Empno>60</Empno>
        <DOJ>01092008</DOJ>
        <Grade>E1</Grade>
        <Sal>1000</Sal>
      </Emp>
      <Emp Empid="3">
        <EmpName>Samuel</EmpName>
        <Empno>70</Empno>
        <DOJ>10052008</DOJ>
        <Grade>E2</Grade>
        <Sal>2530</Sal>
      </Emp>
      <Emp Empid="4">
        <EmpName>Dev</EmpName>
        <Empno>80</Empno>
        <DOJ>10032007</DOJ>
        <Grade>E2</Grade>
        <Sal>1200</Sal>
      </Emp>
    </Dept>
    '));I need to get the record for Empid="2"
    So tried the following query with no expected o/p
    SELECT a.empno,a.ename,a.empdetails.extract('//Dept/Emp/EmpName/text()').getStringVal() AS "EmpNAME",
         a.empdetails.extract('//Dept/Emp/Empno/text()').getStringVal() AS "EMPNumber",
          a.empdetails.extract('//Dept/Emp/DOJ/text()').getStringVal() AS "DOJ",
          a.empdetails.extract('//Dept/Emp/Grade/text()').getStringVal() AS "Grade",
          a.empdetails.extract('//Dept/Emp/Sal/text()').getStringVal() AS "Salary",
          a.empdetails.extract('//Dept/Emp[@Empid="2"]').getStringVal() AS "ID",
          a.empdetails.extract('//Dept/Emp[EmpName="Coster"]').getStringVal() AS "CHK"
         FROM emp_detail a
         where empno=7 
               AND a.empdetails.existsNode('//Dept/Emp[@Empid="2"]') =1thanks..

    I am not very good at this... But Shouldn't your XML be more like this
    SQL> Insert into EMP_DETAIL
      2     (EMPNO, ENAME, EMPDETAILS)
      3   Values
      4     (7, 'Martin', XMLTYPE('<Dept>
      5    <Emp>
      6      <Empid>1</Empid>
      7      <EmpName>Kevin</EmpName>
      8      <Empno>50</Empno>
      9      <DOJ>20092008</DOJ>
    10      <Grade>E3</Grade>
    11      <Sal>3000</Sal>
    12    </Emp>
    13    <Emp>
    14      <Empid>2</Empid>
    15      <EmpName>Coster</EmpName>
    16      <Empno>60</Empno>
    17      <DOJ>01092008</DOJ>
    18      <Grade>E1</Grade>
    19      <Sal>1000</Sal>
    20    </Emp>
    21    <Emp>
    22      <Empid>3</Empid>
    23      <EmpName>Samuel</EmpName>
    24      <Empno>70</Empno>
    25      <DOJ>10052008</DOJ>
    26      <Grade>E2</Grade>
    27      <Sal>2530</Sal>
    28    </Emp>
    29    <Emp>
    30      <Empid>4</Empid>
    31      <EmpName>Dev</EmpName>
    32      <Empno>80</Empno>
    33      <DOJ>10032007</DOJ>
    34      <Grade>E2</Grade>
    35      <Sal>1200</Sal>
    36    </Emp>
    37  </Dept>
    38  '));
    1 row created.so that you can
    SQL> SET LINESIZE 250
    SQL> COLUMN EMPNAME FORMAT A20
    SQL> COLUMN EMPNUMBER FORMAT A2
    SQL> COLUMN DOJ FORMAT A10
    SQL> COLUMN GRADE FORMAT A10
    SQL> COLUMN SALARY FORMAT A10
    SQL> SELECT a.empno,a.ename,a.empdetails.extract('//Dept/Emp[Empid="2"]/EmpName/text()').getStringVal() AS "EmpNAME",
      2        a.empdetails.extract('//Dept/Emp[Empid="2"]/Empno/text()').getStringVal() AS "EMPNumber",
      3        a.empdetails.extract('//Dept/Emp[Empid="2"]/DOJ/text()').getStringVal() AS "DOJ",
      4        a.empdetails.extract('//Dept/Emp[Empid="2"]/Grade/text()').getStringVal() AS "Grade",
      5        a.empdetails.extract('//Dept/Emp[Empid="2"]/Sal/text()').getStringVal() AS "Salary"
      6   FROM emp_detail a
      7  /
         EMPNO ENAME                            EmpNAME              EM DOJ        Grade      Salary
             7 Martin                           Coster               60 01092008   E1         1000Edited by: Karthick_Arp on Apr 30, 2009 2:21 AM

  • How to build reports using discoverer (oracle 10g on winxp professional)

    hello:
    I have an sql query which queries multiple tables.
    I have to build the report using oracle discoverer plus...can anybody guide me what is the path to accomplish this.
    the sql is following
    SELECT COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME, COUNT(CARRIER.NAME) SUBSCRIBERS FROM COUNTRY, CARRIER, USER_DEVICE, USER_ WHERE
    USER_DEVICE.APPLICATION_ID = 1 AND
    USER_DEVICE.CARRIER_ID = CARRIER.ID AND
    CARRIER.COUNTRY_ID = COUNTRY.ID AND
    USER_DEVICE.USER_ID = USER_.ID
    GROUP BY
    COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME ORDER BY COUNTRY.NAME, CARRIER.NAME
    when i try to validate this query in oracle business intelligence administrator by building a complex folder the validator gives error and cannot validate...
    please tell me how can i accomplish to run the above query using oracel discoverer

    yes it worked like that...thanks...
    now i want to add user defined parameters to it...
    as the folder is a complex folder all the colums i get(in discoverer plus) are those which i am mentioning in my query...but i have to get the parameter based on column from another table User_ and i can't show that column in my query as the query won't work if i include it...
    I hope I was able to make u understand my problem...
    please tell me how can i build paramters from the USER_table
    Waqas

  • User exits : How to build and use through our form application ?!

    Hi ,
    Im trying to build a user exit based on a C++ program , to be used within our application.
    I installed from the Oracle 8 Client CD the Oracle Pro*C/C++ ver 8.0.5 , i have Developer 2000 rel 6.0 patch 7 installed also .
    Can anyone please provide me with the steps to build a user exit from A-Z , i read many Documents regarding that but all seems to me complicated , since also im not a C programmer , what i did for the time bieng i searched for file that ends *.pc on my hard disk and i found some of these files , i opend the Pro* C/C++ and it generates for me a *.C file , i reached this stage , then what should i do then to complete the task , for me i went directly to Forms and added a Button that calls the USER_EXIT built-in function , but simply it gave me an error message : User exit doesn't exist .
    So Please if you could list for me the steps one by one i would be so graetful to you .
    Thanx all in advance for all your efforts .
    Islam

    Why not make a stored procedure or PL/SQL-procedure? What you have to do is, to build a new version of runform, where you including your user-exits.
    But if you insist: Use the help system. They have a description of how to do it on windows. It's more or less the same on unix.

  • How to call and use xml data on UI LineChart using HTTPservice

    i want to make the LineChart component in the UI to get xml Array data from an URL (as example: http://localhost/ECG/Array) and view the data as a waveform. can anybody help me with this ??

    If you are saying that your XML is stored in a table, I'm not sure there is any method, using DAL or rule, that would know how to load XML from there. I can be wrong, but I think it has to load the XML from disk only - either as the extract file or as an external file referenced from the extract - using a Rule or DAL to go after the external file.
    Perhaps you could clarify the situation a little more and someone might offer a suggestion.

  • How to select tray using PJL command language

    Hello, I am printing directly on the TCP port 9100 of my HP Laserjet printer with a script and would like to know what is the PJL command in order to set the tray on this specific printer. For example when I would like to print using the tray number I tried the following command: @PJL SET MEDIASOURCE=TRAY2 but it does not work, my printer still uses tray 1... Any ideas? RegardsJohn

    Hi All,
    I have created a cube using Translations(Spanish and English)! Now the cube is ready for browsing, I browsed the cube and see the Spanish measures by changing the Language to Spanish in the toolbar. Now I am integrating this cube with C#.net, the cube browsed
    by English language successfully, OK.
    Now My problem is I want to browse the cube in Spanish also, How can we change the Language(in tool bar) dynamically from Application to SSAS server? I have one flag came for language, when the user select the language in my application. Is there any way to
    change the Language dynamically in SSAS server? 
    Please send suggestions/Answers to here or [email protected] 
    Thanks in advance!
    NAGA RAJ

  • How to open files using cmd command?

    Hello... First:
    try {
    Process p = Runtime.getRuntime().exec("cmd.exe ?????");
    catch(Exception e){ }well... I'm trying to open files using a cmd command. It's working only oppening files on my own pc, but i need to know if i can open files using a localweb's pc, with the follow address, for example:
    "\\172.21.0.4\firstdir\seconddir\thirddir..."
    Thanks :D

    Gamboua wrote:
    normaly, i type \\172.21.0.4\dir\dir\dir... directly directly in my cmd.This only works because you are already running cmd.exe
    Try getting it to work with cmd.exe at the start of the line.

  • How create a sub_menu using the command line.

    Hi,
    I want to create a new menu and forms in runtime mode .
    please gives me the commands details.

    Hi,
    I think I am having a similar question here. I am using Oracle 10g on Windows xp.
    I logged in to Oracle from command prompt. I used command “create directory myFunDir as 'd:/funDir';”. Oracle returns: “Directory created”. But I couldn’t find the directory “myFunDir”! Where is it?
    Thanks.
    Newbie.

Maybe you are looking for

  • I have a new iPad and would like to have all my contacts in my address book hre how do I go about this

    Could I please get help having my email contacts on my iPad.   If they are already there how do I get them to be able to write to them.   I have them on the computer so do they automatically appear  on qmy iPad.  Thanks for any help.

  • CX_SY_CONVERSION_NO_DATE_TIME XSLT Exception

    Hi, we're running ECC6.0 and created a Web Service(WS) out of a SAP-Function Module(FM). When calling this WS from Excel-VBA (XP; WS-Toolkit) the following error pops up: CX_SY_CONVERSION_NO_DATE_TIME: XSLT Exception An Error occured while deserializ

  • Help needed, cant connect to the pc suite

    i have a problem in connecting my phone to the pc suite. it says no connection types, n it tells me to reinstall the pc suite, however, ive done it a several times n still cant solve the prob. does anyone know the solution to my problem here? id be v

  • Character display problem latin characters

    For some reason old fonts show latin characters when i type "o/" and "l/". The problem seems confined to old fonts (at least Geneva; Monaco; New York), so I guess it is a bug?

  • ReportViewer Control Layout for Duplex Printing

    I have been looking around for a solution to this.  What I need to do is print out postcards in Landscape mode in a 2x2 format.  With careful sizing of the tablix control and the Body, I have accomplished this such that it will print this way. The pr