<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:svg="http://www.w3.org/2000/svg">
<xsl:template match="/">
<html>
<object id="AdobeSVG" CLASSID="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2"></object>
<xsl:processing-instruction name = "import" > namespace="svg" implementation="#AdobeSVG"</xsl:processing-instruction>
<br/>
<xsl:value-of select="//rw[1]/h/fv"/>(Yellow): <xsl:value-of select="//rw[1]/mv"/>%<br/>
<xsl:value-of select="//rw[2]/h/fv"/>(Red): <xsl:value-of select="//rw[2]/mv"/>%<br/>
<xsl:value-of select="//rw[3]/h/fv"/>(Orange): <xsl:value-of select="//rw[3]/mv"/>%<br/>
<svg:svg width="220" height="150">
<svg:defs>
<svg:radialGradient id="Sshd4" fx="50%" fy="99%" x="95%" y="50%" gradientUnits="objectBoundingBox">
<svg:stop id="stop1" offset="0%" style="stop-color:rgb( 0, 0,255);stop-opacity: 1.00;"/>
<svg:stop id="stop2" offset="100%" style="stop-color:rgb( 0, 0, 0);stop-opacity: 1.00;"/>
</svg:radialGradient>
</svg:defs>
<svg:g id="Oobj21" style="fill:url(#Sshd4);fill-rule:evenodd;" transform="matrix(2.00,0.00,0.00,1.35,100.00,68.00)">
<svg:path id="Ggeo16" style="stroke:rgb( 0, 0, 0);stroke-width:1;" d="M -50,50 C -50,-50 50,-50 50,50 z"/>
</svg:g>
<svg:g>
<svg:rect x="100" y="134" width="1" height="100" fill="yellow">
<xsl:attribute name="transform">rotate(<xsl:value-of select="(9 div 5 *//rw[1]/mv) + 90"/>,100,134)</xsl:attribute>
</svg:rect>
<svg:rect x="100" y="134" width="1" height="100" fill="red">
<xsl:attribute name="transform">rotate(<xsl:value-of select="(9 div 5 *//rw[2]/mv) + 90"/>,100,134)</xsl:attribute>
</svg:rect>
<svg:rect x="100" y="134" width="1" height="100" fill="orange">
<xsl:attribute name="transform">rotate(<xsl:value-of select="(9 div 5 *//rw[3]/mv) + 90"/>,100,134)</xsl:attribute>
</svg:rect>
</svg:g>
</svg:svg>
</html>
</xsl:template>
</xsl:stylesheet>
我。。知。。道
加。。我。。私。。聊
Photoshop|
Dreamweaver|
SVG|
WebGL|
Visual Studio|
PowerDesigner|
Eclipse|
Git|
Apache Ant|
Atom|
Composer|
CodeSmith|
Flex|
Gradle|
Maven|
Sublime Text3|
SVN|
Tableau|
Vim|
Chrome开发者工具|
OpenGL|
Unity|
Direct3D|
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....