Novell Home

Query Snippet From the Eventxform Stylesheet

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 25 Jun 2002
 

Here's a code snippet designed to read the existing values of eDirectory attributes, from the eventxform stylesheet of the PeopleSoft driver.

<xsl:variable name="query">
  <nds dtdversion="1.0" ndsversion="8.5">
    <input>
    <query class-name="User" scope="entry">
      <association>
      <xsl:value-of select="association/text()"/>
      </association>
    <read-attr attr-name="Surname"/>
    </query>
    </input>
  </nds>
</xsl:variable>
<xsl:variable name="result" select="query:query($destQueryProcessor,$query)//instance"/>
<xsl:variable name="last-current" select="string($result/attr[@attr-name='Surname']/value/text())"/>


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell