AJAX Forums

How can I add 2 blank lines between text in xml?

This is a discussion on How can I add 2 blank lines between text in xml? within the XML and XSLT forums, part of the Beginners AJAX category; Example: <pic13 name="Contacts" caption="This is the space where you can put in your own customised caption for each image. "/> How can I ...


Go Back   AJAX Forums > Beginners AJAX > XML and XSLT

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 11-28-2007, 05:17 PM   #1 (permalink)
Junior Member
 
Join Date: Nov 2007
Posts: 1
Rep Power: 0 Silent Heart is on a distinguished road
How can I add 2 blank lines between text in xml?

Example:
<pic13 name="Contacts" caption="This is the space where you can put in your own customised caption for each image. "/>

How can I bring 'put in your own customised caption for each image' to the next line?
__________________
Silent Heart is offline   Reply With Quote
Old 11-28-2007, 05:18 PM   #2 (permalink)
Junior Member
 
Join Date: Nov 2007
Posts: 1
Rep Power: 0 Dude X is on a distinguished road
Attributes cannot have a newline in them (at least not intuitivelly). I would suggest restructuring teh XML in your example to:
<pic13>
<name>Contacts</name>
<caption>This is the space where you can
put in your own customised caption for each image
</caption>
</pic13>
__________________
Dude X is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes



All times are GMT -4. The time now is 10:22 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com