Re: [xsl] how to define a namespace-prefix for null-namespace

Subject: Re: [xsl] how to define a namespace-prefix for null-namespace
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 23 Mar 2005 18:33:37 GMT
> Is there any other way to avoid changing
> all the xpath-selection rsp.
> all the match-patterns of
> my stylesheet, when the input-document will be decorated by a namespace.

not in xslt 1 but I see your code snippet suggested xslt2 in which case
you can set the xpath-default-namespace to be your desired namespace so
that unprefixed element names in xpaths and pattern refer to this
namespace instead of to no-namespace.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread