Re: Embed XHTML code using PHP's XSLT processor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
info@xxxxxxxxxxxx
ftp://dbusiness.dyndns.org

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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux