📄 icon.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 + -