Beginners XML/XSLT question

Discussion in 'XML' started by Greg, May 6, 2004.

  1. Greg

    Greg Guest

    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
     
    Greg, May 6, 2004
    #1
    1. Advertising

  2. Greg wrote:

    > 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?


    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="document('whatever.xml')//*">
    see
    http://www.w3.org/TR/xslt#document

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, May 6, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike

    XML beginners question

    Mike, Jul 13, 2004, in forum: Java
    Replies:
    6
    Views:
    461
  2. Stylus Studio
    Replies:
    0
    Views:
    773
    Stylus Studio
    Aug 3, 2004
  3. Replies:
    4
    Views:
    716
  4. jkflens
    Replies:
    2
    Views:
    1,548
    jkflens
    May 30, 2006
  5. Replies:
    18
    Views:
    2,816
    Joseph Kesselman
    Oct 4, 2006
Loading...

Share This Page