[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Re: Copying nodes from other than the input file

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
RE: Re:  Copying nodes from other than the input file
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.