Re: [xml] (Hacky) XML includes
- From: Jason Viers <lists beanalby net>
- To: Michael Abbott <mabster internode on net>
- Cc: xml gnome org
- Subject: Re: [xml] (Hacky) XML includes
- Date: Wed, 22 Feb 2006 09:54:47 -0500
Michael Abbott wrote:
As an example for an included file:
<AnElement>
blah
</AnElement>
<AnotherElement>
blah
</AnotherElement>
If that's the full, exact contents if an included file, then the problem
is that XML documents can only have 1 root node. Just wrap the entire
contents in another tag.
<elements>
<AnElement>blah</AnElement>
<AnotherElement>blah</AnotherElement>
...
</elements>
That should stop the technical problem, but it'd definitely be good to
look into using real XIncludes that Daniel mentioned.
Jason
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]