How do you have spaces in xml, it seems to stick spaces at the start and end but if you type and have spaces for words and or sentences it picks it up.

<record>
      <title xml:space="default"> 			My Terrible Friend 		</title>
			<author>The Pains of Being Pure At Heart</author>
			<mp3>sounds/ThePainsOfBeingPureAtHeart-MyTerribleFriend.mp3</mp3>
   </record>

which would show in scrolling title bar but spaces for title would be = my terrible friend, instead of = my terrible friend

am i missing something ?

XSLT processors see whitepsace within the stylesheet as literal text and outputs it as such.

To have better control, use the TEXT element.

<text>    My Text   </text>

The only whitespace preserved is the whitespace within the element.

If you use text elements, the parser views any other whitespace as insignificant and discards it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.