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

XML output ugly

Subject: XML output ugly
From: "Michele R Combs mrrothen@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Jan 2018 18:45:09 -0000
 XML output ugly
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

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.