Novell is now a part of Micro Focus

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">
    <query class-name="User" scope="entry">
      <xsl:value-of select="association/text()"/>
    <read-attr attr-name="Surname"/>
<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.

© Copyright Micro Focus or one of its affiliates