Name: Anonymous 2007-09-15 3:17 ID:LGEINEUQ
So.. say I'm representing posts in a database as XML.
<post>
<author>Anonymous</author>
<date>2007-09-15</date>
<title>Something</title>
<body>This is a <strong>formatted</strong> body.</body>
</post>
I want to eventually transform this with XSL..
The problem is, what do I do about the HTML? I don't know of a better way to represent it, and the posts will always have some sort of formatting contained within.
<post>
<author>Anonymous</author>
<date>2007-09-15</date>
<title>Something</title>
<body>This is a <strong>formatted</strong> body.</body>
</post>
I want to eventually transform this with XSL..
The problem is, what do I do about the HTML? I don't know of a better way to represent it, and the posts will always have some sort of formatting contained within.