RE: [xsl] xml include

Subject: RE: [xsl] xml include
From: "Daniel Newman" <daniel.newman@xxxxxxxxxxx>
Date: Wed, 11 Apr 2001 12:22:26 +0100
I'd get rid of the // in your select. They're not needed. Are title and
author first child nodes?

  <title />
  <author />


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Zafer Bayraktar
Sent: 11 April 2001 12:02
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] xml include

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

<?xml version="1.0"?>
<document xmlns:xinclude="";>
  <xinclude:include href="xml.xml"/>

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

(xml.xml contains title and author tags)

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

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread