[
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.
|