html into xml tag?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alex

    #1

    html into xml tag?

    hello! do u know how can i put html into and xml tag
    Example:

    <element><br> </element>

    i receive error "the page is not well formatted" ...

    Thanks!

    Alex




  • Kim André Akerø

    #2
    Re: html into xml tag?

    Alex wrote:
    hello! do u know how can i put html into and xml tag
    Example:
    >
    <element><br> </element>
    >
    i receive error "the page is not well formatted" ...
    That is because <brwill also be parsed by the XML parser. Instead,
    try this:

    <element><![CDATA[<br>]]></element>

    Sorry! We can't seem to find the resource you're looking for


    --
    Kim André Akerø
    - kimandre@NOSPAM betadome.com
    (remove NOSPAM to contact me directly)

    Comment

    Working...