XSL を使用して RSS フィードを Access データベースに変換しようとしています。以下のコードは次のとおりです。
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
<xsl:template match="/">
<rss>
<xsl:apply-templates select="rss/channel"/>
</rss>
</xsl:template>
<xsl:template match="rss/channel">
<xsl:variable name="title" select="title"/>
<xsl:variable name="link" select="link"/>
<xsl:variable name="description" select="description"/>
<channelTitle>
<xsl:value-of select="title"/>
</channelTitle>
<channelDesc>
<xsl:value-of select="description"/>
</channelDesc>
<xsl:apply-templates select="item"/>
</xsl:template>
<xsl:template match="item">
<xsl:variable name="item_link" select="link"/>
<xsl:variable name="item_title" select="description"/>
<item>
<xsl:for-each select="item_link">
<xsl:value-of select="title"/>
</xsl:for-each>
</item>
</xsl:template>
</xsl:stylesheet>
基本的に私がやりたいことは、すべてのアイテムを循環して表示し、各エントリにチャンネルをインプリメントすることです (アクセス中の rss のチャンネルとアイテム要素の間の関係を作成する方法がわかりません:S )
誰かが私を正しい方向に向けることができれば、すべてがうまくいくでしょう
ありがとう