⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 icon.xslt

📁 功能:基于windows mobile 的地图查看器。使用vs2005开发
💻 XSLT
字号:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   <xsl:output omit-xml-declaration="yes" method="text" indent="no"/>
   
   <xsl:template match="/">
      <xsl:for-each select="//Icon">
      	icon = new Icon();
	icon.Name = "<xsl:value-of select="Name" />";
	icon.Latitude = new LatitudeCoordinate();
	icon.Latitude.Value = <xsl:value-of select="Latitude/Value" />;
	icon.Longitude = new LongitudeCoordinate();
	icon.Longitude.Value = <xsl:value-of select="Longitude/Value" />;
	icon.ClickableUrl = "<xsl:value-of select="ClickableUrl" />";
	icon.TextureFilePath = @"<xsl:value-of select="TextureFilePath" />";
	lIcon.Add(icon);
      </xsl:for-each>
   </xsl:template>
   
</xsl:stylesheet>
<!--?xml-stylesheet type="text/xsl" href="Icon.xslt"?-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -