I cannot get the xsl rendered version to display anything other than a blank white page in Chrome/Firefox. Both of the pages live in QuickBase (in other words, I'm not testing this using local files which caused issues in this thread).
If you access both the data xml and the xsl individually, they render fine. Ugh, help!
<?xml version="1.0" ?>
<!-- Generated by QuickBase Jan 5 2012 15:49:19 -->
<!-- Created Fri, 20 Jan 2012 02:01:56 -0500 -->
<?xml-stylesheet type="text/xsl" href="bgfn9a4ns?act=DBpage&pagename=test.xsl"?>
<document>
<dbinfo>
<name>Contacts</name>
<desc></desc>
</dbinfo>
<variables>
</variables>
<chdbids>
</chdbids>
<record>
<name>Bob</name>
<update_id>1327024286746</update_id>
</record>
<record>
<name>Joe</name>
<update_id>1327024284265</update_id>
</record>
<record>
<name>John</name>
<update_id>1327024292753</update_id>
</record>
<record>
<name>Nate</name>
<update_id>1327024289819</update_id>
</record>
</document>
And here is the content of the XSL:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" version="1.0"/>
<xsl:template match="/">
<test>
<xsl:for-each select="document/record">
<xsl:attribute name="person"><xsl:value-of select="name"/></xsl:attribute>
</xsl:for-each>
</test>
<FOO>BAR</FOO>
</xsl:template>
</xsl:stylesheet>