Page 1 of 1

Using xmlns:xtt want to see delimited output in Debugger

Posted: Wed Mar 18, 2020 11:16 pm
by vcocco
I'm working with an xsl document in the Oxygen debugger.
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

In the output pane of the debugger I want to see the actual pipe delimited text stream come across like so:

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="" xmlns:wd=""

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet exclude-result-prefixes="xsl" xmlns:xsl="" version="2.0" 
  xmlns:xsd="" xmlns:wd=""
    <xsl:output method="xml" indent="yes"/>
    <xsl:variable name="linefeed" select="'&#xA;'"></xsl:variable>
    <xsl:template match="/">
        <xsl:value-of select="$linefeed"/>
    <File xtt:separator="&#xA;">

Any insights to solving this would be appreciated.
Thank you,

Re: Using xmlns:xtt want to see delimited output in Debugger

Posted: Mon Mar 23, 2020 3:03 pm
by tavy

Unfortunately I don't understand the problem from the examples that you send.
Maybe you send us more complete examples. You can use this form:
Also, being an XSLT related question maybe is better to post it on the XSLT list "". There are more technical people that can respond to your questions.

Best Regards,