RE: [xsl] why no indent here

Subject: RE: [xsl] why no indent here
From: Roelof Wobben <rwobben@xxxxxxxxxxx>
Date: Mon, 12 Dec 2011 12:58:05 +0000
I expected the content of the xml tag body in between these tags.

It now looks like this :



<div class="post-inner"/>
</div>



And I expected this output :



<div class="post-inner">

Naam : Tamara Wobben br />
 Geboorte gewicht : 2000 gram </br>
 Geboorte lengte : 44 cm. </br>
 Geboortedatum : 1 september 2005 </br>

</div>



Roelof











----------------------------------------
> Date: Mon, 12 Dec 2011 12:43:22 +0000
> From: davidc@xxxxxxxxx
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] why no indent here
>
> On 12/12/2011 12:25, Roelof Wobben wrote:
> > But no not a single character is shown.
>
> You really need to try to make your questions explicit to the problem
> that you are seeing. If I run the stylesheet you posted on the input you
> posted I get the following, in what way does that not meet your
> expectations. Do not debug an xslt by looking at the result in a
> browser, look at the generated html.
>
> <!DOCTYPE head
> PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> <head>
> <title>http://test.tamarawobben.nl</title>
> <link rel="stylesheet"
>
href="http://www.notepadchaos.com/wp-content/themes/notepad-chaos-v2/style.cs
s"
> type="text/css" media="screen"/>
> </head>
> <body>
> <div id="outer">
> <div id="container">
> <div id="search">
> <form method="get" id="searchform"
> action="http://www.notepadchaos.com/";>
> <input type="text" value="" name="s" id="s"
> class="txtField"/>
> <input type="submit" id="searchsubmit" class="btnSearch"
> value="Find It "/>
> </form>
> </div>
> <div id="title">
> <h2>Tamara Wobben</h2>
> </div>
> </div>
> <div id="content">
> <div class="col01">
> <div class="post">
> <h3>Even voorstellen</h3>
> <div class="post-inner"/>
> </div>
> </div>
> <div class="side-columns">
> <div class="col02">
> <div class="pages"/>
> <div class="categories"/>
> </div>
> <div class="col03"/>
> </div>
> </div>
> </div>
> </body>
>
> ________________________________________________________________________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
>
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs.
> ________________________________________________________________________

Current Thread