This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xml include


Hi,
    I have two xml files, one of them is included in other:

<?xml version="1.0"?>
<document xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
  <xinclude:include href="xml.xml"/>
</document>

And I use this xsl to transform:
<?xml version="1.0"?>
<xsl:stylesheet version='1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >
<xsl:output method="html" />
<xsl:template match="/">
<H1><xsl:value-of select="//title"/></H1>
<H2><xsl:value-of select="//author"/></H2>
</xsl:template>
</xsl:stylesheet>

(xml.xml contains title and author tags)

The problem is that xsl cannot read title and author tags ... ?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]