[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Using mode removes linebreaks/indents
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
|
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
|