Using xmlns:xtt want to see delimited output in Debugger

Questions about XML that are not covered by the other forums should go here.
vcocco
Posts: 2
Joined: Thu Aug 29, 2019 10:46 pm

Using xmlns:xtt want to see delimited output in Debugger

Post by vcocco » Wed Mar 18, 2020 11:16 pm

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

 <ID/>
      <WID>B00006944</WID>
      <FIRST_NAME>Harry</FIRST_NAME>
      <Last_Name>Truman</Last_Name
In the output pane of the debugger I want to see the actual pipe delimited text stream come across like so:
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="'&#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,
Vin

tavy
Posts: 224
Joined: Thu Jul 01, 2004 12:29 pm

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

Post by tavy » Mon Mar 23, 2020 3:03 pm

Hello,

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: https://www.oxygenxml.com/techSupport.html
Also, being an XSLT related question maybe is better to post it on the XSLT list "xsl-list@lists.mulberrytech.com". There are more technical people that can respond to your questions.

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply