From: Oleg T. <ol...@tk...> - 2006-02-02 10:30:25
|
Mohammad Al Adham wrote: > I am trying to use the XInclude .NET library in a certain way, which I > am not sure if it is supported. I'd like to preprocess my XML file( > which has xinclude tags) without depending on any internet rescource > (such as the namespace on http://www.w3.org/2001/XInclude). It seems > like I always have to define my XML the following way (otherwise, xi > will not be known): > > <catalog xmlns:xi="http://www.w3.org/2001/XInclude"> > <xi:include href="test.xml"/> > </catalog> > > If I am not connected to the internet, then I will not be able to do the > preprocessing because I do not have access to > http://www.w3.org/2001/XInclude. Any idea how I can work around this issue? No problem here. http://www.w3.org/2001/XInclude is just a namespace identifier, think of it as a unique string. XInclude.NET never tries to access it, this is just a way for XInclude.NET to recognize include and feedback elements. -- Oleg |