Last active
February 13, 2018 06:46
-
-
Save xasima/e2cf9dc133e6a674ef64d02a5244f64b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // OSX | |
| open /Applications/Google\ Chrome.app --args --disable-web-security --user-data-dir | |
| // Linux | |
| chromium-browser --disable-web-security --user-data-dir | |
| // Windows | |
| // (Needs to find where is Chrome Link: may just right click on Chrome icon and choose its properties and path) | |
| // later | |
| cd /D C:/UserData/Microsoft/Windows/... | |
| "Chrome Browser.lnk" --disable-web-security --user-data-dir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://chrome.google.com/webstore/detail/openlink-structured-data/egdaiaihbdoiibopledjahjaihbmjhdj?hl=en |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <?xml-stylesheet type="text/xsl" href="transform.xsl"?> | |
| <rabbits forest="dark"> | |
| <rabbit name="Rodger" phone="+987 2898989"/> | |
| <rabbit name="Maria" phone="+987 94400000"/> | |
| <rabbit name="Peter" phone="+987 90000000"/> | |
| </rabbits> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" ?> | |
| <xsl:stylesheet version="1.0" | |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:template match="/"> | |
| <html> | |
| <body> | |
| <h1>Rabbits of <xsl:value-of select="/rabbits/@forest" /> forest</h1> | |
| <ul> | |
| <xsl:apply-templates select="//rabbit"/> | |
| </ul> | |
| </body> | |
| </html> | |
| </xsl:template> | |
| <xsl:template match="rabbit"> | |
| <li><a href="vk.com/{@name}"><xsl:value-of select="@name"/></a> <xsl:value-of select="@phone"/></li> | |
| </xsl:template> | |
| </xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment