<xvcd:text-of>の練習1
<xvcd:value-of>の練習1の<xvcd:value-of select="." />を<xvcd:text-of select="." />に変更しただけ。
テータが編集可能になる。
【result view】
【xfy_sample0005.xml】
<?xml version="1.0"?>
<?com.xfy vocabulary-connection href="xfy_sample0005.xvcd" ?>
<m3:document xmlns:m3="http://www.makoto3.net/xfy">
<m3:message>
こんにちは
</m3:message>
</m3:document>
【xfy_sample0005.xvcd】
<?xml version="1.0"?>
<xvcd:xvcd
xmlns:xvcd="http://xmlns.xfy.com/xvcd"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:m3="http://www.makoto3.net/xfy"
version="1.0">
<xvcd:vocabulary name="xfy_sample" match="m3:document" call-template="root"/>
<xvcd:template name="root">
<html>
<head>
<title>HelloWorld example</title>
</head>
<body>
<xvcd:apply-templates />
</body>
</html>
</xvcd:template>
<xvcd:template match="m3:message">
<p style="font-size:30pt;color:#ff0000;">
<xvcd:text-of select="." />
</p>
</xvcd:template>
</xvcd:xvcd>