Wednesday, July 09, 2008
■ ゆの in XSLT

C#がreturnありなのでもう何でもいいやということでこんなのはどうか。×.xml というファイル名で保存して開いてください。
<?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet href="×.xml" type="text/xsl" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl" xmlns="http://www.tbs.co.jp/anime/hidamari/" > <xsl:output method="text" indent="yes"/> <xsl:template match="/"> <xsl:apply-templates select="//xsl:variable" /> </xsl:template> <xsl:template match="xsl:variable"> ひだまりスケッチ×365 <xsl:apply-templates select="*" /> </xsl:template> <xsl:template match="*"> <xsl:value-of select="name(.)"/> </xsl:template> <xsl:variable name="X"> × / _ / × <来週もまた見てくださいね /> </xsl:variable> </xsl:stylesheet>
コメント
トラックバック - http://subtech.g.hatena.ne.jp/mayuki/20080709