R
Riaan
As the subject suggests, I am trying to populate a element (of type
xs:string) with a entire XML structure from the source. The problem
is, I get the transformation to work... but the tranformation creates
the target element as a complex type, and not a xs:String type that I
require.
Example:
Source:
<test>
<msg>Hi</msg>
</test>
Required Destination:
<destination>
<value>
<test>
<msg>Hi</msg>
</test>
</value>
</destination>
I can only manage to produce this (which is incorrect):
<destination>
<value>
<test>
<msg>Hi</msg>
</test>
</value>
</destination>
What XSLT can I use to give me my required result??
Riaan Gouws
(e-mail address removed)
xs:string) with a entire XML structure from the source. The problem
is, I get the transformation to work... but the tranformation creates
the target element as a complex type, and not a xs:String type that I
require.
Example:
Source:
<test>
<msg>Hi</msg>
</test>
Required Destination:
<destination>
<value>
<test>
<msg>Hi</msg>
</test>
</value>
</destination>
I can only manage to produce this (which is incorrect):
<destination>
<value>
<test>
<msg>Hi</msg>
</test>
</value>
</destination>
What XSLT can I use to give me my required result??
Riaan Gouws
(e-mail address removed)