It turned out to be a namespace issue, I was able to resolve it. Thanks. --- On Fri, 7/11/08, David Bertoni <[EMAIL PROTECTED]> wrote:
From: David Bertoni <[EMAIL PROTECTED]> Subject: Re: Xalan executable gives wrong output To: xalan-c-users@xml.apache.org Date: Friday, July 11, 2008, 7:21 PM Anjana Sudhakar wrote: > I am using Xalan executable to do a trasformation. I give in the xml and > xsl files, and the output I get is not the expected xml file. The output > is a string of all element values in the input xml without any tags. It > does not give any errors. That means the default rules are matched, which simply copies all text nodes and attribute values to the result tree. > > I am new to Xalan - any help is appreciated. Without seeing a stylesheet or source document, it's difficult to guess why you are not getting the expected result. Usually, when template rules don't match, it's a namespace problem. Perhaps you are transforming an XHTML document? The XHTML DTD adds a default namespace, which will affect how you need to define the match patterns in your templates. I suggest you check out the XSLT FAQ and consider subscribing to the Mulberry Technologies XSL list, which is the best forum for general XSL(T) questions. Dave