blob: 718bc8df34bf247f492f43a9e506cb9de759296b [file] [log] [blame]
Tests XSL stylsheet content. http://crbug.com/603806
http://127.0.0.1:8000/devtools/network/resources/xml-with-stylesheet.xml
resource.type: document
resource.content: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title/></head>
<body>
<pre>
The Data: someData</pre>
</body>
</html>
http://127.0.0.1:8000/devtools/network/resources/xml-with-stylesheet.xsl
resource.type: stylesheet
resource.content: <?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:template match="/">
The Data: <xsl:value-of select="/foo/bar"/>
</xsl:template>
</xsl:stylesheet>