Umbraco-XSL-Development-template

Source: Internet
Author: User
Tags xslt umbraco
Recommended tools
    1. Visual Studio Express
    2. Foxe

 

Visual Studio

It provides intelligence prompt for the XSL key words to facilitate the work on the XSL.

Foxe

It provides a tree-nodes like view on the XML document to facilitate the navigation on the umbraco. config cache file.

Template Codes

With the help of the two utility, copy the following code to start your umbraco XSLT development.

 



]>
Version = "1.0"
xmlns: XSL = "http://www.w3.org/1999/XSL/Transform%22
xmlns: MSXML =" urn: Schemas-Microsoft-com: XSLT "
xmlns: umbraco. library = "urn: umbraco. library "
xmlns: exslt. exsltcommon = "urn: exslt. exsltcommon "
xmlns: exslt. exsltdatesandtimes = "urn: exslt. exsltdatesandtimes "
xmlns: exslt. exsltmath = "urn: exslt. exsltmath "
xmlns: exslt. exsltregularexpressions = "urn: exslt. exsltregularexpressions "
xmlns: exslt. exsltstrings = "urn: exslt. exsltstrings "
xmlns: exslt. exsltsets = "urn: exslt. exsltsets "
exclude-result-prefixes =" MSXML umbraco. library exslt. exsltcommon exslt. exsltdatesandtimes exslt. exsltmath exslt. exsltregularexpressions exslt. exsltstrings exslt. exsltsets ">

<XSL: output method = "XML" omit-XML-declaration = "yes"/>

<XSL: Param name = "currentpage"/>

<XSL: template match = "/">
<! -- The code here -->
</XSL: Template>
</XSL: stylesheet>

 

The XSLT file is stored in ~ /XSLT/folder. The target XML file is ~ /App_data/umbraco. config.

 

The following key words are commonly used when you write the XSL.

    1. Value-
    2. Select
    3. Attribute
    4. For-each
    5. Sort
    6. If

The following key words are commonly used when you write the XSL.

    1. Parent ::*
    2. Child ::*
    3. [@ Attributename expression]

Have a fun in coding with XSL for umbraco. config.

 

supported by Nova umbraco

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.