<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/18/2013 10:45 AM, Lars Lars
wrote:<br>
</div>
<blockquote cite="mid:DUB112-W8C2C9F7BDFFC63C2A8105CAE40@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">
<div>Thank you for the feedback.</div>
<div> </div>
<div>We would like to avoid adding a dependency to a third party
lib for such a small task. Does CMake have any plans to
include ability to modifications xml files?</div>
<div> </div>
</div>
</blockquote>
You could make this a feature request of course and this is no way
up to me either way but I don't think it likely (at least not in the
near future).<br>
As far as I can tell there is currently no support for XSLT or XPath
within CMake itself or any of its currently used libraries.<br>
expat (which I think is the parser library currently available
within CMake) I assume has no support for this either.<br>
<br>
Depending on the complexity of your modification configure_file()
might suffice to generate XML files based on an XML template with
simple variable substitutions?<br>
Might also be feasible to limit this to a small portion of the XML
file assuming that what ever consumes the files supports one of the
XML include mechanisms.<br>
<br>
Nils<br>
</body>
</html>