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

RE: why doesn't 'self::NODE' work?

Subject: RE: why doesn't 'self::NODE' work?
From: "Wright, Steve" <Steve.Wright@xxxxxxx>
Date: Tue, 15 Apr 2003 12:33:13 -0400
confidential material email template
Hello everyone,
Thanks for the fantastic feedback. I'm now much closer to obtaining my
desired output. Now I'm able to isolate and output the text at the <LINK>
node w/o invoking it's children. It looks like I will have to get more
explicit w/ my templates to get the children to display correctly, but I'm
already having some positive results there.

Thanks again!

Steve 

-----Original Message-----
From: Wright, Steve 
Sent: Monday, April 14, 2003 5:49 PM
To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
Subject:  why doesn't 'self::NODE' work?


Hello,
I am trying desparately to obtain the following input from the below xml
tree:
--------------------------------------------------------
desired output:
--------------------------------------------------------
Figure 3-3
--------------------------------------------------------

--------------------------------------------------------
xml tree:
--------------------------------------------------------
<PARA>
	<LINK linkend="0546">
		Figure
		<FIG NUM="3" ID="0546">
			<TTL>
				The Cell Membrane
			</TTL>
		</FIG>
		3-3
	</LINK>
</PARA>
--------------------------------------------------------

This is the XPATH expression that I am using:
--------------------------------------------------------
<xsl:template match="PARA/LINK">
	<xsl:value-of select="self::LINK" />
</xsl:template>
--------------------------------------------------------

--------------------------------------------------------
This is the (undesired) output that I am getting:
--------------------------------------------------------
Figure The Cell Membrane 3-3

--------------------------------------------------------

Any help w/ this would be greatly appreciated.

Thanks in advance,
Steve




****************************************************************************
This email may contain confidential material.
If you were not an intended recipient, 
please notify the sender and delete all copies.
We may monitor email to and from our network.

****************************************************************************



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


****************************************************************************
This email may contain confidential material.
If you were not an intended recipient, 
please notify the sender and delete all copies.
We may monitor email to and from our network.

****************************************************************************



 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.