Mercurial > pub > ModelGenerator
comparison 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 | 
   comparison
  equal
  deleted
  inserted
  replaced
| -1:000000000000 | 0:cbdada054b4a | 
|---|---|
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <xsl:stylesheet version="1.0" | |
| 3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
| 4 xmlns:m="urn:implab.org:schemas:data-models:v1" | |
| 5 xmlns:dom="urn:implab.org:schemas:code-dom:v1" | |
| 6 xmlns:exsl="http://exslt.org/common"> | |
| 7 <xsl:output method="xml" indent="yes" /> | |
| 8 <xsl:template match="/"> | |
| 9 <xsl:apply-templates mode="preprocess"/> | |
| 10 </xsl:template> | |
| 11 | |
| 12 <xsl:template match="package"> | |
| 13 <xsl:apply-templates> | |
| 14 </xsl:template> | |
| 15 | |
| 16 <xsl:template match="m:include" mode="preprocess"> | |
| 17 <xsl:variable name="doc" select="document(@href)"/> | |
| 18 </xsl:template> | |
| 19 </xsl:stylesheet> | 
