Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. var t=new Object;
  2. <xsl:for-each select="reports/get_reports_response/report/report">
  3. <xsl:for-each select="ports/port">
  4. if (t['<xsl:value-of select="text()"/>']) t['<xsl:value-of select="text()"/>']++;
  5. else t['<xsl:value-of select="text()"/>']=1;
  6. </xsl:for-each>
  7. </xsl:for-each>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement