xsl-list
[Top] [All Lists]

[xsl] Separator for xsl:number @format

2019-10-23 09:40:49
Hi,

 

I am using xsl:number to format some sections. Here is my instruction:

 

<xsl:number level="multiple" count="part|subpart" format="A1"/>

 

I want my subparts to number A1, A2, A3, etc. Instead, I get A.A, A.B, A.C.

 

<xsl:number level="multiple" count="part|subpart" format="A&#x200b;1"/>

 

If I add a zero-width space to the format, I get the desired result, but I
want to know if this is necessary. I am using XSLT 2 and Saxon 9. Thank you
very much.

 

Rick

 

Rick Quatro

Carmen Publishing Inc.

rick(_at_)frameexpert(_dot_)com

585-729-6746

www.frameexpert.com/store/

 

 

 

 
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>