xsl-list
[Top] [All Lists]

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

2008-05-29 04:29:18
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>