create-nodeset-from-string: from string to element list
Summary
create-nodeset-from-string: from string to element listContent
Hi,
I have done this mapping for transforming a string with comma separated values to a list of elements, what I wasn't able to do was to infer the namespace dinamically from the current schema, I tried trough function as name() and local-name() but with no results.
This was my implementation:
for-each create-nodeset-from-string in otherTransport_c | ||||
qname | '{http://crm.clientName.com}OtherTransport' | |||
string | element | |||
delimiter | ',' | |||
<****:OtherTransport> | ||||
value-of current() |
<yy:sourceElement>string1,string2</yy:sourceElement>
result:
<****:OtherTransport>string1</****:OtherTransport>
<****:OtherTransport>string2</****:OtherTransport>
1