|
Subject: Re: Emulation of XSL's id() in DSSSL? From: Norman Walsh <ndw@xxxxxxxxxx> Date: Fri, 25 Feb 2000 08:21:43 -0500 |
/ 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.
FWIW, if id() returns more than one node, you don't have a valid XML
document. (It's well-formed, but not valid; IDs are required to be
unique.)
| (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'.
Be seeing you,
norm
--
Norman Walsh <ndw@xxxxxxxxxx> | Fast. Cheap. Well. Pick two.
http://nwalsh.com/ |
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Emulation of XSL's id() in DSSSL?, Ralf Kempkens | Thread | Re: Emulation of XSL's id() in DSSS, Ralf Kempkens |
| Emulation of XSL's id() in DSSSL?, Ralf Kempkens | Date | Re: Emulation of XSL's id() in DSSS, Ralf Kempkens |
| Month |