Moin, moin...

>Why doesn't 'xsl:element' indent the xml data according to the ident
>switch
>("yes"/"no") then? I expected that the complete resulting XHTML
>(generated
>by the XSLT processor) is either indented or it's completely not
>indented.
>Unfortunately this is not the case for the imported XHTML from the XML
>file.

I'm only 99% sure but I think in this line...

<xsl:apply-templates select="node()" > 

..."node()"  returns  "CDATA"  which drops
those unnessasary whitespaces and cr/lf's...

cheers,
bb

Björn Bartels
-Development/IT-Services-

----------------------------------------------
dbusiness.de gmbh
digital business & printing gmbh

Greifswalder Str. 152
D-10409 Berlin

Fon: [0.30] 4.21.19.95
Fax: [0.30] 4.21.19.74

www.dbusiness.de
[EMAIL PROTECTED]
ftp://dbusiness.dyndns.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to