Reg: Repeat the node target in XSL (repeated Source No node)

Hi all

We have a BPEL implementation in 11g where we need to repeat the target node based on the value of the field from the source node that are not repetitive. In general, we use the for each function to create as many copies of the target based on the repetition of source node node, but in this case does not repeat the source node.

The snapshot of the same thing is as follows,

Source:

< source >

< parent >

< Child1 > A < / Child1 >

< Child2 > 1 < / Child2 >

< / parent >

< / source >

Target:

< target >

payload of <>

< RepeatNode > is < / RepeatNode >

< RepeatNode > 1 < / RepeatNode >

< / payload >

< / target >

In the case above, if the child1 and child2 values respectively 'A' & '1', then we have need to fill the 'RepeatNode' by duplication/repeating node. If the values of the child nodes source does not meet the condition we must not. Please suggest how this can be solutioned.

Cloning of the for each solved this problem.

Tags: Fusion Middleware

Similar Questions

  • The administration server is not reachable from the node target via HTTP (S)

    Hi all

    I tried add Host in Oracle 12 c. I previously added Linux host OS, but I couldn't add OS AIX in 12 c. I did the auto update for Agent of AIX. You can find my OS and DB info on below.

    Server Oracle 12 c - OS is SunOS 5.10
    Client host Oracle 11.2.0.1.0 - OS is AIX

    During the installation, I got this error message "the administration server is not reachable from the node target via HTTP (S). In topology, we do not use any firewall... As I said I've added Linux and SunOS but AIX does not...

    How can I solve that?

    B.R

    You already mentioned the metalink note? Otherwise please see note

    EM 12: Agent deployment fails with error "the administration server can be reached from the node target via HTTP (S)" [1393450.1 ID]

    Kind regards
    http://www.oracleracexpert.com
    Remove the grid or the repository targets control agents
    http://www.oracleracexpert.com/2010/06/remove-grid-control-agents-or-targets.html
    Tablespace transportable export and import on the same Endian platforms
    http://www.oracleracexpert.com/2009/08/transportable-tablespace-export-import.html

  • change the node id error/bug

    I have a gateway WSN-9791 and 6 knots

    4 x 3226

    1 x 3202

    1 x 3212

    I sat the system at the office to test, I got the 3212 as ID1, and I gave all the nodes a name. Now, I moved the elements of the site where they work, but until the 3212 is no longer necessary. So now, I connect from a new computer to the gateway to implement my system of 5 knots. but now I have chaned the id of node of nr 5 to nr 1, but whenever I add, it appears like the 3226; added it comes with my old name of node and the old type :-(if I change it to a node id I never used then his work. does anyone know hoe to fix it?

    I tried to restart the bridge, droped the nodeds, added again... nothing helps.

    Hi Sivsko,

    Can manually add you the correct node type in the project?

    1 remove the tagged 3226 as 3212

    2. click right bridge in the Project Explorer and select new > targets and devices

    3. Select new target or device in the window add targets and devices

    4. Select the WSN node > NI WSN-3226

    5. give him a node ID 1

    You can also see if the creation of a new project solves the problem.

    1. close LabVIEW completely (to remove information in RAM)

    2 reopen LabVIEW

    3. open a new project.

    4. right click the project in the Project Explorer, and then select New > targets and devices

    5. Select WSN gateway > "your door."

    See you soon,.

    Brian has

    R & D Product Support Engineer | WSN/network DAQ/University

    National Instruments

  • Threading and reuse of the node to call using reference of buffers (of the required adhesive tape)

    I tried to get the following information in the public domain for years and now that I have the answers, I'll share with those who might be interested.

    Caveat!

    Wrap your head in tape before reading just for the sake of security.

    My two questions were;

    (1) may LV re - use tampons of VI calling when you use VI serve call by reference?

    (2) is used when the use of call by reference UI thread?

    1 when you call a VI using the call through the reference node, the data in the pane of the copied or is node connector - this online as it would be with a Subvi properly implemented?

    Short answer: it's somewhere between the two.

    Long answer:

    The compiler does not know what will be called VI, but there a hint:

    the reference connected to the node of the call by reference. He uses to get the 'Prototype' for the call. Therefore, for optimal performance, use a prototype that has the same 'characteristics placeness' as it is called VI. That said, users don't know what are the "characteristics of the placeness.

    Before getting into the details, I will say that the overhead of these copies should not matter much unless it's a large data structure (a table with lots of items.) or a cluster/class with many fields or containing large networks etc..

    Example 1:

    If the prototype does not change the data, then the compiler assumes that the crux of the call by reference will not alter the data. However, at runtime, a check is made to see if the real called VI will modify the data. If Yes, then a copy is made and past so that the original data can be modified.

    Example 2:

    If the prototype contains an entry that is wired through an exit so that both input and output terminals can use the same buffer memory, but running an audit determines that the real called entry and exit VI do not share a buffer, then a copy will be made from output of the actual call to the original screws (combined input and output) buffer.

    I should also mention that, even with this behavior "are trying to get along with the prototype", it is not always possible to obtain good performance as a Subvi ordinary call. For example, if you have a situation where the prototype does not change the data and passes it through to an exit and then the compiler must assume that the data is changed (because, as in example 2, there are screws that may change even if the called real VI is not).

    And there are a few caveats:

    (1) this behavior "using a prototype" was new for 2009. Before that, we used a method more naïve data of passage that took all the entries will be changed and no outputs don't share a buffer with an entry.

    (2) this behavior can be changed in future versions, if we find additional optimizations.

    (3) this behavior is the same that we use for the dynamic distribution live (when you use the classes in LV)

    (4) If you want to create a VI can be used as a prototype, you can use the features of the Structure in Place to control the "characteristics of the placeness', namely the element nodes in and out of the border, the function"Mark as modifier"border nodes (note the pencil icon on the item), and the node always one copy.

    (5) the prototype is only the first reference ever connected to the node of the call by reference. So if you make a new prototype VI, you can just make a reference out of it plug into the crux of the call by reference. I suggest to remove the node from the call by reference and file a new.

    (6) for remote calls, we still "making copies" by transmitting data over a network.

    I hope that this helps, if you want information/clarification, so feel free to ask.

    2 - is the call made by the reference to run in the user interface thread node? If the call is made by a remote machine via ethernet, thread that host (the computer that makes the call by reference) runs on and thread that executes the target (the machine that contains the file VI) on?

    In the case of premises, the appeal made by the reference node does not require the user interface thread and may work in some thread the VI wants to run in.

    When you call a remote VI, the appeal made by the reference node uses the UI thread (detailed below) on both the client and the server.

    The client uses the UI thread to send the request to the server and there still when the response comes back. The user interface thread is not blocked during the time between the two.

    The server receives the TCP message in the UI thread, and then starts the call to the UI thread. The server also uses the user interface thread to send the response to the client. The user interface thread is not blocked on the server during execution of the VI.

    I hope that people find it when they need it!

    Ben


  • Causing problems of custom data type to deploy the shared target RT variable

    I seem to have some difficulty in using a shared variable published network created from a customized data type when it is deployed as an executable on a target of cRIO RT.  I'll start by describing why I think that this is the rub.  I created my RT VI in the LabVIEW (LV 2012) development environment and everything works fine.  This VI is quite simple, because these were quickly devolved into an exercise in debugging.  The RT VI begins by simply flashing the LED to a couple of times and then starts a loop simple acquisition to read some values out of the material using the analytical engine (while still flashing the LED of the user).  After reading the material, the values are grouped in a cluster and written in a shared variable published to the network defined by a custom control type def.  The custom control contains five floats double precision.  If it's important, the RT cRIO system hosts the shared variable in this case.

    So I have that deploy in the development environment, and everything works fine.  The LED flashes merrily along, telling me that the program runs correctly.  Running a VI host who reads the shared network has published variable gives the desired result.  Everything is good.

    Now, I want the cRIO system to run this simple program by itself at startup.  I build, set it as start VI, deploy it, and then restart the cRIO target.  The LED never flashing... the VI doesn't seem to work.  I'll spare you the major part of the work of debugging and access to the end.  I basically "diagram Disabled" various sections of the code up to the VI began to run correctly in an executable file.  I kept reducing the size of the disabled code until something has been disabled: the writing in the shared variable for the custom data type.

    So, I guess my question is this: are custom data types defined by type def would be personalized orders authorized executables to RT?  I read through the cRIO Developers Guide, my book of development in real time course of NOR and the white paper using shared Variables and I see nothing that forbids it.  I know that there are things not allowed in the executable files that are allowed in the development environment (property nodes façade, dialogue live, operating system specific calls, etc.), but no mention of the shared variable type custom data.  Any ideas as to why my VI is running in the development environment, but does not update unless I have delete the entry on the published network variable shared?

    Thank you in advance for your help!

    You must disconnect the data types of variables and then recompile. You can find it useful to keep on disk, a copy of the original lvlib.

    Don't know if this is a bug or not. It was suggested by someone in the forum that putting the ctl files in the right position (the disk? in the draft?) would allow the rtexe start; I did a quick check and it didn't work then I dropped the tests more far.

  • PowerShell Script to search the FC target

    We have looked everywhere and can not find the correct commands to get what we are looking for.  I hope someone can help.

    If you connect to vCenter and Goto Setup / storage / right click on a data store and click Properties.  Then click on manage paths.  Under Fibre Channel, there is a target: value.  How get us this value of PowerCLI?  Thank you very much for your help!

    In the vSphere Client, you see the node and the Port WWN concatenated sets.

    To get the same result, use this

    $report = foreach($esx in (Get-VMHost | where{$_.PowerState -eq "PoweredOn"})){
        foreach($lun in (Get-ScsiLun -VmHost $esx -LunType disk)){
            Get-ScsiLunPath -ScsiLun $lun | `        Select @{N="Host";E={$esx.Name}},
                @{N="LUN";E={$lun.CanonicalName}},
                @{N="Target";E={
                    "{0:x} {1:x}" -f ($_.Extensiondata.Transport.NodeworldwideName,
                                      $_.Extensiondata.Transport.PortworldwideName)
                }}
        }
    }
    
    $report | fl
    
  • How to access the nodes created recently in a DOM

    Hello

    I use:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    I create a XSL dynamically and I need to check if a node has already been created. My problem is not GETCHILDRENBYTAGNAME or SELECTSINGLENODE seem to find the nodes recently added to the document. For example, with this snippet of my code:

    SET SERVEROUTPUT ON
    DECLARE
    DOC DBMS_XMLDOM. DOMDOCUMENT;
    ROOT DBMS_XMLDOM. DOMELEMENT.
    ELEM DBMS_XMLDOM. DOMElement.
    NŒUD DBMS_XMLDOM. DOMNODE;
    ELEMN DBMS_XMLDOM. DOMNODE;
    TO THE VARCHAR2 (8 CHAR);
    DBMS_XMLDOM ATTR. DOMATTR;
    LIST DBMS_XMLDOM. DOMNODELIST;
    CLOB TMPCLOB;
    BEGIN
    -Create DOM document with < xsl: template mode = 'content' match = "xxx" / >
    DOC: = DBMS_XMLDOM. NEWDOMDOCUMENT (SYS. XMLTYPE ("< xsl: stylesheet version ="1.0"xmlns: xsl ="http://www.w3.org/1999/XSL/Transform">")
    ((< xsl: template mode = "content"match ="xxx" / > < / xsl: stylesheet > '));
    ROOT: IS DBMS_XMLDOM. GETDOCUMENTELEMENT (DOC);

    -Add new item < xsl: template mode = 'content' match = "yyy" / >
    ELEM: = DBMS_XMLDOM. CREATEELEMENT (DOC, ' xsl: template ',' xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" ');
    ELEMN: = DBMS_XMLDOM. APPENDCHILD (DBMS_XMLDOM. MAKENODE (ROOT), DBMS_XMLDOM. MAKENODE (ELEM));
    ATTR: = DBMS_XMLDOM. CREATEATTRIBUTE (DOC, 'name');
    DBMS_XMLDOM. SETVALUE (ATTR, "content");
    ATTR: = DBMS_XMLDOM. SETATTRIBUTENODE (DBMS_XMLDOM. MAkeELement (ELEMN), ATTR);
    ATTR: = DBMS_XMLDOM. CREATEATTRIBUTE (DOC, 'match');
    DBMS_XMLDOM. SETVALUE (ATTR, 'yyy');
    ATTR: = DBMS_XMLDOM. SETATTRIBUTENODE (DBMS_XMLDOM. MAkeELement (ELEMN), ATTR);

    [- Check if / / xsl:template[@mode='content' and @match = 'yyy'] exists (it should because I just added it)
    To THE: = 'yyy ';
    NŒUD: = DBMS_XSLPROCESSOR. SELECTSINGLENODE (DBMS_XMLDOM. MAKENODE (DOC),'/ / xsl: template [@mode = "content"and @match ="' |] TO THE | '] ',' xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" ');
    IF DBMS_XMLDOM. ISNULL (NODE) THEN
    DBMS_OUTPUT. PUT_LINE(ÀLES||) "There is NO');
    ON THE OTHER
    DBMS_OUTPUT. PUT_LINE(ÀLES ||) "Exists");
    END IF;

    [- Check if / / xsl:template[@mode='content' and @match = 'xxx'] exists (it should because I was in the original scanned document)
    To THE: = "xxx";
    NŒUD: = DBMS_XSLPROCESSOR. SELECTSINGLENODE (DBMS_XMLDOM. MAKENODE (DOC),'/ / xsl: template [@mode = "content"and @match ="' |] TO THE | '] ',' xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" ');
    IF DBMS_XMLDOM. ISNULL (NODE) THEN
    DBMS_OUTPUT. PUT_LINE(ÀLES ||) "There is NO');
    ON THE OTHER
    DBMS_OUTPUT. PUT_LINE(ÀLES ||) "Exists");
    END IF;

    -Try with GETELEMENTSBYTAGNAME
    LIST: = DBMS_XMLDOM. GETELEMENTSBYTAGNAME (ROOT, 'template', ' xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" ');
    DBMS_OUTPUT. PUT_LINE (DBMS_XMLDOM. GETLENGTH (List) | 'Node (s)');

    -Try with SELECTNODES
    LIST: = DBMS_XSLPROCESSOR. SELECTNODES (DBMS_XMLDOM. MAKENODE (root), ' / / xsl: template ',' xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" ');
    DBMS_OUTPUT. PUT_LINE (DBMS_XMLDOM. GETLENGTH (LIST) | 'Node (s)');

    DBMS_LOB. CREATETEMPORARY (TMPCLOB, TRUE);
    DBMS_XMLDOM. WRITETOCLOB (DOC, TMPCLOB);
    DBMS_OUTPUT. PUT_LINE (TMPCLOB);
    DBMS_LOB. FREETEMPORARY (TMPCLOB);
    DBMS_XMLDOM. FREEDOCUMENT (DOC);
    END;
    /

    anonymous block filled
    YYY IS NOT Exists
    XXX exists
    1 node (s)
    1 node (s)
    < xsl: stylesheet version = "1.0" xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" >
    < xsl: template mode = 'content' match = "xxx" / >
    < xsl: template name = "content" match = "yyy" / >
    < / xsl: stylesheet >

    [[Why SELECTSINGLENODE can't find ' / / xsl:template[@mode='content' and @match = 'yyy']' node that was dynamically added to the document, but he finds ' / / xsl:template[@mode='content' and @match = "xxx"]' which was originally in the parsed document?

    Y at - it an explanation or I do something wrong? "How can I check if I already added a xsl: template ' to avoid duplication?

    Thanks for your help
    Kind regards
    Ramón García

    Please read the FAQ link under your name on how to use the tag {code} (without the space) to keep the formatting of the code.

    If you look carefully at the XML output and what you are looking for, you can see the issue.

    
    
    

    Look at your attribute names. One is called the mode and the other name. Looking for your XPath

    @mode = "content"

    that does not exist on the node where match = "yyy". That's why your code can't find the match, since he's looking for something different than what you have built

    ATTR: = DBMS_XMLDOM. CREATEATTRIBUTE (DOC, 'name');

  • Why the nodes are placed on web sites that I discovered with fire fox but not other browsers

    When you view the web page with fire fox is someone changing words and inserting nodes on the site. This does not happen with chrome or explorer. When I inspect the element it is HTML not allowed more written on the site. I have remove the node (a commercial that redirects the browser), but they pop up.

    You can check the suspicious extensions or recently installed unknowns.

    Make a check of malware with several malware scanning of programs on the Windows computer.
    Please scan with all programs, because each program detects a different malicious program.
    All of these programs have free versions.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • How can I see the full target URL when I hover over a link? Not a short URL.

    How can I see the full target URL when I hover over a link? I don't want to see short URL. Is there a way to customize this?

    Full target URL allowing me to easily see how visitors reached my site via Google, Bing, Yahoo Research, etc. With the short URL I don't see what they entered into the search field.

    You can use this extension to restore the characteristics of loss of status bar and customize settings such as displaying the URL of a link to the overview.

  • Change the working directory of the MathScript node in the working directory of the VI in which the node is added

    Hello

    I want to automatically change the working directory of the node Mathscript in a VI in the working directory of the VI, while I don't have to specify every time where is my file ".m", as most likely, it will be in the same folder as the VI.

    Thank you

    Walid F. van

    Hi Wade,

    The following picture illustrates how to add the directory to your VI to MathScript search paths.

  • What is the nodes of wireless sensor network measuring to measure: 4-20mA, 0 - 10V and Pt100?

    I'm looking for a wireless sensor node to measure:

    -4-20mA signal

    Signal - 0 - 10V

    -Pt100 signal.

    What is the node position OR better.

    Best regards

    Alioscia

    Hi alioscia,.

    For all of these measures, you probably better off using an NI WSN-3226 if you want to measure all parameters in one place. You can use a shunt resistor and apply the Ohm's law to calculate the measure 4-20mA.

    See you soon,.

    Brian has

    R & D Product Support Engineer | WSN/network DAQ/University

    National Instruments

  • "set the restart target action" does not work, why?

    There is an element of "set the restart target action" in the SDF file. I put it to "run a system definition.

    But it does not work. I don't know why. It seems that when the project is canceled, the SystemDefinitionData.nivscfg file is deleted.

    Cancel the deployment of will stop the configuration and mark idle.

    If you restart the RT target by HW button or through the channel "System of command channels", while the configuration is active, it will start the Setup again after the reboot.

    Jiri K.

  • Do not understand why "the node fpga Audio IN Terminal is 16-bit signed integer"?

    Hello

    I work with myRIO 1900 for my project of ANC.

    Audio IN of the fpga node gives its type terminal data as integer signed 16-bit. So, finally the exit on the nodes of the fpga is fluctuating between two values - 1 and 1. But I want the actual values of the audio data, I did not understand how to address this problem.

    Audio In on the side of RT gives type of terminal of data such as actual values, but I did not understand why the terminal of Audio In FPGAs is 16-bit integer. ??

    Please help me solve this problem.

    Thank you.

    If your analog range of +/-2.5 V.  32768 then--would be the equivalent of-2.5 V.  32767 would be + 2, 5V.

    If you get + /-1 V, then you should see somewhere between + / 13 107 on the analog input of the number I16.

    Basically, take the n ° I16, divide by 32767, multiply by 2.5.  You will have your analog input in volts.

    I don't know why you thing it's just rounding up to the-1 to + 1.  Something must be wrong with your code or configuration.

  • problem to open and cancel a Subvi by invoking the node

    Hello

    I have a Subvi, which is runing in a while loop and it's calculation that finished in a variable time. So I decided to add the abort function to invoke the node. This works perfectly when the Subvi is running by its own but gives an error.

    1000 error to reference open VI
    Possible reasons: LabVIEW: The VI isn't in a State compatible with this operation.

    I found that there is a solution for this in the following link.

    http://digital.NI.com/public.nsf/allkb/790AC75B07D971ED86256C53007BDCE9

    So I added the Vi run invoke node in the main vi and abort VI invoke node in the Subvi

    as in the following excerpt, but I still get the same error. Think you I'm missing?

    Eureka. I found it.

    It was very simple.

    I just add the stop simulation in the simulation loop if time exceeds certain limits.

    Anyway, thank you guys for helping me.

    See you soon,.

    Zied

  • Invoke the node: export image does not work in sub - VI?

    Windows 7 64 bit

    LabVIEW 9, 32-bit

    bug alert!

    See example attached vi

    The image of export invoke node only work while the Subvi is open, so called as a Subvi and the Subvi is closed this function fails to create an image.

    Using the graphical version express XY, I created an xy chart.  Then created an invoke node to export the image of the xy graph.  When I call this vi as a Subvi, it works, as far as the Subvi remains open.  If I close the Subvi and don't run the main vi, no image is created.

    No explanation why this would be?  LabVIEW 10 has the same problem?

    So the answer is simple, whenever an image is desired from a Subvi always use: invoke the node-> get image, in addition to any collection already implemented code to force labview to update the image

  • Problems of bit shift left in the node of the formula

    Hello

    Sorry, but my English is not good.

    I am trying to run a bit left SHIFT in the node of the formula, but the left SHIFT does not work as I expected.

    uInt32 parametro[5];
    float32 valorAmostra;
    int16 indiceAmostra;
    uInt8 indiceResposta;
    int16 controle;
    int32 valor;
    int8 i;
    
    for(i=0; i<5; i++)
        parametro[i]=param[i];
    
    valor = parametro[5]<<16 | parametro[4]<<8 | parametro[3];
    controle = parametro[1]<<8 | parametro[0];
    
    indiceAmostra = (controle & 0x3FF);
    indiceResposta = (controle >> 10);
    
    valorAmostra = valor & 0x7FFFFF;
    valorAmostra = valorAmostra*(2.4/8388607);
    
       if((valor & 0x800000) == 0x800000)
          valorAmostra = valorAmostra*(-1);
    

    the input param array is uInt8 type, because I saw in other topics that does not move with uInt8,

    I copy the values in the array param to parameter , which is of type uInt32, but still does not work.

    Test the input parameter with the following values:

    [] param = {10,14,10,0,16}

    the returned valorAmostra is 0,00117188 then it should be 0,300003.

    Can someone help me please?

    Portuguese:

    OLA,

    Is um no bug no LabVIEW para esta operacao. Este bug devera ser corrigido em paid futuras. UMA Solução para esta down e use int32 ao investment of um ulnt32 um.

    Any doubt please between let em.

    Obrigado.

    English:

     

    I studied the problem you are having, and it turns out that this is a bug that has already been reported and documented. The work around is to use int32 instead of uInt32.

    Thank you.

Maybe you are looking for