Greetings, I'm trying to use the str:align() EXSLT function and it doesn't appear to work as expected when left justifying text in the field.
For example: XML: <?xml version="1.0"?> <data>123456</data> XSL: <?xml version="1.0" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:str="http://exslt.org/strings" extension-element-prefixes="str" version="1.0"> <xsl:template match="data"> <output> <xsl:text> </xsl:text> ----------- <xsl:value-of select="str:align(.,'-----------','left')"/> <xsl:text> </xsl:text> </output> </xsl:template> </xsl:stylesheet> The expected results would be: <?xml version="1.0" encoding="UTF-8"?> <output> ----------- 123456----- </output> But instead produces: <?xml version="1.0" encoding="UTF-8"?> <output> ----------- 123456------ </output> It appears to behave as expected when right or center justifying. I've tried this using Xalan version which comes with JDK1.4.2 and also with Xalan 2.6.0. Searching the archives with "str:align()" produced zero hits. Browsing the bug database I didn't find any open bugs regarding this issue. Can anyone else confirm this? Am I doing something wrong? robert
