CodeSmith Community
Your Code. Your Way. Faster!

Read Settings from a XML File

Latest post 06-23-2008 11:08 PM by blake05. 3 replies.
  • 06-19-2008 6:14 AM

    • gifa
    • Not Ranked
    • Joined on 06-19-2008
    • Posts 5
    • Points 115

    Read Settings from a XML File

    Hi

    I would like to read some settings to generate code from a XML File. Is it possible?

     Thanks and Best Regards

    Giuseppe

     

    Filed under:
    • Post Points: 35
  • 06-19-2008 12:48 PM In reply to

    • blake05
    • Top 25 Contributor
    • Joined on 04-03-2008
    • Wisconsin
    • Posts 428
    • Points 7,810

    Re: Read Settings from a XML File

    Reply |Contact |Answer

    Hello Giuseppe,

    Please take a look at the sample xml templates that ship with CodeSmith. I think this is exactly what your looking for. Please keep in mind that since the template logic is written in C# or VB.Net, you can leverage all the power of the .Net framework inside of CodeSmith.

    Thanks

    -Blake

    Blake Niemyjski

    CodeSmith Tools, LLC Support Specialist

    Blog: http://windowscoding.com/blogs/blake/

    ----------------------------------------------------------------------
     Member of the .NetTiers team | Visit http://www.nettiers.com
    ----------------------------------------------------------------------

    Filed under:
    • Post Points: 35
  • 06-20-2008 1:04 AM In reply to

    • gifa
    • Not Ranked
    • Joined on 06-19-2008
    • Posts 5
    • Points 115

    Re: Read Settings from a XML File

    Hi Blake

     Thank you. I will try to understand those samples :-)

     Giuseppe

    • Post Points: 35
  • 06-23-2008 11:08 PM In reply to

    • blake05
    • Top 25 Contributor
    • Joined on 04-03-2008
    • Wisconsin
    • Posts 428
    • Points 7,810

    Re: Read Settings from a XML File

    Reply |Contact |Answer

    If you have any trouble understanding the examples, just let me know and I will help you. Also if you have any suggestions on the templates, please let me know as feedback is greatly appreciated.

    Thanks

    -Blake Niemyjski

    Blake Niemyjski

    CodeSmith Tools, LLC Support Specialist

    Blog: http://windowscoding.com/blogs/blake/

    ----------------------------------------------------------------------
     Member of the .NetTiers team | Visit http://www.nettiers.com
    ----------------------------------------------------------------------

    • Post Points: 5
Page 1 of 1 (4 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems