[xslt] Question concerning paths
- From: "Marc Heinz" <marc heinz no-log org>
- To: xslt gnome org
- Subject: [xslt] Question concerning paths
- Date: Wed, 21 Nov 2007 21:32:56 +0100 (CET)
Hi everybody,
I have a little problem with a XSL file someone give me. This stylesheet
has to deal with many XML source file, it access them trough XPath
expression in this way:
---- CODE ----
<xsl:variable name="metaDoc">
<xsl:copy-of select="document(/a_certain_path/meta.xml)"/>
</xsl:variable>
<xsl:template name="getAuthor">
<xsl:attribute name="author">
<xsl:value-of
select="$metaDoc/office:document-meta/office:meta/dc:creator"/>
</xsl:attribute>
</xsl:template>
---- END ----
Until now, i didn't manage to make this working, the xpath expression:
$metaDoc/office:document-meta/office:meta/dc:creator
does never match anything, displaying: "XPath evaluation returned no result"
Can someone enlighten me? Your help would be much appreciated...
M. H.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]