xsl-list
[Top] [All Lists]

Key containing more than one 'target'?

2005-03-22 08:25:57
Hi,

is it possible to generate a key that contains more "targets"?

in my xsl:

 <xsl:key name="ids" match="tc/pc/*[(_at_)id]" use="@id" />

...

<xsl:apply-templates select="*[(_at_)id and generate-id(.)= 
generate-id(key('ids', @id))]" />



my xml:

<tc id="123">
        <pc id="444">
        ...
        </pc>
</tc>




I need a connection between tc-id and pc-id, so i thought i could be possible 
to make a key over pc and tc.

Has anybody a idea?

Thanks

Sven

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>