OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
Displaying characters in multiple lines in browser using java dom+xml+xsl+html
This page's ID:
30846
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
hello nimall, this is a forum, not a one stop help stop. You've not given us enough information to figure out the best way to do it. My guess would be your xml generator (correctly) encodes your tags, so you can't inject html at this stage. Google suggests this link: http://www.biglist.com/lists/xsl-list/archives/199908/msg00501.html but you could create a paragraph node per , well not line, but paragraph, in java. or do a [code] for (String line: text.split("\n") { doc.createTextNode(line); doc.createNode("<br>"); } [/code] I have the feeling you should start reading about this web stuff at the beginning. So long, ->Tyberius Prime
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail