xsl-list
[Top] [All Lists]

RE: Associative Arrays and XSLT ?

2005-03-17 09:27:27

in XSLT 1 or 2?

<xsl:stylesheet
  version="2.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
  <xsl:output method="text"/>

  <xsl:template match="/">
    <xsl:value-of select="$h/*[(_at_)name='int 4']"/>
  </xsl:template>

  <xsl:variable name="h">
    <e name="name">MyName</e>
    <e name="int 4">finalInteger</e>
  </xsl:variable>
</xsl:stylesheet>

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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