[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Help: Linking 2 XML documents
Hello, I need some advice regarding how to display an XML document on a web site. Here is the scenario: I have two xml HTTP feeds which I retrieve from a partner web site via the Microsoft.XMLHTTP object. The first feed is a subset of the second as in: FEED 1 ====== <?xml version="1.0" ?> <News> <StoryDate>17 June, 2001</StoryDate> <FullStory> <Commodity>S&P 500</Commodity> <Group>indices</Group> <BaseSymbol>SP</BaseSymbol> <Story>Equities end near unchanged to end dismal week</Story> </FullStory> <News> FEED2 ===== <?xml version="1.0" ?> - <News> <StoryDate>17 June, 2001</StoryDate> - <FullStory> <Commodity>S&P</Commodity> <BaseSymbol>SP</BaseSymbol> <Story>Equity futures ended around unchanged Friday as the market staged a recovery through the morning session to pare back sharp opening losses on a dismal week of trade. Early weakness stemmed from yet another stream of corporate warnings. However, ideas that the Fed may be a little more aggressive than the current 25 basis point rate cut that the market has priced in for the June FOMC meeting stemmed the flow of losses.Opening pressure had stemmed from earnings warnings out of Nortel and JDS Uniphase. JDS Uniphase warned Thursday afternoon that it expected revenues to be weaker amid continued contraction with in the telecoms sector. Adding to the tech sectors glum, Nortel Networks announced that it expects a second quarter operating loss of 48 cents a share sharply above street expectations for a loss of just 6 cents a share. Nortel also announced it was to shed some 10,000 jobs by this September. </Story> </FullStory> <News> What I need to do is display FEED1 with some kind of HTML link beside each <story> where when a user selects the link the bigger <story> from FEED2 is displayed. I have developed some simple XSL which transforms XML data into HTML for another project but I'm not sure how to do this. It is compounded by the fact that I could have many <Story> entries in a single feed. Any help or advice would be greatly appreciated.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|