xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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:25:26 +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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor