[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: namespace reprise
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.
|
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
|