XSLT½Ì³Ì

XSLT <xsl:include> ÔªËØ
2007-3-30

·µ»Ø

Definition and Usage
¶¨ÒåºÍÓ÷¨

The <xsl:include> element is a top-level element that includes the contents of one style sheet into another.
<xsl:include> ÔªËØÊǶ¥¼¶ÔªËØ£¬Ëü½«ÆäÖÐÒ»ÕÅÑùʽ±íµÄÄÚÈݰüÀ¨µ½ÁíÒ»ÕÅÖС£

Note: An included style sheet has the same precedence as the including style sheet.
×¢Ò⣺һ¸ö±»°üÀ¨µÄÑùʽ±íÓëÖ÷Ñùʽ±íµÄÓÅÏȼ¶Ïàͬ¡£

Note: This element must appear as a child node of <xsl:stylesheet> or <xsl:transform>.
×¢Ò⣺Õâ¸öÔªËØ±ØÐë×÷Ϊ<xsl:stylesheet>ÔªËØ»ò<xsl:transform>ÔªËØµÄÒ»¸ö×Ó½Úµã³öÏÖ¡£


Syntax
Óï·¨

<xsl:include href="URI"/>

Attributes
ÊôÐÔ

ÊôÐÔ Öµ ÃèÊö
href URI Required. Specifies the URI of the style sheet to include
±ØÒª²ÎÊý¡£Ö¸¶¨±»°üÀ¨Ñùʽ±íµÄURI

Example 1
°¸Àý1

 

 

·µ»Ø