|
[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








