Cut and Paste ugliness correction:

<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="http://news.newsfeedsource.com/newsfeed.rss"/>

Charles Yates wrote:

see http://www.w3.org/TR/xslt#document

<xsl:apply-templates select="document('http://news.newsfeedsource.com/newsfeed.rss')/*"/>
or something like that.


also consider using XIncludeTransformer or CIncludeTransformer:

<document>
<stuff/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="http:// <http://www.reutershealth.com/eline.rdf>news.newsfeedsource.com/newsfeed.rss"/>
<morestuff/>
</document>



<map:generate src="document.xml"/> <map:transform type="xinclude"/> <map:transform type="xsl" src="mystylesheet.xsl"/> <map:serialize/>

Charles


Richard Cunliffe wrote:


Hi,



I want to call a RSS feed. Is it possible for the style sheet to use the XML document it is styling and the XML RSS feed.

How would I set up my sitemap to do this? And how would I call the two different XML files in my style sheet?







Thanks,



Richard.




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to