Lists Home |
Date Index |
- To: firstname.lastname@example.org
- Subject: How to include one xml file in another?
- From: Craig Hagerman <email@example.com>
- Date: Tue, 8 Nov 2005 00:19:55 +0900
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ck9ufuEjxHz4jptvRQoZ9bGuWXt3SN46ooo+T1cXeMYigY7+IcaXcm4ZsNecqCX8rOHdxRHrw/YNJGYUjV2s7simPF9RTiLnyB1TVKprk42ORBGPy3DmZ1nTC02EFCm6OYVFz9hXrDyht06ccTiEfzdmZLr0n07BrBXuFzQmv9Y=
I am pretty new to XML and trying to learn more. I am trying to figure
out if something is possible, and if so how to do it...
I created a bash script on my server to create an xml / rss file of
podcasts as they are updated. What I wanted to do was have two files
which are merged such that
1. podcasts.xml contains ONLY <item>s of podcasts. This was I just
just append new podcasts to the end of this file.
2. feed.rss.xml contains everything else and is the external link.
(I had been thinking in PHP terms perhaps when I thought this out.)
After a bunch of searching and reading tutorials I THOUGHT that using
an <ENTITY> would do the trick for this... but no luck. Can anyone
tell me if it is possible to include / call / reference another file
from within an xml file... and if so how I am supposed to do it?