xsl-list
[Top] [All Lists]

ordering problem

2004-02-03 10:12:30
Hello,
I am writing a stylesheet for processing one xml-document like that: 
<layout>
    <fact>preco_da_chamada</fact>
    <group id="grupo">
      <fact>bonus_atr_medio</fact>
      <fact>desconto</fact>
      <fact>montante_desc_medio</fact>
    </group>
    <fact>montante_medio</fact>

i want to processe this document orderly, and in my stylesheet i have:
        <xsl:template match="report:layout">
            <xsl:apply-templates select="report:group"/>
            <xsl:apply-templates select="report:fact"/>
        </xsl:template>

i.e. the xml is processed in this order, first the groups and then the
facts, and i want this to processe it in the same order as i have in my
xml-document.


Any hint?
Thank you in advance,
Márcio





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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