VirtualBox

source: vbox/trunk/src/libs/dbdita-1.0/ditaWriterMake/ditabasexsdMerge.xsl@ 98878

最後變更 在這個檔案從98878是 98585,由 vboxsync 提交於 2 年 前

Docs: bugref:10302. Setting svn properties of db2dita converter.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.4 KB
 
1<?xml version="1.0" encoding="utf-8" standalone="no"?>
2<!--
3 | LICENSE: This file is part of the DITA Open Toolkit project hosted on
4 | Sourceforge.net. See the accompanying license.txt file for
5 | applicable licenses.
6 *-->
7<!--
8 | (C) Copyright IBM Corporation 2006. All Rights Reserved.
9 *-->
10<xsl:stylesheet version="1.0"
11 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12 xmlns:xs="http://www.w3.org/2001/XMLSchema">
13
14<xsl:output
15 method="xml"
16 indent="yes"
17 omit-xml-declaration="no"
18 standalone="no"/>
19
20<xsl:template match="/">
21 <xsl:apply-templates select="*"/>
22</xsl:template>
23
24<xsl:template match="xs:schema">
25 <xsl:copy>
26 <xsl:copy-of select="@*"/>
27 <xsl:apply-templates select="xs:complexType|xs:group[contains(@name,'.cnt')]|
28 xs:attributeGroup|xs:include|xs:redefine"/>
29 </xsl:copy>
30</xsl:template>
31
32<xsl:template match="xs:include">
33 <xsl:copy>
34 <xsl:copy-of select="@*"/>
35 <xsl:apply-templates select="document(@schemaLocation)"/>
36 </xsl:copy>
37</xsl:template>
38
39<xsl:template match="xs:redefine">
40 <xsl:copy>
41 <xsl:copy-of select="@*"/>
42 <xsl:apply-templates select="document(@schemaLocation)"/>
43 </xsl:copy>
44</xsl:template>
45
46<xsl:template
47 match="xs:group[contains(@name,'.cnt')]|xs:complexType|xs:attributeGroup">
48 <xsl:copy-of select="."/>
49</xsl:template>
50
51</xsl:stylesheet>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette