Mercurial > pub > ModelGenerator
view xslt/preprocess.xslt @ 1:7f803979305f
improved cs-dom generation, added getMember, getKeyMember templates
author | cin |
---|---|
date | Thu, 22 Feb 2018 19:14:00 +0300 |
parents | cbdada054b4a |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="urn:implab.org:schemas:data-models:v1" xmlns:dom="urn:implab.org:schemas:code-dom:v1" xmlns:exsl="http://exslt.org/common"> <xsl:output method="xml" indent="yes" /> <xsl:template match="/"> <xsl:apply-templates mode="preprocess"/> </xsl:template> <xsl:template match="package"> <xsl:apply-templates> </xsl:template> <xsl:template match="m:include" mode="preprocess"> <xsl:variable name="doc" select="document(@href)"/> </xsl:template> </xsl:stylesheet>