替代的XInclude [英] Alternative to XInclude

查看:176
本文介绍了替代的XInclude的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,是的XInclude 不支持.NET。

As far as I know there is no support for XInclude in .net.

我想利用同一种机制的分层组织XML配置文件。我的意思是我有一个顶层XML配置文件中引用特定的XML文件。我的配置是配置群集专用于一个特定的模块。

I'd like to leverage the same kind of mechanism for hierarchically organized XML configuration files. I mean I have a top-level XML config file referencing specific Xml files. My configuration is a cluster of configurations dedicated to one particular module.

我应该怎么办呢? (或者,也许我为什么要那么做。)

How should I do it ? (Or maybe why I shouldn't do it..)

推荐答案

首先,对于XInclude的一些第三方支持.NET的 XInclude.NET在codePLEX

First of all, there is some 3rd party support for XInclude in .NET XInclude.NET on Codeplex.

如果你问,因为配置文件,它们都有某种相同的功能集结在configSource属性,看到这的文章描述它。

If you are asking because of the configuration files, they have some sort of the same functionality build-in with configSource attribute, see this article describing it.

这篇关于替代的XInclude的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