xsl-list
[Top] [All Lists]

Re: how to define a namespace-prefix for null-namespace

2005-03-23 11:33:37

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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--