2

Does anyone know how to keep xml tags in the order they where in when using xslt.
So lets say my document goes
<page>
<heading>Some Heading</heading>
<paragraph>...</paragraph>
<paragraph>...</paragraph>
<heading>Another heading</heading>
*More paragraphs
</page>
How would i keep the heading and paragraphs in order?

Comments
  • 0
    for-each can accept multiple paths as an "or" (|) expression.

    That'll allow you to process heading and para in same loop.
Add Comment