<?xml version="1.0" encoding="Shift_JIS"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="/"> <html> <head> <title>一番簡単なXML</title> </head> <body> <p align="center">私のプロフィール</p> <p><xsl:value-of select="プロフィール" /></p> </body> </html> </xsl:template> </xsl:stylesheet> |
<?xml-stylesheet type="text/xsl" href="sample02.xsl"?> |