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
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
/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
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
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
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
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.
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
@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
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
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
: 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?
]
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
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
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
@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
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:
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
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
-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
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
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
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
.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
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
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
/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
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
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
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
<>
All,
I have an XML file
that I want to use xmlpoke to expand to the following format
<>
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:
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,
>
>
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
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:
35 matches
Mail list logo