aspose file tools*
The moose likes XML and Related Technologies and the fly likes xml content issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xml content issues" Watch "xml content issues" New topic
Author

xml content issues

Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi all,
i have primarily two problems.
1. i am getting newlines from the database in a filed value but how to put that in the xml?
when i view the file using vi editor it shows the newline (enter) where i have newline in the code but when i try to view the xml file using IE browser it doesn't show me the newline. all is in one line.
2. also, how to ignore the '&' symbol if that is there in my content for the xml file? we can't leave it as it is in the xml file as otherwise it is trying to look for entity and messes up. how to escape '&' character?
In general what are the special characters/symbols in the xml content that might cause problems. i don't have very complex data and i don't expect many weired characters from the input but i want to know the possibilities so that i can overcome the problem before it shows up

can anybody help me?
thank you.
maulin.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml content issues