Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Managing Frequently changing content

Managing Frequently changing content

Scheduled Pinned Locked Moved ASP.NET
questioncssdesignbusinessxml
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mrchief_2000
    wrote on last edited by
    #1

    I have the following requirement: E.g., on the UI, I have a grid with a list of items (having an unique id) and next to those items, I have a info icon which has a brief description about the item. The "text" that goes in the description is supplied to me by business and they want to have an ability to change it without code changes. One way would be having an XML file like:

    <infotips>
    <infotip>
    <id>101</id>
    <name>Information 1</name>
    <infotext>This is a description of Information 1</infotext>
    </infotips>
    <infotip>
    <id>102</id>
    <name>Information 2</name>
    <infotext>This is a description of Information 2</infotext>
    </infotips>
    </infotips>

    The problem is that XML file can easily be messed up by a simple typo or a special character. Enclosing in CDATA would still have the vulnerability of inputting improper XML structure. So the question is, what is a good way to handle this type of scenario? Thx in advance.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups