[Home] [By Thread] [By Date] [Recent Entries]
Senthilkumaravelan K wrote:
Hi Senthil, Text output does what you say it does: it outputs text. No tags, no PI's, no comment nodes, just text. It also won't indent. This is per the spec and quite obvious when you come to think of it: with text you are in control yourself, 100%, so adding whitespace would be a violation of that principle. Using value-of on a full document (why are you using //?, you could just as well use the absolute path) with output method set to html will only include the whitespace that is inside the nodes and will not add any extra whitespace. This is basically the same as not using any templates at all: the default template of any XSLT does exactly that. Q: what are you after? Can you give an example of what you want so we could help you get there, with or without text output? HTH, Cheers, -- Abel --
|

Cart



