XSLT and Multiple XML Files

Discussion in 'XML' started by Greg Esres, May 17, 2007.

  1. Greg Esres

    Greg Esres Guest

    I have two xml files, one with boilerplate and another with variable
    text that needs to go into empty nodes in the boilerplate. I could
    put the boilerplate into the Xsl file, but I would rather not do it
    that way because

    1) The boilerplate can be structured more nicely in an xml file, and
    2) I'd like to have a unified structured document prior to
    transforming it.

    Any hints as to how to proceed?

    Thanks!
    Greg Esres, May 17, 2007
    #1
    1. Advertising

  2. Greg Esres wrote:
    > I have two xml files, one with boilerplate and another with variable
    > text that needs to go into empty nodes in the boilerplate. I could
    > put the boilerplate into the Xsl file, but I would rather not do it
    > that way because
    >
    > 1) The boilerplate can be structured more nicely in an xml file, and
    > 2) I'd like to have a unified structured document prior to
    > transforming it.
    >
    > Any hints as to how to proceed?


    You can read in and process the second XML document using the XSLT
    function named 'document':
    <http://www.w3.org/TR/xslt#document>


    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
    Martin Honnen, May 17, 2007
    #2
    1. Advertising

  3. Greg Esres

    Greg Esres Guest

    Martin Honnen wrote:

    <<You can read in and process the second XML document using the XSLT
    function named 'document': <http://www.w3.org/TR/xslt#document>>>

    Thanks, I'll check into that.
    Greg Esres, May 17, 2007
    #3
    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. Stylus Studio
    Replies:
    0
    Views:
    661
    Stylus Studio
    Aug 3, 2004
  2. loveNUNO
    Replies:
    2
    Views:
    908
    loveNUNO
    Nov 20, 2003
  3. Replies:
    2
    Views:
    719
    Henry S. Thompson
    Oct 19, 2005
  4. Replies:
    4
    Views:
    672
  5. Replies:
    4
    Views:
    952
    M.E.Farmer
    Feb 13, 2005
Loading...

Share This Page