xsl-list
[Top] [All Lists]

Re: [xsl] template which handles identical XML-structures but can insert unique label texts

2006-11-01 06:40:48

But still you assume that the label texts are to be found in the
source xml.

well I assumed that you were using the xml element names as labels, as
you didn't say what labels you wanted.

If you don't want to use teh element names, use something else, so
replace

<xsl:value-of select="name()"/>

wiith
<xsl:apply-templates mode="label" select="."/>

then if you want the element InitialStorageQuantity to make the label
Initial Storage Quantity
then have
<xsl:template
  mode="label"
  match="InitialStorageQuantity"
  >Initial Storage Quantity</xsl:template>

David

--~------------------------------------------------------------------
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>