Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: [xml-dev] combining XML documents



On Nov 24, 2005, at 18:56, Martin Probst wrote:
> <html>
>   <head><title>Foo</title></head>
>   <body>{
> for $doc in ( collection('/path/A'),
>             collection('/path/B'),
>             collection('/path/C') )
> return <a href='{ base-uri($doc) }'>{ $doc//title }</a>
> }</body>

Small nit: shouldn't that be $doc//xhtml:title//text() assuming  
there's a namespace, and so that you get the text content and not a  
title element?

-- 
Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/




 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor