2 XSLT Element 1. xsl: If: A simple condition judgment element.
1. declaration method:
Test = boolean-Expression>
Partial attribute description:
2. Test
A logical expression. if it is true, the operation expressed by the content of xsl: if
1. Use of templates
Some encoding tables are stored in the database, but some Chinese characters are displayed.
In this case, we can define an XSL file that stores data. I have defined a codetab. XSL
Reference this file to the archive. XSL file,
IntroductionSometimes we want to see the system generated XML files (such as the XML format of the project file), if the file structure is simple, our browser seems to be more convenient, but as the XML Schema complex becomes a headache, write a
1. knowledge required to create a docbook document:
1) XML-this is the most basic. If you don't understand this, you 'd better first look for an entry-level book;2) DTD-helps you understand the structure of docbook;3) XSL-help you customize your own
Through the introduction in the previous two chapters, we have learned some about the basic concepts of XSLT and its conversion process. Next we will learn the specific syntax of XSLT. When it comes to syntax, it's always boring. You can simply
Element Syntax of XSLTXSL: Template and XSL: Apply-templatesXSL: value-XSL: For-eachXSL: IfXxsl: Choose, when, otherwiseXSL: Sort
XSL: Template and XSL: Apply-templates Template is one of the most important concepts in XSLT. An XSLT file is
²xslt element
one, xsl:if: Simple conditional judgment element.
1, declaration method:
Test = boolean-expression>
Partial attribute Description:
2, test
A logical expression that, if true, performs the action expressed by the content of the
I almost gave up, but I still can't forget it. I finally logged on again.Every time in the dead of night, every time you are alone and helpless, every time you are full of worries, except my blog, who else will listen to me?I am not sleeping at
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.