Reputation: 3
I am using below XSLT code to get XML data into a variable
<xsl:variable name="vOWGCustom" select="document('mctx:vars/v_OWG_Custom')"/>
<xsl:variable name="v.OWG_Custom" select="$vOWGCustom/wd:Report_Data/wd:Report_Entry [wd:emplid = $v.emplid]"/>
When I try to check this value it gives me data is text format and not XML.
<report_data><xsl:value-of select="$v.OWG_Custom"/></report_data>
How can I generate the data in XML format.
Upvotes: 0
Views: 105
Reputation: 338238
How can I generate the data in XML format.
<report_data><xsl:copy-of select="$v.OWG_Custom"/></report_data>
Upvotes: 1