XmlPoke XmlElement values
[email protected] Mon, 09 Jul 2012 17:53:18 -0400
| Newsgroups | gmane.comp.windows.dotnet.nant.user |
|---|---|
| Message-ID | <[email protected]> |
--===============5124611699134735240== Content-Type: multipart/alternative; boundary="========GMXBoundary270191341870798284106" --========GMXBoundary270191341870798284106 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 as though I should be able to do this? Consider, for instance, say I've got Xml in the following schema: <!-- i.e. the expected schema. --> <Config> <App> <Path>Test</Path> <App> </Config> Or even: <Config> <!-- i.e. Path hasn't been set yet. --> <App /> </Config> Or: <!-- i.e. nothing has been set yet. --> <Config /> Thank you... --========GMXBoundary270191341870798284106 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <span style=3D'font-family:Verdana'><span style=3D'font-size:12px'>Hello,<b= r />=20 <br />=20 Sounds like an obvious quesiton, but we've got a custom Xml configuration f= ile that I'd like to poke the XmlElement values themselves: not necessarily= their attributes.<br />=20 <br />=20 Reading this quick example, http://blog.richardadleta.com/2010/04/quick-exa= mple-of-how-to-xmlpoke-using.html, seems as though I should be able to do t= his?<br />=20 <br />=20 Consider, for instance, say I've got Xml in the following schema:<br />=20 <br />=20 <!-- i.e. the expected schema. --><br />=20 <Config><br />=20 <App><br />=20 <Path>Test</Path><br />=20 <App><br />=20 </Config><br />=20 <br />=20 Or even:<br />=20 <br />=20 <Config><br />=20 <!-- i.e. Path hasn't been set yet. --><br />=20 <App /><br />=20 </Config><br />=20 <br />=20 Or:<br />=20 <br />=20 <!-- i.e. nothing has been set yet. --><br />=20 <Config /><br />=20 <br />=20 Thank you...</span></span> --========GMXBoundary270191341870798284106-- --===============5124611699134735240== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ --===============5124611699134735240== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ NAnt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users --===============5124611699134735240==--