Click here to Skip to main content
15,909,091 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: XPath Q: How to select into a NodeList? Pin
Dustin Metzgar29-Jun-06 5:50
Dustin Metzgar29-Jun-06 5:50 
GeneralRe: XPath Q: How to select into a NodeList? Pin
matthias s.29-Jun-06 6:20
matthias s.29-Jun-06 6:20 
Questionwhere did the whitespace go? [modified] Pin
Bluebamboo29-Jun-06 5:09
Bluebamboo29-Jun-06 5:09 
AnswerRe: where did the whitespace go? Pin
Dustin Metzgar29-Jun-06 5:48
Dustin Metzgar29-Jun-06 5:48 
GeneralRe: where did the whitespace go? Pin
Bluebamboo29-Jun-06 6:01
Bluebamboo29-Jun-06 6:01 
GeneralRe: where did the whitespace go? Pin
Dustin Metzgar29-Jun-06 6:48
Dustin Metzgar29-Jun-06 6:48 
GeneralRe: where did the whitespace go? Pin
Bluebamboo29-Jun-06 9:59
Bluebamboo29-Jun-06 9:59 
GeneralRe: where did the whitespace go? Pin
Dustin Metzgar29-Jun-06 10:27
Dustin Metzgar29-Jun-06 10:27 
In one situation where I needed the HTML to look exactly a certain way, I changed my output type from HTML to Text. This way, the stylesheet had to pay more attention to me. The stylesheet was harder to write because you have to enclose things in <xsl:text> tags, but it got the job done. To do a new line, you can do something like this:
<xsl:text>
</xsl:text>
or
<xsl:text>&#xD;&#xA;</xsl:text>

Even if the target is set to Text, XSL still likes to get rid of whitespace, so it's a lot of trial and error.

I hope that helps. If you find an easier solution, I'd be happy to hear it!




Logifusion[^]
GeneralRe: where did the whitespace go? [modified] Pin
Bluebamboo29-Jun-06 11:51
Bluebamboo29-Jun-06 11:51 
GeneralRe: where did the whitespace go? Pin
Dustin Metzgar29-Jun-06 14:03
Dustin Metzgar29-Jun-06 14:03 
GeneralRe: where did the whitespace go? Pin
Bluebamboo29-Jun-06 14:57
Bluebamboo29-Jun-06 14:57 
GeneralRe: where did the whitespace go? Pin
Dustin Metzgar30-Jun-06 3:01
Dustin Metzgar30-Jun-06 3:01 
GeneralRe: where did the whitespace go? Pin
Tuwing.Sabado3-Jul-06 19:59
Tuwing.Sabado3-Jul-06 19:59 
GeneralRe: where did the whitespace go? Pin
Bluebamboo4-Jul-06 0:28
Bluebamboo4-Jul-06 0:28 
QuestionLonger text with special characters in xml files? Pin
matthias s.28-Jun-06 1:30
matthias s.28-Jun-06 1:30 
AnswerRe: Longer text with special characters in xml files? Pin
Igor Sukhov28-Jun-06 20:25
Igor Sukhov28-Jun-06 20:25 
GeneralRe: Longer text with special characters in xml files? Pin
matthias s.29-Jun-06 3:08
matthias s.29-Jun-06 3:08 
QuestionOf nodes or attributes [modified] Pin
Malcolm Smart27-Jun-06 0:36
Malcolm Smart27-Jun-06 0:36 
AnswerRe: Of nodes or attributes Pin
Igor Sukhov27-Jun-06 19:59
Igor Sukhov27-Jun-06 19:59 
GeneralRe: Of nodes or attributes Pin
Malcolm Smart27-Jun-06 22:02
Malcolm Smart27-Jun-06 22:02 
GeneralRe: Of nodes or attributes Pin
Igor Sukhov28-Jun-06 14:11
Igor Sukhov28-Jun-06 14:11 
GeneralRe: Of nodes or attributes Pin
Malcolm Smart28-Jun-06 21:28
Malcolm Smart28-Jun-06 21:28 
Questionhow to get current date and time in XSL FO Pin
Rizwan Bashir26-Jun-06 23:23
Rizwan Bashir26-Jun-06 23:23 
AnswerRe: how to get current date and time in XSL FO Pin
Dustin Metzgar29-Jun-06 9:05
Dustin Metzgar29-Jun-06 9:05 
AnswerRe: how to get current date and time in XSL FO Pin
Dustin Metzgar29-Jun-06 9:10
Dustin Metzgar29-Jun-06 9:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.