Question
· May 10, 2023

Using DEBUGGING tags to debug xslt transformation in HealthShare

I am having a difficult time trying to get DEBUGGING tags working in my xslt transform.

Here are snippets of the xslt I am using:

namespace declaration:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:isc="http://extension-functions.intersystems.com" xmlns:hl7="urn:hl7-org:v3" xmlns:sdtc="urn:hl7-org:sdtc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:exsl="http://exslt.org/common" exclude-result-prefixes="isc hl7 sdtc xsi xsl">

template:


        <xsl:template match="hl7:representedOrganization/hl7:id" mode="CHRISTUSPreProcessor">
             <xsl:copy>
               <xsl:attribute name="root"><xsl:value-of select="$facilityOid"/></xsl:attribute>
                   <xsl:apply-templates select="@*[not(local-name() = 'root') and not(local-name() = 'extension') ]" mode="CHRISTUSPreProcessor"/>
                   <xsl:apply-templates select="node()" mode="CHRISTUSPreProcessor"/>
            </xsl:copy>

        <DEBUGGING-PATHVALUE>
            xxxxxxx
        </DEBUGGING-PATHVALUE>

         </xsl:template>

Here is a snippet of the xml that I am running the code against:

<representedOrganization>

     <id root="2.16.840.1.113883.3.6706.2.2.8.1.1.1.16384"/>

 

I believe the xslt should match the given xml, but I am not seeing anything in the resulting transformation.  I put literal 'xxxxxxx' as the contents of the <DEBUGGING-PATHVALUE> . I expected to see an error or at least find my xxxxxxx in the transformation but I don't see anything in the tranformation that indicates the debugging had any affect.  Can anyone provide any ideas on what I might do?  Thanks!

Product version: HealthShare 2020.1
Discussion (3)2
Log in or sign up to continue