[Home] [By Thread] [By Date] [Recent Entries]


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?

Eric
-- 
Rendez-vous à Paris.
                          http://www.technoforum.fr/integ2002/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member