[NAnt-users] XmlPoke XmlElement values

2012-07-09 Thread mwpowellhtx
Hello, Sounds like an obvious quesiton, but we've got a custom Xml configuration file that I'd like to poke the XmlElement values themselves: not necessarily their attributes. Reading this quick example, http://blog.richardadleta.com/2010/04/quick-example-of-how-to-xmlpoke-using.html, seems

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Bob Archer
o:spenning...@prosper.com] Sent: Monday, August 29, 2011 4:12 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] xmlpoke vs token replace for Config Files Bob, I have used XSLT extensively in the past. I am the only one here that has though. I was hoping to keep it all within the NAn

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Scott Pennington
/blog/SlowCheetahWebconfigTransformationSyntaxNo wGeneralizedForAnyXMLConfigurationFile.aspx BOb From: Scott Pennington [mailto:spenning...@prosper.com] Sent: Monday, August 29, 2011 2:50 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] xmlpoke vs token replace for Config Files

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Wilson, Brian
From: Scott Pennington [mailto:spenning...@prosper.com] Sent: Monday, August 29, 2011 3:08 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] xmlpoke vs token replace for Config Files Brian, This solution wont really work for us since we plan to have multiple dev environments and th

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Wilson, Brian
si.com] Sent: Monday, August 29, 2011 2:52 PM To: Scott Pennington; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] xmlpoke vs token replace for Config Files You might want to take a look at slow cheetah. http://www.hanselman.co

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Scott Pennington
a smaller install. Thanks Scott From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Monday, August 29, 2011 12:47 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] xmlpoke vs token replace for Config Files Good Afternoon, I use a less elegant design

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Wilson, Brian
urces Email: brian.wil...@dhr.alabama.gov<mailto:brian.wil...@dhr.alabama.gov> From: Scott Pennington [mailto:spenning...@prosper.com] Sent: Monday, August 29, 2011 1:50 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] xmlpoke vs token replace for Config Files This is a long post.

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Bob Archer
grammer Analyst, Associate Department of Human Resources Email: brian.wil...@dhr.alabama.gov<mailto:brian.wil...@dhr.alabama.gov> From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Monday, August 29, 2011 2:52 PM To: Scott Pennington; nant-users@lists.sourceforge.net Subject: Re: [NAnt-us

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Bob Archer
@lists.sourceforge.net Subject: [NAnt-users] xmlpoke vs token replace for Config Files This is a long post. The simple question is what methods have you chosen to maintain config files when deployed to multiple environments? I am in the process of reworking a set of build, package, install NAnt scripts that

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Christopher Brandt
I went through a similar process a few years ago and decided to switch from Token Replace to XML Poke. I think you've done a good job of documenting the strengths and weaknesses of each approach. in general I think XML Poke is cleaner. The only real problem I found was that XML Poke wouldn't work w

[NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Scott Pennington
This is a long post. The simple question is what methods have you chosen to maintain config files when deployed to multiple environments? I am in the process of reworking a set of build, package, install NAnt scripts that mainly use Token Replace and I am trying to decide if it is better to

Re: [NAnt-users] XmlPoke

2011-01-18 Thread Pento, Michael
: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Tuesday, January 18, 2011 10:19 AM To: 'nant-users@lists.sourceforge.net' Subject: Re: [NAnt-users] XmlPoke Can xmlpoke be used to replace an entire node with a completely new one or will I need to create a small program to do this?

Re: [NAnt-users] XmlPoke

2011-01-18 Thread Wilson, Brian
] Sent: Friday, January 14, 2011 5:14 PM To: 'nant-users@lists.sourceforge.net' Subject: [NAnt-users] XmlPoke Is there anyway to get XmlPoke this to "preservewhilespace"? BOb -- Protect Your Sit

[NAnt-users] XmlPoke

2011-01-14 Thread Bob Archer
Is there anyway to get XmlPoke this to "preservewhilespace"? BOb -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact

Re: [NAnt-users] XMLPoke with Xml processing instructions

2007-04-27 Thread Hassam, Alim
throws an exception when it tries to modify the value. -Alim From: Bob Archer [mailto:[EMAIL PROTECTED] Sent: April 27, 2007 4:49 PM To: Hassam, Alim; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] XMLPoke with Xml processing instructions Is this

Re: [NAnt-users] XMLPoke with Xml processing instructions

2007-04-27 Thread Bob Archer
@lists.sourceforge.net Subject: [NAnt-users] XMLPoke with Xml processing instructions Hi, I'm having trouble doing an xml poke on an xml processing instruction. My xml document contains a line like this: and I would like to update that version number from an nant task. I did the foll

[NAnt-users] XMLPoke with Xml processing instructions

2007-04-27 Thread Hassam, Alim
Hi, I'm having trouble doing an xml poke on an xml processing instruction. My xml document contains a line like this: and I would like to update that version number from an nant task. I did the following: but nant fails, it gives be the following error: updateVersionNumber:

Re: [NAnt-users] XMLPoke: What to do when file or element doesn't exist?

2005-12-12 Thread Gary Feldman
Loren Halvorson wrote: This is just an expansion on the idea of how you might use to generate an XML File: Gak! That looks awful. You can't see where the nant XML stops and the content XML begins. You can't look at a specific and tell whether

Re: [NAnt-users] XMLPoke: What to do when file or element doesn't exist?

2005-12-12 Thread Gary Feldman
Eric Williams wrote: I am working on a project where I am using a utility called XMLPreprocess which needs a input file in a format of /settings/properties/@name. That's not XML, and so couldn't be created with XMLPoke. Do you mean that as a string inside an XML file (e.g. /settings/proper

RE: [NAnt-users] XMLPoke: What to do when file or element doesn't exist?

2005-12-11 Thread Loren Halvorson
-users@lists.sourceforge.net Subject: RE: [NAnt-users] XMLPoke: What to do when file or element doesn't exist? You can maybe use the task for creating an xml file -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Williams Sent: Saturday, Decemb

RE: [NAnt-users] XMLPoke: What to do when file or element doesn't exist?

2005-12-11 Thread Loren Halvorson
You can maybe use the task for creating an xml file -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Williams Sent: Saturday, December 10, 2005 6:57 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] XMLPoke: What to do when file or

RE: [NAnt-users] XMLPoke: What to do when file or element doesn't exist?

2005-12-11 Thread budtse
nant-users@lists.sourceforge.net Onderwerp: [NAnt-users] XMLPoke: What to do when file or element doesn't exist? I am working on a project where I am using a utility called XMLPreprocess which needs a input file in a format of /settings/properties/@name. I would want to create this file at build time

[NAnt-users] XMLPoke: What to do when file or element doesn't exist?

2005-12-10 Thread Eric Williams
I am working on a project where I am using a utility called XMLPreprocess which needs a input file in a format of /settings/properties/@name. I would want to create this file at build time driven off of a nant.include file (I have that part done already). I was wondering what other people are

RE: [Nant-users] XMLPOKE Xpath assitance

2005-09-16 Thread Oberhofer, Klaus
.net > Subject: Re: [Nant-users] XMLPOKE Xpath assitance > > > > Hmm - just tried them both again - same error > > >/objects/[EMAIL PROTECTED]'Configuration']/constructor-arg/value > >and > >//[EMAIL PROTECTE

