|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Why processor or stylesheets puts strange output
Thiabek [...] > I tried that but it is not working . > i think it is due to processor (SABLOTRON) WHICH I AM USING . Can you not use a different processor that implements xsl properly? Otherwise you're going to have put this after your body/text() template: <xsl:template match="text()[ string-length(translate(.,'	

 ',''))=0]"/> This translates whitespace characters (tab, linefeed, carriage-return and space) into '' and so checks if the node contains anything else. [...] > and it is very rarely happens that you find text inside body . > normally text had atleast some tag as parent. > what do you say? the output of your stylesheet should convince you otherwise - there's lots of text inside body tags, from the point of view of the xml parser. The trouble is that lots of it is just whitespace. Get a better processor is what I say :) Tom XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! 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
|

Cart








