icon.xslt
来自「功能:基于windows mobile 的地图查看器。使用vs2005开发」· XSLT 代码 · 共 20 行
XSLT
20 行
<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 + =
减小字号Ctrl + -
显示快捷键?