About the secure link (XSL link) attribute of xmlwebaprt (XML viewer)

Source: Internet
Author: User
Tags xsl xsl file xslt

The release Link (XSL link) must be an absolute path. If you use a path similar to "/_ layouts/picxsl. XSLT is converted to c: \ _ layouts \ picxsl. XSLT ", the page will report an error:

: I don't seem to have this problem in another service market. It's strange.

The XSL specified by the "XSL" attribute or "XSL link" attribute is invalid or the XSL file cannot be accessed. Make sure that a valid XSL style sheet is specified for this Web part, or if an XSL file is linked, it can be accessed by the server. Contact the website administrator for help. Learn more about making XSL files accessible

DecompilationSource codeAs follows:

 
Transform2.load (Base. Replacetokens (transformlink), effectsettings. Default,Null);
 
Private string applyxslt (ref string contents, string transform, string transformlink)

 

Find the following description on msdn:

Http://msdn.microsoft.com/zh-cn/library/microsoft.sharepoint.webpartpages.xmlwebpart.xsllink.aspx

the link property is read/write. the URL in this property can point to any web address; however it must be prefixed with the protocols "http: //" or "https: //" to work properly, for example, "http://www.domain.com" or "https://www.domain.com. "There is no maximum length for this property. there is no default value. if the XSLT cannot be retrieved from the specified URL, an error is displayed in the Web part.

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.