[KLUG Members] XML/DSML/XSL Transform Help

Adam Tauno Williams adam at morrison-ind.com
Fri Nov 12 11:55:04 EST 2004


Okay, I've come up with

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
 <result>
  <xsl:for-each select="batchResponse/searchResponse/searchResultEntry">
   <row>
    <xsl:value-of select="attr[@name='cn']/value"/>
    <xsl:value-of select="attr[@name='birthday']/value"/>
    <xsl:value-of select="attr[@name='morrisonserialid']/value"/>
    <xsl:value-of select="attr[@name='fileAs']/value"/>
    <xsl:value-of
select="attr[@name='morrisonpositionstartdate']/value"/>
   </row>
  </xsl:for-each>
 </result>
</xsl:template>
</xsl:stylesheet>

which I think should work, but it doesn't select any records <scratch
part="head"/>



More information about the Members mailing list