Subject: RE: Emulation of XSL's id() in DSSSL? From: "Pawson, David" <DPawson@xxxxxxxxxxx> Date: Fri, 25 Feb 2000 16:07:12 -0000 |
>/ Ralf Kempkens <kempkens@xxxxxxxxxxx> was heard to say: >| In xsl, the id()-function automatically returns a nodeset, >but in DSSSL there >| is only 'process-element-by-id' which returns a single node. Wild guess, they are idrefs? <xsl:for-each select="@references"> <tag><xsl:value-of select="id(.)"/></tag> etc. Would give a list of the elements which have the id spec'd by the references. regards, DaveP | (e.g. <node id="id7" references="id1 id2 id4 id9">...</node>) >| >| Does anybody out there have a function handy, that will >return the right >| nodeset? > >(element-with-id 'value') will return the element that has ID 'value'. | > > > DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist > DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Emulation of XSL's id() in DSSS, Toby Speight | Thread | Totally ignorant question, Jan Deininger |
Re: Counting Nodes, Matthias Clasen | Date | RE: Counting Nodes, Peter Nilsson |
Month |