Rao E
Rao E

Reputation: 1

Is it possible to copy an attribute from one XML document to another XML using XSLT/Xpath 2.0

Trying to copy an attribute from XML 1 to another XML 2 using xslt/xpath. 1-1 combination works but I am having 1 to many combinations between X and Y elements and I keep getting below error.

XTTE3180: A sequence of more than one item is not allowed as the @select attribute of xsl:copy

I am expecting, Y keys from XML1 to be copied to XML2 when the match condition exists. maybe select should be done something differently? Need help with some suggestions.

Upvotes: 0

Views: 53

Answers (0)

Related Questions