open All Channels
seplocked EVE Technology Lab
blankseplocked XSLT
This thread is older than 90 days and has been locked due to inactivity.

Author Topic

Karyn S'jet
Posted - 2011.03.21 02:22:00 - [1]

I was hoping I could find some help here. I am having a ghastly time trying to get an XSLT to work with the development platform I use called FileMaker. I am trying to import character data into the system I have written via the api but for the life of me I cant get the XSL to work. The format used is:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="" version="1.0">
File: msdso_elem.xslt

Transforms data in an ELEMENT based MSDSO grammar
into the FMPXMLRESULT grammar, suitable for import.


<xsl:template match="/*">
<DATABASE DATEFORMAT="M/d/yyyy" LAYOUT="" NAME="" RECORDS="{count(/*/*)}" TIMEFORMAT="h:mm:ss a"/>
<xsl:for-each select="/*/*[position()=1]/*">
<xsl:attribute name="EMPTYOK">YES</xsl:attribute>
<xsl:attribute name="MAXREPEAT">1</xsl:attribute>
<xsl:attribute name="NAME"><xsl:value-of select="name()"/></xsl:attribute>
<xsl:attribute name="TYPE">TEXT</xsl:attribute>
<xsl:attribute name="FOUND"><xsl:value-of select="count(child::*)"/></xsl:attribute>
<xsl:for-each select="child::*">
<xsl:attribute name="MODID">0</xsl:attribute>
<xsl:attribute name="RECORDID">0</xsl:attribute>
<xsl:for-each select="child::*">
<xsl:value-of select="."/>

All I need is an example of a transform and I can run from there.

Posted - 2011.03.22 21:39:00 - [2]

Here is a simple example of a xslt transformation, that transform a xml doc into a html table.

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="character.xsl"?>
<name>Name of char 1</name>
<skilltraining>gunnery lvl 5</skilltraining>
<name>Name of char 2</name>
<skilltraining>drones lvl 3</skilltraining>
<name>Name of char 3</name>
<skilltraining>trade lvl 2</skilltraining>

<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="">

<xsl:template match="/">
<h2>Character Display</h2>
<table border="1">
<xsl:for-each select="account/character">
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="skillpoints"/></td>
<td><xsl:value-of select="race"/></td>
<td><xsl:value-of select="skilltraining"/></td>


This thread is older than 90 days and has been locked due to inactivity.


The new forums are live

Please adjust your bookmarks to

These forums are archived and read-only