Subject: RE: [xsl] print out the actual node (NEWBIE) From: "James Fuller" <james.fuller@xxxxxxxxxx> Date: Mon, 16 Sep 2002 10:34:10 +0100 |
> -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Im having problems with my template and I think somehow its related to > the node. Is there a way to print out the actual node I'm in? > > <a> > <b/> > <c> > <xsl:value-of select="name()"/> > </c> > <d/> > </a> the name() function prints out the name of the element....if you want the content you would do <xsl:value-of select="."/>... but I left my mind reading email client at home....need to see your xml and xslt to usefully comment. cheers, jim fuller XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] print out the actual node (NE, thomas | Thread | [xsl] Re: print out the actual node, thomas |
[xsl] grouping probs, Laura Jenkins | Date | RE: [xsl] print out the actual node, Stuart Brown |
Month |