As the title says I get an error when having this
<xsl:stylesheet version="1.0" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"
xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">
I tried to add them both with a comma , but I got the same result like
xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/,http://a9.com/-/spec/opensearch/1.1/"
Is there any way to include both ?
No, that’s not allowed. The purpose of namespace declarations (
xmlns:[prefix]="[namespace-uri]") is to define a mapping from prefix to namespace-uri.If there are two values, the mapping is ambiguous and could not be used to figure out for some element
<openSearch:element />which namespace uri to attach to the element.