Re: How to loop through nodes of xml through xslt

2014-07-31 Thread varun bhatnagar
t 5:16 AM, varun bhatnagar > wrote: > > Hi, > > > > I have two xml files. > > > I am trying to fetch an output file which looks like this: > > > > Output.xml > > > The number of Procedure tag () can be different every time. > So I > > h

How to loop through nodes of xml through xslt

2014-07-30 Thread varun bhatnagar
Hi, I have two xml files. *File1.xml* ** ** ** * * ** * * ** ** * * ** * * * * ** * * ** ** * * ** ** *File2.xml* ** ** ** * * ** * * ** ** * * ** * *

Re: Removing xml element and strip extra space

2014-07-22 Thread varun bhatnagar
: < *I want to remove this space* :) On Tue, Jul 22, 2014 at 3:00 PM, Tim wrote: > On Tuesday, July 22, 2014 8:53:35 AM UTC-4, varun bhatnagar wrote: > > Hi, > > Thank you so much for the suggestion. > >

Re: Removing xml element and strip extra space

2014-07-22 Thread varun bhatnagar
tself in some way? Thanks, BR, Varun On Tue, Jul 22, 2014 at 2:23 PM, Monte Milanuk wrote: > On 2014-07-22, varun bhatnagar wrote: > > I want to strip the space between ** and ** > > Can anyone suggest a way out to do that? > > Look at str.rstrip() - by default it r

Removing xml element and strip extra space

2014-07-22 Thread varun bhatnagar
Hi, I am trying to play around with python and xslt. I have an xml and I want to transform it to another xml by deleting its one element. The xml is pasted below: I want to remove the tag and this is how my xsl file looks like: http://www.w3.org/1999/XSL/Transform";>

Re: xslt with python

2014-07-15 Thread varun bhatnagar
merged. I have to see how can I resolve the URI problem. //Varun On Tue, Jul 15, 2014 at 3:12 PM, Tim wrote: > On Tuesday, July 15, 2014 4:10:57 AM UTC-4, varun bhatnagar wrote: > > I am trying to merge two xmls using xslt in python but the content of > first xml is not getting

xslt with python

2014-07-15 Thread varun bhatnagar
I am trying to merge two xmls using xslt in python but the content of first xml is not getting copied. The rules written in xsl file created are correct because if I am executing it without python (directly from eclipse as I have xslt plugin installed) it is getting merged fine. Can anybody help me

Re: Does python support ATL Modelling Language?

2014-07-09 Thread varun bhatnagar
, still need to investigate). All these things I was doing using ATL. Anyways, I can still go through this and see if this works for me. /Varun On Wed, Jul 9, 2014 at 3:20 PM, William Ray Wing wrote: > On Jul 9, 2014, at 4:38 AM, varun bhatnagar wrote: > > > Hi, > > > >

Does python support ATL Modelling Language?

2014-07-09 Thread varun bhatnagar
Hi, I am trying to shift my application from JAVA to Python and in JAVA I am using ATL Transformations (modelling techniques). Is it possible to do that with Python, does python support ATL Transformations. If not is there any API/library/module which supports this? Any kind of help will be appre