|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: One or more documents and reference
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








