Subject: Re: [xsl] One or more documents and reference From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 4 Jan 2001 12:08:41 GMT |
> 1- In several articles about XSL, writs that XSL is designed to query one > document at time. What about the following function: > doc(String URI)? You must be reading some strange articles. See the document() function. > Is it possible to refer to manager Smith1 from biologist element? <xsl:apply-templates select="//lab[@manager=current()/@ID]"/> will select all elements who's manager attribute is the same as the id of the current node. (If you are doing this a lot it may be worth using the key() function to avoid repeatedly searching the document. > 3- Dose every node in XSL data model has a unique identifier?. Are they > generated by XSL processor for each node in case the nodes from the source > document don't have the ID attribute vale? You can generate unique identifiers with generate-id() (but they don't count as ids to th eid() function) David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. For further information visit http://www.star.net.uk/stats.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] One or more documents and ref, Handren Mokri | Thread | [xsl] Keyword xsl:param may not be , krishnan_vs |
[xsl] One or more documents and ref, Handren Mokri | Date | [xsl] Keyword xsl:param may not be , krishnan_vs |
Month |