Subject: [xsl] Re: Is there a way in xsl to point to a node if only a part of its name is known? From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Thu, 22 Nov 2001 00:20:23 -0800 (PST) |
> A text node name consists of 'tablename.fieldname' where > tablename is the changing- and fieldname the fixed part. > First of all, a text node in XSLT does not have a name, the nodes in your example are element nodes. > Is there a way in xsl to point to a node if only a part of its name is > known? Use: <xsl:template match="*[substring-after(name(), '.') = 'field1']"> <!-- Whatever processing should be performed on xxx.field1 here --> </xsl:template> Cheers, Dimitre Novatchev __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Is there a way in xsl to , Joshua . Kuswadi | Thread | [xsl] sum of the evaluated values, Al Yurov |
RE: [xsl] Is there a way in xsl to , Joshua . Kuswadi | Date | Re: [xsl] call-template by default, Jeni Tennison |
Month |