1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

xml error, html tag inside the value.

Discussion in 'XML & RSS' started by mahmood, Sep 21, 2006.

  1. #1
    I am trying to create a xml file but I get errors. Lets say I have a text like this:

    "this is the first line of the text<br/>this is the second line of text"

    Now I want to create a tag and name it <myText>, so it would be like this:

    <myText>this is the first line of the text<p>this is the second line of text</p></myText>

    I get this error:
    XML Parsing Error: mismatched tag. Expected: </myText>

    Seems to me that the "<p>" inside the text cause the error. Am I right and what do I do?
    mahmood, Sep 21, 2006 IP