[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML output ugly
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: XML output ugly > > > > The serializer usually has a flag for indentation. > > > > If you are using XSLT you can use <xsl:output indent="yes"/>
|
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
|