Subject: Re: [xsl] Specify/determine element's "logical" parent From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 23 Sep 2004 21:58:17 +0100 |
> then somehow map the ID to an actual node; doe If your id attributes are declared to be of type ID in a DTD this is simply select="id(@parentid)" If they arenot so declared use a key instead <xsl:key name="ids" match="*[@id]" use="@id"/> ... select="key('ids',@parentid)" David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Specify/determine element, Michael Kay | Thread | [xsl] FYI: Announcing Saxon.NET BET, Pieter Reint Siegers |
Re: [xsl] xsl:apply-templates with , David Carlisle | Date | Re: [xsl] Specify/determine element, Jeni Tennison |
Month |