posted 23 years ago
Okay, suppose I have two XML files, story1.xml and story2.xml. Neither of the two XML files knows that the other exists. This is what the files look like:
story1.xml:
<STORY>
<HEADING>Sports Story of the Day</HEADING>
<TEXT>Sports text here.</TEXT>
</STORY>
story2.xml:
<STORY>
<HEADING>News Story of the Day</HEADING>
<TEXT>News text here.</TEXT>
</STORY>
Now, I want to generate the following html page:
<HTML>
<BODY>
<H2 ALIGN="CENTER">Sports Story of the Day</H2>
<P>
Sports text here.
<P>
<H2 ALIGN="CENTER">News Story of the Day</H2>
<P>
News text here.
<P>
</BODY>
</HTML>
Can I do this using one stylesheet??