Re: [xsl] Combine two diff xmls - Sorting by date

Subject: Re: [xsl] Combine two diff xmls - Sorting by date
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 29 May 2008 13:26:35 +0200
sudheshna iyer wrote:

From xsl of File2.xml:
	 <xsl:apply-templates select="* |
document('File3.xml')/*"/>  ==> IS THIS CORRECT?
Step3: Now File2Xsl contains File2.xml and File3.xml

Step4: But when I process combined XML, each XML is
getting processed as two files. I
am not seeing one x

I think you should be able to do
<xsl:apply-templates
select="/Announcements/announcement | document('File3.xml')/Annoucements/announcement">
<xsl:sort select="translate(anc_date, '-', '')"
data-type="number"
order="descending"/>
</xsl:apply-templates>





--


	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread