Subject: [xsl] Using mode removes linebreaks/indents From: <trond.huso@xxxxxx> Date: Thu, 18 Apr 2013 11:07:49 +0000 |
Hi, For some reason when using mode the indentation and line breaks are all removed: This is the initiater: <xsl:template match="/" mode="run2"> <nitf version="-//IPTC//DTD NITF 3.2//EN" change.date="October 10, 2003" change.time="19:30" baselang="no-NO"> <!-- Call template header --> <xsl:call-template name="header" /> <body> <xsl:call-template name="body3"/> </body> </nitf> </xsl:template> Output: <?xml version="1.0" encoding="UTF-8"?><nitf xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ckbk="http://my.safaribooksonline.com/book/xml/0596009747/dates-and-tim es/" version="-//IPTC//DTD NITF 3.2//EN" change.date="October 10, 2003" change.time="19:30" baselang="no-NO"><head><title>Langoddstips uke 16</title><meta name="timestamp" content="2013.4.18 12:52:50"/> I have this in the "global" area of xslt: <xsl:output method="xml" indent="yes" encoding="ISO-8859-1" name="xml" /> Any suggestions? Best regards, Trond Husx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] replacing selective p tag, Dimitre Novatchev | Thread | Re: [xsl] Using mode removes linebr, G. Ken Holman |
Re: [xsl] replacing selective p tag, Dimitre Novatchev | Date | Re: [xsl] Using mode removes linebr, G. Ken Holman |
Month |