开发者

Get the union of 2 series having different root items in Websphere TX

开发者 https://www.devze.com 2022-12-25 13:06 出处:网络
Here is a sample of my problem. I have the following typetree : Root -Text(item) -Texts(group, delimited,开发者_如何学编程 literal separator=<NEXT>, components=Text[1:s])

Here is a sample 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 the union to contain both the values from serie1 and serie2 ?

If possible not using a RUN


One possible solution is to modify your type tree like this:

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 copy directly the data to the output and you should not have problems reading a file with that type tree either.

Regards, B.

0

精彩评论

暂无评论...
验证码 换一张
取 消