Click here to Skip to main content
15,924,553 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: please help..About XML- RPC Pin
prashantarun10-Oct-05 20:37
prashantarun10-Oct-05 20:37 
GeneralRe: please help..About XML- RPC Pin
Marc Soleda10-Oct-05 22:38
Marc Soleda10-Oct-05 22:38 
QuestionHELP FOR NEWBIE! Pin
dgap7-Oct-05 13:43
dgap7-Oct-05 13:43 
QuestionnoXPath and multi-part element question Pin
RB@Emphasys5-Oct-05 8:37
RB@Emphasys5-Oct-05 8:37 
AnswerRe: noXPath and multi-part element question Pin
RB@Emphasys5-Oct-05 8:42
RB@Emphasys5-Oct-05 8:42 
QuestionHow create image with SVG and JavaScript? Pin
Anonymous4-Oct-05 1:08
Anonymous4-Oct-05 1:08 
QuestionLINKING OF XML AND WML Pin
ravi raman3-Oct-05 5:55
ravi raman3-Oct-05 5:55 
QuestionNesting Invalid HTML in XML Docs Pin
callingshotgun28-Sep-05 18:28
callingshotgun28-Sep-05 18:28 
I'm attempting to put together an XML format for posting/migrating blog data, and while I'm in the design phase, I came across an interesting question.

What's the best way to take HTML that may or may not be valid, and nest it in an XML document, while still keeping the XML valid?

I'm trying to make it so that the data can be migrated between all manner of blogging apps (LJ, diaryland, self-hosted ones like Wordpress, Pivot, B2Evolution), and most of them have their own unique quirks that break valid XML (some, for instance, use <p> instead of <p />) if just dropped in there.


Is there some "comment" element, or other way of flagging chunks of data that shouldn't be explicitly validated?

Should I just leave it up to the software processing the data to replace all "keyword" type characters (<> etc) with their HTML equivalents? &lt; &rt; etc... The problem with this approach, is that there are a ton of these, and I don't want to place undo stress on those writing the software to deal with this format.

Any ideas on valid ways to tell an XML parser "this is valid, just ignore it", or simpler ways to store unvalidated HTML in a valid XML doc, or in general just ideas as to what approach I should take?

Oh, if you want to follow the progress of the format,
http://www.callingshotgun.net/drupal

Much appreciated.

-Alex
AnswerRe: Nesting Invalid HTML in XML Docs Pin
jkersch29-Sep-05 4:08
jkersch29-Sep-05 4:08 
GeneralRe: Nesting Invalid HTML in XML Docs Pin
callingshotgun29-Sep-05 8:24
callingshotgun29-Sep-05 8:24 
Questionxalan? Pin
Member 194743127-Sep-05 2:32
Member 194743127-Sep-05 2:32 
AnswerRe: xalan? Pin
Christian Graus27-Sep-05 3:17
protectorChristian Graus27-Sep-05 3:17 
GeneralRe: xalan? Pin
Member 194743127-Sep-05 3:29
Member 194743127-Sep-05 3:29 
GeneralRe: xalan? Pin
Christian Graus27-Sep-05 3:37
protectorChristian Graus27-Sep-05 3:37 
Question.NET XmlSerializer question Pin
Ivanets26-Sep-05 1:11
Ivanets26-Sep-05 1:11 
AnswerRe: .NET XmlSerializer question Pin
NewbieDude8-Feb-06 20:16
NewbieDude8-Feb-06 20:16 
Questionconvert interbase databasefile into sql server database Pin
briju24-Sep-05 0:02
briju24-Sep-05 0:02 
QuestionInsert .gif image in XSLT Pin
Anonymous23-Sep-05 3:55
Anonymous23-Sep-05 3:55 
AnswerRe: Insert .gif image in XSLT Pin
Christian Graus27-Sep-05 3:20
protectorChristian Graus27-Sep-05 3:20 
QuestionCan i make an XML file as my Database Pin
Member 229953123-Sep-05 1:48
Member 229953123-Sep-05 1:48 
AnswerRe: Can i make an XML file as my Database Pin
Christian Graus27-Sep-05 3:15
protectorChristian Graus27-Sep-05 3:15 
Generalxml and xslt Pin
Kar Han21-Sep-05 19:44
Kar Han21-Sep-05 19:44 
GeneralRe: xml and xslt Pin
David Stone21-Sep-05 20:22
sitebuilderDavid Stone21-Sep-05 20:22 
GeneralRe: xml and xslt Pin
toxcct21-Sep-05 21:21
toxcct21-Sep-05 21:21 
GeneralRe: xml and xslt Pin
Jon Newman21-Sep-05 22:42
Jon Newman21-Sep-05 22:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.