This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XSLT and Default namespaces



>If an element or attribute in the source document is in a namespace
(whether
>default or prefixed), your stylesheet *must* include a namespace
declaration
>corresponding to the same namespace and it *must* use a prefix as well
>(whatever you want).

Sorry, this was worded a little too strongly.  It's true that you must have
a namespace declaration in the stylesheet if you are to explicitly match or
select elements from a particular namespace.  But you can always use a
wildcard such as * to select elements in any namespace, without needing a
namespace declaration for each.

Trying not to get to carried away,

Evan Lenz
elenz@xyzfind.com
http://www.xyzfind.com
XYZFind, the search engine *designed* for XML
Download our free beta software: http://www.xyzfind.com/beta


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]