want to add xlm to site

Discussion in 'HTML' started by Paul Wheeler, Sep 25, 2005.

  1. Paul Wheeler

    Paul Wheeler Guest

    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
     
    Paul Wheeler, Sep 25, 2005
    #1
    1. Advertising

  2. 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
     
    David Dorward, Sep 25, 2005
    #2
    1. Advertising

  3. Paul Wheeler

    Toby Inkster Guest

    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
     
    Toby Inkster, Sep 25, 2005
    #3
  4. "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=-
     
    Travis Newbury, Sep 25, 2005
    #4
  5. Paul Wheeler

    Paul Wheeler Guest

    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
    >
     
    Paul Wheeler, Sep 25, 2005
    #5
  6. Paul Wheeler

    Jim Higson Guest

    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
     
    Jim Higson, Sep 26, 2005
    #6
    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. Its Just the Devil

    X-Tract: Create a reformatted XLM file...

    Its Just the Devil, Nov 7, 2003, in forum: XML
    Replies:
    0
    Views:
    472
    Its Just the Devil
    Nov 7, 2003
  2. Olivier Hoarau

    XLM and XSLT

    Olivier Hoarau, Nov 13, 2003, in forum: Python
    Replies:
    1
    Views:
    459
    =?ISO-8859-15?Q?Andr=E9?= Kelpe
    Nov 13, 2003
  3. fscked

    XLM prolgoue

    fscked, Jan 17, 2007, in forum: Python
    Replies:
    2
    Views:
    310
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Jan 17, 2007
  4. Replies:
    6
    Views:
    1,907
  5. Replies:
    4
    Views:
    181
    Ted Zlatanov
    Sep 13, 2006
Loading...

Share This Page