The xsl code takes an xml file as input and converts the output to a pipe delimited text file. But, due to the way the xsl code is written I'm seeing the data with the tags still attached in the Output window of the debugger.
Code: Select all
<ID/>
<WID>B00006944</WID>
<FIRST_NAME>Harry</FIRST_NAME>
<Last_Name>Truman</Last_Name
Harry|Truman
I'm relatively new to xsl; but I do remember a developer showing me a change I had to make in one of the lines of code below.
I believe I had to set a path to something more generic. I'm pretty sure I need to replace this line with something else:
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wd="urn:com.workday.report/RPT_INT0005_Drupal_Hub_Terminations_Outbound"
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet exclude-result-prefixes="xsl" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wd="urn:com.workday.report/RPT_INT0005_Drupal_Hub_Terminations_Outbound"
xmlns:xtt="urn:com.workday/xtt">
<xsl:output method="xml" indent="yes"/>
<xsl:variable name="linefeed" select="'
'"></xsl:variable>
<xsl:template match="/">
<xsl:value-of select="$linefeed"/>
<File xtt:separator="
">
Any insights to solving this would be appreciated.
Thank you,
Vin