Mercurial > pub > ModelGenerator
view xslt/preprocess.xslt @ 0:cbdada054b4a
Basic schemas for generating csharp internal dom from model definition
author | cin |
---|---|
date | Wed, 21 Feb 2018 03:01:53 +0300 |
parents | |
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>