[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Why wont this display? <xsl:value-of select="document(' ')/*/d:codeword/@*....
From: "Medina, Edward" <emedina@xxxxxxx>
Date: Tue, 22 Aug 2000 09:23:58 -0400
value of select document
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.