Re: Coding issue with XML for word document

2017-02-08 Thread accessnewbie
> myBlurb = "My Favorite Cars - > My favorite cars are available at " + > myText + " > > What am I missing here? Sorry about posting in python group. My XML coding was embedded in python script. I will do better next time. The problem was with placement of tags. The following worked: myB

Re: Coding issue with XML for word document

2017-02-08 Thread Pavol_Lisy
From: Pavol Lisy On 2/7/17, Steven D'Aprano wrote: > On Mon, 06 Feb 2017 17:00:25 -0800, accessnewbie wrote: [...] >> But when I try to bold, it bombs. It does not seem to like either of >> these (+ myText + "") (separately or together) appended on the >> end. > > How are you trying to bold? If

Re: Coding issue with XML for word document

2017-02-08 Thread Deborah_Swanson
From: Deborah_Swanson@f38.n261.z1 From: Deborah_Swanson@f38.n261.z1 From: "Deborah Swanson" I don't see any Python in your code. The python.org list isn't generally familiar with Microsoft proprietary code, which is often quite different from other versions. Try asking this question in Microsof

Re: Coding issue with XML for word document

2017-02-08 Thread Deborah_Swanson
n261.z1 > Sent: Monday, February 06, 2017 9:52 AM > To: python-list@python.org > Subject: Re: Coding issue with XML for word document > > > From: "Deborah Swanson" > > I don't see any Python in your code. The python.org list > isn't generally familiar with Mi

Re: Coding issue with XML for word document

2017-02-07 Thread Pavol Lisy
On 2/7/17, Steven D'Aprano wrote: > On Mon, 06 Feb 2017 17:00:25 -0800, accessnewbie wrote: [...] >> But when I try to bold, it bombs. It does not seem to like either of >> these (+ myText + "") (separately or together) appended on the >> end. > > How are you trying to bold? If you're programming

Re: Coding issue with XML for word document

2017-02-07 Thread Deborah_Swanson
From: Deborah_Swanson@f38.n261.z1 From: "Deborah Swanson" I don't see any Python in your code. The python.org list isn't generally familiar with Microsoft proprietary code, which is often quite different from other versions. Try asking this question in Microsoft's Office/Word Document forums. Go

RE: Coding issue with XML for word document

2017-02-07 Thread Deborah Swanson
17 9:52 AM > To: python-list@python.org > Subject: Re: Coding issue with XML for word document > > > From: "Deborah Swanson" > > I don't see any Python in your code. The python.org list > isn't generally familiar with Microsoft proprietary code,

Re: Coding issue with XML for word document

2017-02-07 Thread Deborah_Swanson
From: "Deborah Swanson" I don't see any Python in your code. The python.org list isn't generally familiar with Microsoft proprietary code, which is often quite different from other versions. Try asking this question in Microsoft's Office/Word Document forums. Good luck! accessnew...@gmail.com w

Re: Coding issue with XML for word document

2017-02-06 Thread Steven D'Aprano
On Mon, 06 Feb 2017 17:00:25 -0800, accessnewbie wrote: > I am constructing a sentence to insert into a word xml template. My code > is below > > #Create a list > if len(myList) > 0: > if len(myList) > 1: What is myList? Where does it come from? > testText = list_format(myList) + "

RE: Coding issue with XML for word document

2017-02-06 Thread Deborah Swanson
I don't see any Python in your code. The python.org list isn't generally familiar with Microsoft proprietary code, which is often quite different from other versions. Try asking this question in Microsoft's Office/Word Document forums. Good luck! accessnew...@gmail.com wrote, on February 06, 2017