[xsl] XML output ugly

Subject: [xsl] XML output ugly
From: "Michele R Combs mrrothen@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Jan 2018 18:45:09 -0000
Hi all --



I'm currently getting XML output that looks like this:



<c03>

<did>

<unittitle>#1 Complete - 4/8/1964</unittitle>

<unitid>spock_b_323</unitid>

<unitdate type="inclusive" normal="1964-04-08">04/08/1964</unitdate>

<physdesc>

<extent>1/4 inch audio tape</extent>

</physdesc>

<container>Box 548</container>

</did>

</c03>



I want it to look pretty, like this:



<c03>

   <did>

      <unittitle>#1 Complete - 4/8/1964</unittitle>

      <unitid>spock_b_323</unitid>

      <unitdate type="inclusive" normal="1964-04-08">04/08/1964</unitdate>

      <physdesc>

         <extent>1/4 inch audio tape</extent>

      </physdesc>

      <container>Box 548</container>

   </did>

</c03>



The weird thing is, the output seems to be different depending on the XSL
processor.  When I run it manually using Saxon, it comes out the second way
(pretty).  When I hook it up to our FileMaker Pro database and it gets run by
FMP as part of an export process, it comes out the first way (ugly).



Any ideas on how to "force" the pretty output?



Michele

+++++++++

Michele Combs | Lead Archivist

Special Collections Research Center

Syracuse University Libraries

222 Waverly Ave

Syracuse, New York 13244

t 315.443-2081 | e mrrothen@xxxxxxx | w scrc.syr.edu

SYRACUSE UNIVERSITY

syr.edu

Current Thread