Subject: Re: [xsl] XML output ugly From: "Bridger Dyson-Smith bdysonsmith@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 11 Jan 2018 19:58:55 -0000 |
Hi Michele, I'm not familiar with Filemaker Pro or Xalan, but I did find a Stackoverflow answer that looks promising[1]. Adding a namespace declaration and a parameter to <xsl:output/> seems work in the context of question there. ... xmlns:xalan="http://xml.apache.org/xalan"exclude-result-prefixes="xalan"><xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" xalan:indent-amount="4"/> ... Hope that's helpful. Best, Bridger [1] https://stackoverflow.com/questions/33766785/pretty-print-xml-file On Thu, Jan 11, 2018 at 2:53 PM, Michele R Combs mrrothen@xxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Hi Adam -- > > > > I've got that set in my xsl, but it doesn't seem to matter to FileMaker :P > > > > Apparently FMP uses Xalan as its processor, would that matter? > > > > Michele > > > > > > -----Original Message----- > > From: Adam Retter adam.retter@xxxxxxxxxxxxxx [mailto:xsl-list-service@ > lists.mulberrytech.com] > > Sent: Thursday, January 11, 2018 2:20 PM > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > Subject: Re: [xsl] XML output ugly > > > > The serializer usually has a flag for indentation. > > > > If you are using XSLT you can use <xsl:output indent="yes"/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XML output ugly, Michele R Combs mrro | Thread | Re: [xsl] XML output ugly, Michele R Combs mrro |
Re: [xsl] XML output ugly, Michele R Combs mrro | Date | Re: [xsl] XML output ugly, Adam Retter adam.ret |
Month |