SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard wdmny's Avatar
    Join Date
    Jul 2000
    Location
    Here
    Posts
    1,010
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Storing HTML Data in XML

    I am working on a forum that uses XML to do all of its formatting and have run into a problem. See, the post data will be formatted in the script and the forum tags turned to HTML (ex: [ b ] = < b >).

    When I use XSL to format my data, it drops the HTML tags. If I use the <![CDATA[]]>, they stay, but you can see them (HTML encoding). What I need is for them to remain untouched (ex: the data inside is not processed by the XSL).

    Code:
    <pbody>some sample post <b>Hey!</b></pbody>
    Last edited by wdmny; Jun 3, 2002 at 09:24.

  2. #2
    The doctor is in... silver trophy MarcusJT's Avatar
    Join Date
    Jan 2002
    Location
    London
    Posts
    3,509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Wizard wdmny's Avatar
    Join Date
    Jul 2000
    Location
    Here
    Posts
    1,010
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks M@rco. I tried to search before posting this but no results came up that matched my problem.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •