xsl-list
[Top] [All Lists]

Re: Namespace problems

2004-09-21 09:09:38
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



<Prev in Thread] Current Thread [Next in Thread>