Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6044767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:02:56+00:00 2026-05-23T07:02:56+00:00

This is a question about how to solve a possible, real, problem occurring when

  • 0

This is a question about how to solve a possible, real, problem occurring when deciding to use xml files to store data in a web application.

The scenario

Consider you want to build a web application in order to run a personal blog.
Well, sure, this application needs to store data, and the text is formatted using particular tools (like Markdown for example), where the written content is converted in html.

Sure my xml files will have to store html tags….

The problem

In my xml files, how can I store html data in order not to violate the xsd specified?

For example, if I try to store html tags… the xml validation will sure fail, I suppose…

But the one I mentioned is only one of the possible problems occurring when using xml (for example, databinding will suffer from any possible problem because of what I mentioed before?).
Can you tell what is the general approach to this problem (talk about patterns and best practices)?

Thankyou.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:02:57+00:00Added an answer on May 23, 2026 at 7:02 am

    To answer the portion of your question about stoing HTML in XML, in your xml file, surround your html in CDATA tags.

    <![CDATA[
    
    html
    
    ]]>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok this is a general question about how to solve this issue, not to
I was reading this question about how to parse URLs out of web pages
This question is about App domains and Sessions. Is it possible to have IIS
This question is a follow up to my previous question about getting the HTML
I just came across this question about initializing local variables. Many of the answers
I have a question about this question . I posted a reply there but
As kind of a follow up to this question about prefixes , I agree
This question is about removing sequences from an array, not duplicates in the strict
This question is about organizing the actual CSS directives themselves within a .css file.
This question is about using getter methods of a singleton object in worker threads.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.