How i can add XML Code as TEXT in Blogger ?

Discussion in 'Blogging' started by geekblogger.org, Nov 9, 2009.

  1. #1
    Hi everyone,

    Please help me as i am stuck because i want to add XML Code as TEXT in Blogger ? , i have already tried BlOCKQUOTE and CODE but nothing works.

    Help me please !!

    You can see my signature, first one is my blog and i want solution for that blog. hope for the fast replies.
     
    geekblogger.org, Nov 9, 2009 IP
  2. Typo Tat

    Typo Tat Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What is it that's going wrong?

    If the problem is that Blogger tries to parse your code as HTML, replace all your "<" characters with "&lt;" and all your ">" with "&gt;".
     
    Typo Tat, Nov 10, 2009 IP
  3. andrewhudson1985

    andrewhudson1985 Peon

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    if i put &lt; , &gt; or &quote; they shown as it is. not converts in the < , > " format.
     
    andrewhudson1985, Nov 10, 2009 IP
  4. Typo Tat

    Typo Tat Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You sure? I just tried that. If looks like &gt; in "Edit Html" and "Compose" modes, but it looks the way it should both in the preview and in the post itself. I'm using the old post editor, by the way.
     
    Typo Tat, Nov 10, 2009 IP
  5. andrewhudson1985

    andrewhudson1985 Peon

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Have you tried with XML code ??? i want to put XML code in my Blog Post, and i am using Updated Editor, will try Old editor now., but with old editor also i am not able to put XML Code in Blog post.
     
    andrewhudson1985, Nov 10, 2009 IP
  6. Typo Tat

    Typo Tat Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Sure, it seems to work just fine for me. See on my test blog.

    The code I used is this:

    &lt;?xml version="1.0"?&gt;
    &lt;note&gt;
    &lt;to&gt;Tove&lt;/to&gt;
    &lt;from&gt;Jani&lt;/from&gt;
    &lt;heading&gt;Reminder&lt;/heading&gt;
    &lt;body&gt;Don't forget me this weekend!&lt;/body&gt;
    &lt;/note&gt;
     
    Typo Tat, Nov 10, 2009 IP
  7. dmssrinivas

    dmssrinivas Well-Known Member

    Messages:
    257
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #7
    Just see the post options below the post box. You can see "show HTML literally". Check that box and you are done. This will not show other HTML, it just shows the HTML you typed.
     
    dmssrinivas, Nov 11, 2009 IP
  8. andrewhudson1985

    andrewhudson1985 Peon

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    andrewhudson1985, Nov 13, 2009 IP