Difference between revisions of "Talk:XML Whitespace"

From TEIWiki
Jump to navigation Jump to search
(Created page with "There is not only the problem of unwanted leading and trailing white space: Significant white space may also inadvertently be removed by database applications. Explicitly protect...")
 
Line 1: Line 1:
 
There is not only the problem of unwanted leading and trailing white space: Significant white space may also inadvertently be removed by database applications. Explicitly protecting significant whitespace is ugly. Which of all spaces are involved? And what is the best way to go? This problem may be discussed in the article. Or is it already discussed implicitly --gerrit.bruening 06:08, 8 August 2012 (EDT)
 
There is not only the problem of unwanted leading and trailing white space: Significant white space may also inadvertently be removed by database applications. Explicitly protecting significant whitespace is ugly. Which of all spaces are involved? And what is the best way to go? This problem may be discussed in the article. Or is it already discussed implicitly --gerrit.bruening 06:08, 8 August 2012 (EDT)
 +
 +
The algorithm described in the section Mixed-Content Elements should apply to database applications. But it would be nice to add a section at the end giving an example not just in XSLT but in some database connection tool. If anyone has experience processing XML whitespace in mixed-content elements using a tool other than XSLT, please contribute sample code. [[User:John P. McCaskey|John P. McCaskey]] 10:31, 9 August 2012 (EDT)

Revision as of 16:31, 9 August 2012

There is not only the problem of unwanted leading and trailing white space: Significant white space may also inadvertently be removed by database applications. Explicitly protecting significant whitespace is ugly. Which of all spaces are involved? And what is the best way to go? This problem may be discussed in the article. Or is it already discussed implicitly --gerrit.bruening 06:08, 8 August 2012 (EDT)

The algorithm described in the section Mixed-Content Elements should apply to database applications. But it would be nice to add a section at the end giving an example not just in XSLT but in some database connection tool. If anyone has experience processing XML whitespace in mixed-content elements using a tool other than XSLT, please contribute sample code. John P. McCaskey 10:31, 9 August 2012 (EDT)