|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Disapearing spaces between end tags and begin tags
I have the same problem. Using XSLTProcessor from php5 will return the espected output, but using tidy with input-xml = true as parameter, will not preserve this space after an end tag anymore: <ul> <li><a href="/">caption</a> descritpion</li> <ul> becomes to <ul> <li><a href="/">caption</a>descritpion</li> <ul> in the output using php5 and tidy. So, either I disable tidy (and get unformatted output) or I use the following by-pass, to solve the problem: According to http://thewml.org/distrib/wml-SNAP/wml_aux/tidy/tidy.txt (search for "a nonbreaking space") and http://www.dpawson.co.uk/xsl/sect2/nbsp.html#d7293e207, I have replaced the space after the end tag with " ". That makes: <ul> <li><a href="/">caption</a> descritpion</li> <ul> and returns the same as output. But I'm not satisfied of this "solution". I keep on searching for a "real" solution. S.R. -- Echte DSL-Flatrate dauerhaft f|r 0,- Euro*. Nur noch kurze Zeit! "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|







