Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > want to add xlm to site

Reply
Thread Tools

want to add xlm to site

 
 
Paul Wheeler
Guest
Posts: n/a
 
      09-25-2005
i want to add some info in xlm to my web site. what does the code for the
xml have to look like and what do i need to add to my html


 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      09-25-2005
Paul Wheeler wrote:

> i want to add some info in xlm to my web site. what does the code for the
> xml have to look like and what do i need to add to my html


It sounds like you don't know what XML is, it certainly can't just be "added
to HTML" (Well, not in any standard, sane, or well supported way). Why do
you want to use it?

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
 
 
 
Toby Inkster
Guest
Posts: n/a
 
      09-25-2005
Paul Wheeler wrote:

> i want to add some info in xlm to my web site. what does the code for the
> xml have to look like and what do i need to add to my html


<XMP>... Put your XML here ...</XMP>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Now Playing ~ ./tegan_and_sara/this_business_of_art/11_superstar.ogg

 
Reply With Quote
 
Travis Newbury
Guest
Posts: n/a
 
      09-25-2005
"Paul Wheeler" <> said:

> i want to add some info in xlm to my web site. what does the
> code for the xml have to look like and what do i need to add to
> my html
>
>


Sounds like someone learned a new term, xml.

What are you really trying to do?

--
-=tn=-
 
Reply With Quote
 
Paul Wheeler
Guest
Posts: n/a
 
      09-25-2005
Well i am trying to put in data that can be updated by just sending 1 file
instead of retyping my index.html file. i have seen a unoffical way of
linking a xml doc to a html file using the code <xml id="name"
src="name.xml"> it is looks like what i want but i can not get it to load on
to the page i am trying to add it too. can any one help.. and yes i am
teaching my self.

"Paul Wheeler" <> wrote in message
news:jpuZe.7849$TQ3.6422@trnddc05...
>i want to add some info in xlm to my web site. what does the code for the
>xml have to look like and what do i need to add to my html
>



 
Reply With Quote
 
Jim Higson
Guest
Posts: n/a
 
      09-26-2005
Paul Wheeler wrote:

> Well i am trying to put in data that can be updated by just sending 1 file
> instead of retyping my index.html file. i have seen a unoffical way of
> linking a xml doc to a html file using the code <xml id="name"
> src="name.xml"> it is looks like what i want but i can not get it to load
> on to the page i am trying to add it too. can any one help.. and yes i am
> teaching my self.


If retyping a HTML file is the problem then scripting is probably the
answer. Languages such as PHP specialise in generating the HTML for you.

You can convert XML files to XHTML (or any other XML-derived format) using
XSL, but it can be quite difficult to learn. PHP is probably easier and
usually comes with an XML parser which you can use to read your XML file
and output HTML. This (X)HTML is then sent to the browser.

Generally, XML other than XHTML shouldn't be sent to the browser unless
you're coding an AJAX app (if you don't know you are you're not). XML
itself has no rules how the browser should display it.

There are many good books available on PHP, and many websites with
introductions. This is probably where you should go next.

Jim
 
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
newbie using group by in XSL on XLM shall@uaex.edu XML 6 02-17-2011 05:48 PM
I want to create Site to Site VPN with Cisco PIX501 and Linksys RV082 thanhtike@gmail.com Cisco 1 09-10-2007 10:03 PM
XLM prolgoue fscked Python 2 01-17-2007 08:28 PM
XLM and XSLT Olivier Hoarau Python 1 11-13-2003 08:07 PM
X-Tract: Create a reformatted XLM file... Its Just the Devil XML 0 11-07-2003 06:44 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