Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > including text files in an XHTML file

Reply
Thread Tools

including text files in an XHTML file

 
 
Judges1318
Guest
Posts: n/a
 
      08-03-2005

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.


 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      08-03-2005
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?Incl...ile_in_another



--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
 
 
 
Judges1318
Guest
Posts: n/a
 
      08-06-2005


David Dorward 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?Incl...ile_in_another
>


Thanks!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert xhtml to another xhtml using xslt Usha2009 XML 0 12-20-2009 01:13 PM
Including text From Other Pages or Text Files Elliot J HTML 4 08-06-2007 07:45 AM
Should I Convert Site To XHTML or XHTML mobile? chronos3d HTML 9 12-05-2006 04:46 PM
parse URL (href) from xhtml, xhtml -> text, for data hawat.thufir@gmail.com XML 7 02-08-2006 07:39 PM
Including inline XHTML elements in a Relax NG schema Morten W. Petersen XML 0 02-02-2004 01:26 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57