Question:
I'm writing my resume in XML and I'm a little confused as to how I
format the following
Imagine this as list items. or bulleted points in MS-Word
Senior Java developer on e-commerce web application to vend
digital images to customers.
Wrote administration tools using Java Servlet API, JSP and
JDBC 2.0, HTML 4.0 to Oracle 8i. Used JRun 3.0 as the
servlet engine, IIS 4.0 as the development web server.
Designed and implemented application enhancements using
model two architecture guidelines ie. RequestDispatcher to
separate presentation from business logic in JSPs.
....
As each accomplishment is essentially one line how do I ensure that
each point will be seen as one line but as I break a line in the source
document how can I be sure that it'll use a space b/w the words for
each line break within an accomplishment?
Do I have to use a CDATA?
Answer:
You simply need to tell your formatting application to ignore any
line breaks within the start and end tags, and add
the desired space (that is, line breaks) _after_ an
end tag.
Or do I misunderstand you? If you tell the formatting app to ignore
the line breaks, you either need a very wide page or a very small font
for your resumé. Why not allow the line breaks within each item
whenever the formatting application sees it fit and add some extrea
space or some other formatting device to separate the items from one
another?
What do you use for formatting?
Your question really has very little to do with XML as such, and all
to do with how you present the information in the XML document.