xml parsing - A tool to automatically change and save a copy of XML files -
i need tool capable of taking template xml file , replicating several times,each time different values in various fields.
bonus points if tool has sort of api , can integrated c# applications.
you're looking xslt processor. there several.
since want integrate c#, you'd best served using msxml , xslcompiledtransform
class: https://msdn.microsoft.com/en-us/library/system.xml.xsl.xslcompiledtransform(v=vs.110).aspx
more documentation on xslt msdn: https://msdn.microsoft.com/en-us/library/14689742%28v=vs.110%29.aspx https://msdn.microsoft.com/en-us/library/ms256069%28v=vs.110%29.aspx
there other processors available though, such saxon or xalan. these used 'stand alone version' (or write simple console application in .net take in xslt file , xml file(s) parameter , run transformation repeatedly).
saxon home , personal use available here: http://saxon.sourceforge.net/. commercial versions available. xalan can found here: https://xml.apache.org/xalan-j/
Comments
Post a Comment