Subject: [xsl] why doesn't 'self::NODE' work? From: "Wright, Steve" <Steve.Wright@xxxxxxx> Date: Mon, 14 Apr 2003 20:48:54 -0400 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] excel xp xml to html- quick t, Vinicius Saraceni | Thread | Re: [xsl] why doesn't 'self::NODE' , James J. Ramsey |
I'm an idiot (was Re: [xsl] How to , James J. Ramsey | Date | RE: [xsl] why doesn't 'self::NODE' , Avula, Raj |
Month |