jacqueline fabius wrote:
> I am attaching the xml file that I am speaking of. It is called 
> 'data.xml'. The file contains various section of a website that has been 
> built in Flash, and calls in the dynamic data. The specific section that 
> there is an issue with is called 'blog'. Within there you have one block 
> section split into two called 'grandpa' and 'grandson'. Within each of 
> these,( 'grandpa' and 'grandson'), there are numerous blocks of text.
> 
> The area of interest is the 'body' area. When it is put on the server, 
> there is a tremendous amount of hidden characters that create unwanted 
> space and undesired alignment of the text.
> 
> The way the text should be seen is-  aligned left without any strange 
> alignment issues.
> 
> The data.xml file is attached, and the site that the data.xml 
> information is seen on is www.acenturyoftravel.com/beta.html. I have 
> used XML Mind to put my text in as well as everything else.
> 

There is nothing wrong with the file you sent me. A software is expected 
to accept the UTF-8 encoding. A software is not expected to behave 
differently just because the XML file contains more or less whitespace 
(unless the xml:space="preserve" attribute is set on an element). In our 
opinion, the culprit is the sofware that consumes the XML file created 
using XMLmind XML Editor, and not XMLmind XML Editor.

This being said, we'll try to solve your problem:

[1] Change the encoding from UTF-8 to US-ASCII. May be your software 
will prefer to see the `` and '' characters as "“" and "”" 
rather than UTF-8 double bytes.

Use Options|Preferences, Save section. Select "US-ASCII" using the 
"Encoding" combobox.

[2] We'll now remove the indentation added by XMLmind XML Editor.

* Non-indented style [a] Use Options|Preferences, Save section. Uncheck 
the "Indent" checkbox.

This will give you attached file data_A.xml. Ugly, but 100% conforming.

* Non-indented style [b] Use Options|Preferences, Save section.
Check the "Indent" checkbox.
Specify Indentation = 0
Specify Max. Line Length = 10000000
Uncheck "Add Open Lines".

This will give you attached file data_B.xml.

More Information in 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.guiutil.PreferencesEditorDialog.html#saveOptions

If after doing [1] then [2][a] or [2][b], your software still does not 
like the XML created using XMLmind XML Editor, then I'm affraid that 
you'll have to use another XML Editor (because the XML we generate is 
100% conforming and there is nothing we could fix).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: data_A.xml
Type: text/xml
Size: 33688 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20081017/3a6edec6/attachment.xml
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: data_B.xml
Type: text/xml
Size: 33518 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20081017/3a6edec6/attachment-0001.xml
 

Reply via email to