Get the union of two series having different root elements in Websphere TX

Here is an example of my problem. I have the following typetree:

Root
 |-Text(item)
 |-Texts(group, delimited, literal separator=<NEXT>, components=Text[1:s])

I have 3 cards:

serie1 (type=Texts), rule =clone("test", 3)
serie2 (type=Texts), rule =clone("test", 3) 
union (type=Texts), rule =? 

How can I get a union containing both values ​​from serie1 and serie2?

If possible not to use RUN

+3
source share
1 answer

One possible solution is to modify your type tree as follows:

Root
 |-Text(item)
 |-Texts(group, delimited, literal separator=<NEXT>, components=Text[1:s])
 |-Texts(group, delimited, literal separator=<NEXT>, components=Text[0:s])

This way you can directly copy the data to the output, and there should be no problem reading the file with this type tree.

Regards, B.

0
source

Source: https://habr.com/ru/post/1738956/


All Articles