OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] namespace reprise

[ Lists Home | Date Index | Thread Index ]

Eric van der Vlist wrote:

>On Wed, 2002-08-21 at 15:54, Emmanuil Batsis (Manos) wrote:
>  
>
>>Julian Reschke wrote:
>>
>>    
>>
>>>In which case the XSLT code will either accept old documents or new
>>>documents, but not both...
>>>
>>>      
>>>
>>True, but that's what parameters are for and that's why I said variable. 
>>A document will have either namespace but not both.
>>    
>>
>
>Just to make it look more concrete, can you show an example expressing a
>reasonably simple XPath expression  such as
>"/xhtml:html/xhtml:body/xhtml:div[1]" which pulls the first division of
>a document under its body when the namespace URI for "xhtml" is stored
>in the variable or parameter $ns?
>

Point about forced use of predicates taken, but that was the initial 
reason I accused XSLT's way of handling the default namespace.






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS