Return to Snippet

Revision: 10963
at January 20, 2009 03:53 by archlight


Initial Code
<?xml version="1.0" encoding="windows-1250"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult">
<ERRORCODE>0</ERRORCODE> 
<PRODUCT BUILD="06-20-2006" NAME="FileMaker Pro" VERSION="8.5v1" /> 
<DATABASE DATEFORMAT="M/d/yyyy" LAYOUT="" NAME="fixture.fp7" RECORDS="6107" TIMEFORMAT="h:mm:ss a" /> 
<METADATA>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="ArticleNo" TYPE="TEXT" />
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="ArticleName" TYPE="TEXT" />
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Description" TYPE="TEXT" />
</METADATA>
<RESULTSET FOUND="">

<xsl:for-each select="RECORDS/RECORD/ROW">
<ROW MODID="" RECORDID="0">
<COL>
<DATA><xsl:value-of select="@ArticleNo" /></DATA>
</COL>
<COL>
<DATA><xsl:value-of select="@ArticleName" /></DATA>
</COL>
<COL>
<DATA><xsl:value-of select="@Description" /></DATA>
</COL>
</ROW>
</xsl:for-each>

</RESULTSET>
</FMPXMLRESULT>
</xsl:template>
</xsl:stylesheet>

Initial URL

                                

Initial Description

                                

Initial Title
convert attributes to new node

Initial Tags
xml

Initial Language
XML