This'll be a rather long post because of the code snippets, so please bear
with me.
I'm trying to embed XHTML code from a XML file and I'm wondering why PHP's
XSLT doesn't indent it correctly.
So, this stylesheet:
http://www.w3.org/1999/XSL/Transform";>
http://www.w3.org/TR/xhtml11/DTD/xhtml11
Thanks for your response, Björn.
"Björn Bartels" wrote:
> Hi ,
>
> this happens because a xml-parser (your browser,...) has to remove all
> spaces, etc.which are not nessesary.
Why doesn't 'xsl:element' indent the xml data according to the ident switch
("yes"/"no") then? I expected that the compl
"Björn Bartels" wrote:
> Moin, moin...
Moin. :-)
> I'm only 99% sure but I think in this line...
>
>
>
> ..."node()" returns "CDATA" which drops
> those unnessasary whitespaces and cr/lf's...
Okay, we're almost there, I guess. ;-) I still need your help, though.
If I change my XML from
3 matches
Mail list logo