Beginners XML/XSLT question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Greg

    #1

    Beginners XML/XSLT question

    I am beginning the process of writing a XSLT for XML to CSV. Is it
    possible to do this so that many XML files produce one CSV file?


    Thanks!
    Greg
  • Martin Honnen

    #2
    Re: Beginners XML/XSLT question

    Greg wrote:
    [color=blue]
    > I am beginning the process of writing a XSLT for XML to CSV. Is it
    > possible to do this so that many XML files produce one CSV file?[/color]

    Yes, XSLT 1.0 applies one XSLT stylesheet to one main XML source file
    but you can access other XML documents using the function named document
    e.g.
    <xsl:for-each select="documen t('whatever.xml ')//*">
    see
    http://www.w3.org/TR/xslt#document

    --

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

    Comment

    Working...