Edit D:\app\Administrator\product\11.2.0\dbhome_1\RDBMS\xml\xsl\kususer.xsl
<?xml version="1.0"?> <!-- Copyright (c) 2004, 2008, Oracle. All rights reserved. NAME kususer.xsl DESCRIPTION Convert mdapi USER_T document to USER document (SXML) MODIFIED MM/DD/YY lbarton 01/24/08 - Bug 6724820: move VERSION param to kuscomm.xsl lbarton 01/08/07 - versioning lbarton 11/09/05 - bug 4724986: fix handling of xmlns sdavidso 11/02/05 - fix inconsistent stylesheet format htseng 11/04/04 - Initial version --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://xmlns.oracle.com/ku"> <!-- Top level imports --> <xsl:import href="kuscomm.xsl"/> <!-- Templates --> <xsl:template match="USER_T"> <!-- ******************************************************************* Template: USER_T - top-level template for USER. This template puts out - the opening USER element (with xmlns and version attributes) - NAME elements ******************************************************************** --> <xsl:element name="USER"> <!-- See note about xmlns attribute in kustable.xsl --> <xsl:attribute name="xmlns">http://xmlns.oracle.com/ku</xsl:attribute> <xsl:attribute name="version">1.0</xsl:attribute> <xsl:element name="NAME"> <xsl:value-of select="NAME"/> </xsl:element> <xsl:choose> <xsl:when test="PASSWORD='GLOBAL'"> <xsl:element name="TYPE">GLOBAL</xsl:element> </xsl:when> <xsl:when test="PASSWORD='EXTERNAL'"> <xsl:element name="TYPE">EXTERNAL</xsl:element> </xsl:when> <xsl:otherwise> <xsl:element name="TYPE">LOCAL</xsl:element> <!-- undocumented VALUE element required for reg tests --> <xsl:if test="$LRG!=0"> <xsl:element name="VALUE"> <xsl:if test="SPARE4 and $VERSION>=1100000000"> <xsl:value-of select="SPARE4"/> <xsl:text>;</xsl:text> </xsl:if> <xsl:value-of select="PASSWORD"/> </xsl:element> </xsl:if> </xsl:otherwise> </xsl:choose> <xsl:if test="EXT_USERNAME"> <xsl:element name="EXTERNAL_NAME"> <xsl:value-of select="EXT_USERNAME"/> </xsl:element> </xsl:if> <xsl:element name="DEFAULT_TABLESPACE"> <xsl:value-of select="DATATS"/> </xsl:element> <xsl:if test="TEMPTS"> <xsl:element name="TEMPORARY_TABLESPACE"> <xsl:value-of select="TEMPTS"/> </xsl:element> </xsl:if> <xsl:if test="PROFNAME"> <xsl:element name="PROFILE"> <xsl:value-of select="PROFNAME"/> </xsl:element> </xsl:if> <xsl:if test="ASTATUS != 0"> <xsl:if test="(ASTATUS mod 4)> 0"> <!-- KTSUCPEX =1 | KTSUCPEG =2 --> <xsl:element name="PASSWORD_EXPIRE"> </xsl:element> </xsl:if> <xsl:if test="ASTATUS >=4"> <xsl:element name="ACCOUNT_LOCK"> <xsl:text>Y</xsl:text> </xsl:element> </xsl:if> </xsl:if> </xsl:element> </xsl:template> </xsl:stylesheet>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de