Re: [Nant-users] XMLPOKE Xpath assitance

2005-09-16 Thread Gert Driesen
bject: Re: [Nant-users] XMLPOKE Xpath assitance > > Hmm - just tried them both again - same error > > >/objects/[EMAIL PROTECTED]'Configuration']/constructor-arg/value > >and > >//[EMAIL PROTECTED]'Configuration']/constructor-arg/value > > here

Re: [Nant-users] XMLPOKE Xpath assitance

2005-09-16 Thread Richard Griffiths
Hmm - just tried them both again - same error >/objects/[EMAIL PROTECTED]'Configuration']/constructor-arg/value >and >//[EMAIL PROTECTED]'Configuration']/constructor-arg/value here's the target I'm using RC3 --- SF.Net email i

Re: [Nant-users] XMLPOKE Xpath assitance

2005-09-16 Thread erymuzuan
/objects/[EMAIL PROTECTED]'Configuration']/constructor-arg/value and //[EMAIL PROTECTED]'Configuration']/constructor-arg/value work fine with me cheers On 9/16/05, Richard Griffiths <[EMAIL PROTECTED]> wrote: > I have the following xml fragment > > > http://www.springframework.net"; > xm

[Nant-users] XMLPOKE Xpath assitance

2005-09-16 Thread Richard Griffiths
I have the following xml fragment http://www.springframework.net"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.springframework.net http://www.springframework.net/xsd/spring-objects.xsd";> NOF components for prototype

[Nant-users] XmlPoke Namepace problem

2005-06-30 Thread Fredrik T
Hi, I have a prolem using namespaces with XmlPoke. In the XML below, the row xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/data"; causes an "No matching nodes were found with XPath expression '/dataConfiguration/etc." If I remove that row, it works fine, but that is n

RE: [Nant-users] xmlpoke request

2004-05-26 Thread Noel Gifford
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 5:23 PM To: [EMAIL PROTECTED] Subject: [Nant-users] xmlpoke request All, I have an XML file that I want to use xmlpoke to expand to the following format <>

[Nant-users] xmlpoke request

2004-05-21 Thread Noel Gifford
All, I have an XML file that I want to use xmlpoke to expand to the following format <>

[Nant-users] XMLPoke not allowing null

2004-03-10 Thread Price, Henry
Title: XMLPoke not allowing null Hi, I'm using the in our scripts quite a bit - the only problem is that it won't take an empty value - fails with: '' is not a valid value for attribute 'value' of . An empty value is not allowed. An example of the script to generate it:

Re: [Nant-users] XMLPoke not allowing null

2004-03-10 Thread Gert Driesen
Henry, This is now fixed in cvs. Thanks for reporting this ! Gert - Original Message - From: "Price, Henry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 10, 2004 12:42 PM Subject: [Nant-users] XMLPoke not allowing null > Hi, > >

Re: [Nant-users] XMLPoke not allowing null

2004-03-10 Thread Gert Driesen
Title: XMLPoke not allowing null I don't have access to the source right now, but if you're correct I'll fix it later today ...   Gert - Original Message - From: Price, Henry To: '[EMAIL PROTECTED]' Sent: Wednesday, March 10, 2004 12:42

[Nant-users] XMLPoke not allowing null

2004-03-10 Thread Price, Henry
Title: XMLPoke not allowing null Hi, I'm using the in our scripts quite a bit - the only problem is that it won't take an empty value - fails with: '' is not a valid value for attribute 'value' of . An empty value is not allowed. An example of the script to generate it: