|
Subject: Re: [xsl] Keys with different parents, but same name From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 27 Oct 2003 14:48:24 -0500 |
Thanks for pointing me in right direction. This indeed worked. But did not solved the problem :-(. The reason for using different keys is there could be different types of groups and styling/rendering would change accordingly.
For brevity, i had mentioned only field and fieldGroup. May be to resolve this I think will have to look into design stuff.
And another doubt is regarding the way of changing the
context node to fieldHeaders document, if we use
<xsl:for-each ...> wont this reduce the performance?
I might be wrong here.
<xsl:variable name="keyvalue"
select="concat(@id,'-')"/>
<xsl:for-each select="$fieldHeaders">
<xsl:value-of select="key('label-by-field',
$keyvalue)"/>
</xsl:for-each>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Keys with different paren, Ganesh Sindigi | Thread | [xsl] XPathEvaluator.evaluate probl, meka v.krishna prasa |
| Re: [xsl] Placing selective links i, J.Pietschmann | Date | [xsl] Re: Re: dynamic html table ge, Dimitre Novatchev |
| Month |