Re: [xsl] Namespace problems

Subject: Re: [xsl] Namespace problems
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Tue, 21 Sep 2004 12:09:38 -0400
On Sep 21, 2004, at 12:01 PM, Ricardo Saraiva wrote:

Could you be more explicit...

In your document, you have a default namespace (xmlns="http://a.com/ontology#";). This means that everything without a namespace prefix is in that namespace.


So if you want to match elements from that namespace in your stylesheet, you must declare the same namespace with an appropriate prefix, such that you can do <xsl:template match="a:Products"> and so forth.

Bruce

Current Thread