Include Files in XML?

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

    #1

    Include Files in XML?

    I've searched and searched and can't seem to find an answer.

    With .shtml you would put <!--#include virtual="/top.shtml">

    With .php you would put <?php require 'top.php'?>

    But what would I use for XML pages? Is there a similar command and if so what is it?
  • Evan Webb

    #2
    Re: Include Files in XML?

    http://www.w3.org/TR/xinclude/

    I believe is what you're looking for. Of course, whatever parser you're
    working with might not support this... Good luck

    -Evan

    "Michael" <Michael4172@ho tmail.com> wrote in message
    news:9dcd9df6.0 408191052.6d6d5 848@posting.goo gle.com...[color=blue]
    > I've searched and searched and can't seem to find an answer.
    >
    > With .shtml you would put <!--#include virtual="/top.shtml">
    >
    > With .php you would put <?php require 'top.php'?>
    >
    > But what would I use for XML pages? Is there a similar command and if so[/color]
    what is it?


    Comment

    • Nomad

      #3
      Re: Include Files in XML?


      Try Using
      <include xlink:href="fil eName.fileType" >

      This is a problem I had encountered in the passed and using the xlin
      worked for me


      -
      Noma
      -----------------------------------------------------------------------
      Posted via http://www.forum4designers.co
      -----------------------------------------------------------------------
      View this thread: http://www.forum4designers.com/message111865.htm

      Comment

      Working...