Make rnc transform part of Gradle build

This commit is contained in:
Rob Winch
2013-01-03 18:27:15 -06:00
parent d06eae9967
commit 036e0505b3
7 changed files with 2227 additions and 1497 deletions

View File

@@ -5,8 +5,8 @@
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="2.0">
<xsl:output method="xml" indent="yes"/>
<xsl:variable name="elts-to-inline">
<xsl:text>,access-denied-handler,anonymous,session-management,concurrency-control,after-invocation-provider,authentication-provider,ldap-authentication-provider,user,port-mapping,openid-login,expression-handler,form-login,http-basic,intercept-url,logout,password-encoder,port-mappings,port-mapper,password-compare,protect,protect-pointcut,pre-post-annotation-handling,pre-invocation-advice,post-invocation-advice,invocation-attribute-factory,remember-me,salt-source,x509,</xsl:text>
@@ -42,4 +42,10 @@
</xsl:copy>
</xsl:template>
<xsl:template match="xs:documentation">
<xsl:element name="xs:documentation">
<xsl:copy-of select="@*" />
<xsl:value-of select="replace(concat(normalize-space(text()),' '), '(.{0,90}) ','$1&#xA; ')"/>
</xsl:element>
</xsl:template>
</xsl:stylesheet>