[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML output ugly

Subject: Re: XML output ugly
From: "Bridger Dyson-Smith bdysonsmith@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Jan 2018 19:58:55 -0000
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"/>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.