including text files in an XHTML file

Discussion in 'HTML' started by Judges1318, Aug 3, 2005.

  1. Judges1318

    Judges1318 Guest

    Hello,

    Is it possible to request automatic loading of a text file from
    an XHTML file, (i.e. to include some text in an XHTML file),
    and parse and display the whole?

    e.g.
    if somewhere in the xthml file there is a paragraph:

    <p>
    <include type="text" action="parse" href="http://x.y.z/text.txt" />
    </p>

    that would make the parser/browser fetch the file text.txt,
    include it in the current xhtml, and parse it.
    In other words, the content of the file text.txt would
    become a paragraph of the current xhtml file.

    Any help, direction, hint, received gratefully.
    Judges1318, Aug 3, 2005
    #1
    1. Advertising

  2. Judges1318 wrote:

    > Is it possible to request automatic loading of a text file from
    > an XHTML file, (i.e. to include some text in an XHTML file),
    > and parse and display the whole?


    http://www.allmyfaqs.com/faq.pl?Include_one_file_in_another



    --
    David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is
    David Dorward, Aug 3, 2005
    #2
    1. Advertising

  3. Judges1318

    Judges1318 Guest

    Judges1318, Aug 6, 2005
    #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. Morten W. Petersen
    Replies:
    0
    Views:
    436
    Morten W. Petersen
    Feb 2, 2004
  2. Replies:
    7
    Views:
    864
  3. Elliot J
    Replies:
    4
    Views:
    371
    Elliot J
    Aug 6, 2007
  4. Raman
    Replies:
    5
    Views:
    352
    Lew Pitcher
    Jun 7, 2008
  5. Nathan Beyer
    Replies:
    0
    Views:
    104
    Nathan Beyer
    Nov 15, 2009
Loading...

Share This Page