Subject: RE: Re: Copying nodes from other than the input file
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 6 Aug 2002 09:10:24 +0100
|
I guess your document uses namespaces, so you need to use a path such as
document(MetaData/Technical/Location)/x:html/x:head
where the prefix x is assigned to the appropriate namespace.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Maik Stührenberg
> Sent: 06 August 2002 08:42
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Re: Copying nodes from other than the input file
>
>
> Hello,
>
> last week I asked for a possibility to copy nodes from a
> second input file.
> I tried the solution given me from Joerg Heinicke (thanks)
> <xsl:copy-of
> select="document(MetaData/Technical/Location)/html/head"/>
> but it does not
> work, neither with Saxon 6.52, 7.1 or XSLTProc.
> Using <xsl:copy-of
> select="document(MetaData/Technical/Location)"/> works
> but no other XPath expression. I tested it with a valid XHTML
> file (taken
> from W3C pages). Any further ideas what's going wrong?
>
> Regards
>
> Maik Stührenberg
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|