I have the following XSL below and its not quite right.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:variable name="mmname" select="normalize-space(attr[@tag='00081090'])"/>
<xsl:when test="$mmname,not(contains('IntelliSpace PACS'))">
<destination aet="GINKGO_JH" priority="high"/>
I know that there is something wrong when I'm calling the variable, but here is what I am wanting to accomplish.
When the variable $mmname does NOT contain 'IntelliSpace PACS' I want to do what is after the <xsl: when test> I just don't know how to properly place eveything in the the '<xsl:when test' line. Do I need an equals in between the variable or how would be the best way to go about this?
I can't tell it: <xsl:when test!="$mmname='IntelliSpa
ce PACS'"> because sometimes the last word changes.
What the variable is doing above is getting the value from the attr tag '00081090'