Re: XSLT question

2007-03-08 Thread David Bertoni
Indrajit Bhattacharya wrote: Dave, pls. find attached the .xsl file. This stylesheet does not match the previous input document snippets you provided. Can you provide some input that can be used to test the stylesheet? Dave

Re: Re: XSLT question

2007-03-06 Thread Indrajit Bhattacharya
Dave, pls. find attached the .xsl file. Thanks, Indrajit   On Tue, 06 Mar 2007 David Bertoni wrote : >Indrajit Bhattacharya wrote: >>Hi Dave, >> >>Awaiting your reply. > >And still you did not show us the stylesheet, so I have no idea what might be >going on. Also, I have no idea why using th

Re: XSLT question

2007-03-05 Thread David Bertoni
Indrajit Bhattacharya wrote: Hi Dave, Awaiting your reply. And still you did not show us the stylesheet, so I have no idea what might be going on. Also, I have no idea why using the Xerces-C wrapper would result in different behavior. It could be a bug in the Xalan-C wrapper classes, or i

Re: Re: Re: XSLT question

2007-03-03 Thread Indrajit Bhattacharya
Hi Dave, Awaiting your reply. Another query: When I call writeToString() method of the DOMDocument and pass a DOMNode to the function, the resulting string gives the string equivalent of the DOM node, but it also gives the namespaces information as xmlns attribute. This I want to avoid. Please

Re: Re: XSLT question

2007-02-27 Thread Indrajit Bhattacharya
Dave, Another observation: Those extra whitespaces are not coming when I do file to file transform using the same XSL file. Only when I parse the same file, and do DOMDocument to file transform, those whitespaces are coming. So, it seems that XSL is okay. Isn't it ? Is any setting required on th

Re: XSLT question

2007-02-25 Thread David Bertoni
Indrajit Bhattacharya wrote: Dave, XMLPlatformUtils::Terminate() problem is solved. Thanks very much for your suggestions. For the second part, I am attaching two XML snippets, original one and after transform. ... Without seeing the stylesheet, it's difficult to know why you are getting

Re: Re: XSLT question

2007-02-25 Thread Indrajit Bhattacharya
Dave, XMLPlatformUtils::Terminate() problem is solved. Thanks very much for your suggestions. For the second part, I am attaching two XML snippets, original one and after transform. Original XML: Val1 Val2 Val3 Val4 After tr

Re: Re: XSLT question

2007-02-22 Thread Indrajit Bhattacharya
Dave, Thank you very much for your reply. I shall do what you have suggested for both the problems, and let you know. Thanks, Indrajit  On Thu, 22 Feb 2007 David Bertoni wrote : >Indrajit Bhattacharya wrote: >>Hi Dave, >> >>Thanks for your reply. >> >>Please see the function below, which trans

Re: XSLT question

2007-02-22 Thread David Bertoni
Indrajit Bhattacharya wrote: Hi Dave, Thanks for your reply. Please see the function below, which transforms a xerces document successfully. Please provide your comments whether its okay or not. I am having two problems though: 1. It crashes when I uncomment XMLPlatformUtils::Terminate(); at

Re: Re: XSLT question

2007-02-22 Thread Indrajit Bhattacharya
Hi Dave, Thanks for your reply. Please see the function below, which transforms a xerces document successfully. Please provide your comments whether its okay or not. I am having two problems though: 1. It crashes when I uncomment XMLPlatformUtils::Terminate(); at the end of the function. 2. I s

Re: XSLT question

2007-02-21 Thread David Bertoni
Indrajit Bhattacharya wrote: Hi, I have yet another query and need help from you. This is regarding XSLT. I have application data as Xercesc DOM nodes. Can I do XSLT transform on the root node ? In the sample XalanTransform, it takes one input XML file, one XSL file and produces an output fil