Why wont this display? <xsl:value-of select="document(' ')/*/d:co deword/@*....

Subject: Why wont this display? <xsl:value-of select="document(' ')/*/d:co deword/@*....
From: "Medina, Edward" <emedina@xxxxxxx>
Date: Tue, 22 Aug 2000 09:23:58 -0400
Hello All!

I have the following code in my XSL and it won't display
when parsed through XALAN.  It does fine through Instant
SAXON.  Anyone know why?  Is XALAN not compliant or am I 
doing something wrong here???

<xsl:stylesheet
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
	version="1.0"
	xmlns:xlink="http://www.w3.org/1999/xlink";
	xmlns:dppo="dppo"
	xmlns:d="file:/codeword/null"
	xmlns:t="file:/release/null"
	xmlns:f="file:/foreing/null">

Code omitted for readability...

<d:codeword SIGTK="/SPECIAL INFORMATION-GATHERED/TARGETED KNOWLEDGE"/>
<d:codeword SIG="/SPECIAL INFORMATION-GATHERED" SITK="/SPECIAL
INFORMATION/TARGETED KNOWLEDGE"/>
<d:codeword SI="/SPECIAL INFORMATION" TK="/TARGETED KNOWLEDGE"/>

More code omitted .....

<xsl:template match="/">
<HTML>
 <HEAD> <TITLE> SPECIAL REPORT</TITLE>
 </HEAD>
 	<BODY>
		<xsl:apply-templates />
	</BODY>
</HTML>
</xsl:template>

<!--
	
****************************************************************************
***************************
				MAJOR ELEMENTS
	
****************************************************************************
***************************
	 -->


<xsl:template match="dppo:document">
<SPAN style="
	background-color: white;
	width:100%;
	height: 100% ">
<br/>
  	<SPAN style="
	font-size: 14pt;
	font-weight: bold;
	margin-left: 3pc;
	text-align: left">
	
			<xsl:value-of select="$classif" />
			<xsl:variable name="d"
select="//@dppo:secur.codeword"/>
			<xsl:value-of select="document(' ')/*/d:codeword/@*
						[name(.)=$d or name()='X']
[1]"/>

<xsl:variable name="d" select="//@dppo:secur.codeword"/>
<xsl:value-of select="document(' ')/*/d:codeword/@*
		[name(.)=$d or name()='X'] [1]"/>
	</SPAN>
</SPAN>
</xsl:template>

The rest of the code omitted...

</xsl:stylesheet>


Any comments appreciated Thanks

Eddy


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread