# XSLT output with indent="yes" doesnt work

**URL:** https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518
**Category:** Bugs
**Created:** [February 6, 2014, 3:01am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518 "2014-02-06T03:01:38Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![kim\_widex](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/e19adc/32.png) [@kim\_widex](https://www.finalbuilder.com/forums/u/kim_widex)
#### Post date: [February 6, 2014, 3:01am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/1 "2014-02-06T03:01:38Z")

</div>

I’ve tried getting the&nbsp;hierarchic structure nice and XML like, when using XSLT in Transform XML by setting the output attribute indent=“yes”.  
When I use the exact same code in command prompt, it works like a charm.  
  
I’m actually using this operation to compensate for the missing option to sort by names in the Final Builder Server 7 (maybe this could be fixed?)

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [February 6, 2014, 11:59am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/2 "2014-02-06T11:59:10Z")

</div>

Hi Kim,   
  
 I have tried to reproduce what I believe your seeing as an issue here, however have been unable to. Would you be able to provide a sample project and required xml/xslt to reproduce this issue. Lastly please including a file of the output you expected to see.   
  
 Sending these to support will automatically add them to our issue tracking system so that we can get right onto this.   
  
 Thank you.

---

<div class="post-metadata">

### Author: ![kim\_widex](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/e19adc/32.png) [@kim\_widex](https://www.finalbuilder.com/forums/u/kim_widex)
#### Post date: [February 7, 2014, 11:14am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/3 "2014-02-07T11:14:17Z")

</div>

Hi Jason,  
  
That’s interesting.  
  
I have attached a zip with the contents I’ve used. I short explanation to the files in the order they appear in the zip:  
  
**FBUsers.xml** - _the source file, which contains the correct hierarchic structure, but unsorted._  
**FBUserSort.xslt** -&nbsp;_My xslt script_  
**FBUsersSorted.xml** -_My output file when i run SortFBUsers.bat, sorted with an almost perfect&nbsp;hierarchic structure._  
**msxsl.exe** -_File needed to use the msxsl command in S__ortFBUsers.bat_ **output.xml** -_My Final Builder output from SortFBUsers.fbp7, sorted but with no indent._ **SortFBUsers.bat** -_Command prompt script using msxsl.exe and FBUserSort.xslt_ **SortFBUsers.fbp7** -_My Final builder script using FBUserSort.xslt_Please let me know if something is unclear!I’m using Notepad++ to open my .xml files.  
  
_Bonus issue: If you look closely, in both output files, the namespace from ArrayOfUser have attached to every user. I can’t seem to find a way to fix this, so if you have a solution I would be very grateful._  
  
Thanks,  
Kim

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [February 9, 2014, 11:12am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/4 "2014-02-09T11:12:26Z")

</div>

Hi Kim,   
  
 As the forums doesn’t allow attachments of this nature. Would you be able to send them through to the support email address and reference this forum post please.   
  
 Thanks!

---

<div class="post-metadata">

### Author: ![kim\_widex](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/e19adc/32.png) [@kim\_widex](https://www.finalbuilder.com/forums/u/kim_widex)
#### Post date: [February 13, 2014, 7:48am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/5 "2014-02-13T07:48:37Z")

</div>

Sorry i didn’t see your post, I just did as you asked!  
  
Kim

---

<div class="post-metadata">

### Author: ![kim\_widex](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/e19adc/32.png) [@kim\_widex](https://www.finalbuilder.com/forums/u/kim_widex)
#### Post date: [February 28, 2014, 9:53am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/6 "2014-02-28T09:53:01Z")

</div>

Hi Jason,  
  
Have you had a change to look at the issue I posted?  
  
Cheers,  
  
Kim

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [March 2, 2014, 11:31am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/7 "2014-03-02T11:31:44Z")

</div>

Hi Kim,   
  
 Sorry I was waiting for the support case to be logged with the attached files. I haven’t seen anything come through. Also did another search for this on our support system and can’t seen anything which has been logged. What was the title of the email you sent through to Support? As I am unable to reproduce the indenting issue of the xml using an XSLT transform having the files and project which you have created will be of great assistance.

---

<div class="post-metadata">

### Author: ![kim\_widex](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/e19adc/32.png) [@kim\_widex](https://www.finalbuilder.com/forums/u/kim_widex)
#### Post date: [March 3, 2014, 8:06am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/8 "2014-03-03T08:06:11Z")

</div>

Hi Jason,  
  
The title of my email was:&nbsp;_Attachment for Forum post “XSLT output with indent=“yes” doesnt work”._  
  
The first two lines from my email:&nbsp;

_Hi Jason,_

_Copy from the forum post below, and now with the attachment._  
  
And I’ve sent it to&nbsp;[support@finalbuilder.com](mailto:support@finalbuilder.com), with the attachment _SortFBUsers.zip_.  
  
Do you have another email I can send it to, so we can make sure you get it?  
  
Thanks,  
  
Kim

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [March 3, 2014, 8:22am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/9 "2014-03-03T08:22:13Z")

</div>

Hi Kim,   
  
I have searched our support system for that email and it hasn’t arrived. We also have a gmail account listed as the alternative email on the contact us page. Also I would suggest re-sending to support something may have just tripped out on the first attempt.   
  
[https://www.finalbuilder.com/company/contact](https://www.finalbuilder.com/company/contact)

---

<div class="post-metadata">

### Author: ![kim\_widex](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/e19adc/32.png) [@kim\_widex](https://www.finalbuilder.com/forums/u/kim_widex)
#### Post date: [March 3, 2014, 9:02am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/10 "2014-03-03T09:02:49Z")

</div>

Hi Jason,  
  
Thanks for quick reply!  
  
I’ve now tried the gmail, with the title:&nbsp;ATT: Jason Smith; Attachment for Forum post XSLT output with indent=“yes” doesnt work  
  
I hope you get it Kim

---

<div class="post-metadata">

### Author: ![kim\_widex](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/e19adc/32.png) [@kim\_widex](https://www.finalbuilder.com/forums/u/kim_widex)
#### Post date: [March 3, 2014, 9:11am UTC](https://www.finalbuilder.com/forums/t/xslt-output-with-indent-yes-doesnt-work/3518/11 "2014-03-03T09:11:47Z")

</div>

Hi Jason,  
  
It seems they dont want to let you help me.  
  
I get:  
[finalbuilder@gmail.com](mailto:finalbuilder@gmail.com)  
 [mx.google.com](http://mx.google.com)  
 Remote Server returned '\<[mx.google.com](http://mx.google.com) #5.7.0="" smtp;552-5.7.0="" this="" message="" was="" blocked="" because="" its="" content="" presents="" a="" potential="" 552-5.7.0="" security="" issue.="" please="" visit=""\>\</mx.google.com\>[http://support.google.com/mail/bin/answe](http://support.google.com/mail/bin/answe) 552-5.7.0 r.py?answer=6590 to review our message content and attachment content 552 5.7.0 guidelines. v2si5471576qaf.38 - gsmtp\>'  
  
So I’ve resent it, with "SortFBUsers.zippylip, I hope it goes trough
