It worked! Thank you all and sorry about my novice question.

On Mon, Nov 23, 2009 at 12:04 PM, David Johnston <polobo@yahoo.com> wrote:
XSLT does its matching in a namespace aware environment. With no xmlns attribute all elements fall into the default namespace whereas the xmlns puts all elements, unless overridden, into a specific namespace.  Your "match" values are matching elements in the default namespace and thus will not match elements in a specific namespace. 
 
This is fundamental behaviour of XML+Namespaces; a "match" that will match an element in a specific (even the default) namespace will never match an element in a different namespace since those two elements are not the same conceptual element.
 
Dave


From: Gustavo de Sá Carvalho Honorato [mailto:gustavohonorato@gmail.com]
Sent: Monday, November 23, 2009 7:11 AM

To: saxon-help@lists.sourceforge.net
Subject: [saxon] Error in output when xmlns attribute is present

Hi all,

I'm having some problems using Saxon to make XSLT using JAXP Java API. When xmlns attribute is not present in root element of the input xml, the output is fine. When xmlns is present, Saxon is generating an empty output. Is there any issue regarding this? I've been searching all over the documentation and I could not find anything.

Thanks in advance,
Gustavo Honorato


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/saxon-help