Edit D:\app\Administrator\product\11.2.0\dbhome_1\RDBMS\xml\xsl\kuauddef.xsl
<?xml version="1.0"?> <!-- NAME kuauddef.xsl DESCRIPTION XSLT stylesheet for XML => DDL conversion of ku$_audit_default_t ADTs NOTES Do NOT modify this file under any circumstance. Copy the file if you wish to use this stylesheet with an external XML/XSL parser MODIFIED MM/DD/YY lbarton 11/02/05 - Bug 4715313: reformat files for use with XMLSpy nmanappa 01/03/03 - nmanappa_datapump_audit_defaultopts nmanappa 12/02/02 - Creation --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Import required scripts --> <xsl:import href="kucommon.xsl"/> <!-- Top-level parameters --> <xsl:param name="PRETTY">1</xsl:param> <xsl:param name="SQLTERMINATOR">1</xsl:param> <xsl:variable name="NEED_COMMA" select="1"/> <!-- params for parse --> <xsl:param name="PRS_DDL">0</xsl:param> <xsl:param name="PRS_DELIM">\{]`</xsl:param> <xsl:param name="PRS_VERB">0</xsl:param> <xsl:param name="PRS_OBJECT_TYPE">0</xsl:param> <xsl:param name="PRS_SCHEMA">0</xsl:param> <xsl:param name="PRS_NAME">0</xsl:param> <xsl:param name="PRS_GRANTEE">0</xsl:param> <xsl:param name="PRS_GRANTOR">0</xsl:param> <xsl:param name="PRS_BASE_OBJECT_SCHEMA">0</xsl:param> <xsl:param name="PRS_BASE_OBJECT_NAME">0</xsl:param> <xsl:param name="PRS_BASE_OBJECT_TYPE">0</xsl:param> <xsl:template match="AUDITDEF_T"> <xsl:apply-templates select="AUD_DEFAULT_LIST"> <xsl:with-param name="AudType">S</xsl:with-param> <xsl:with-param name="AudValue">S</xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="AUD_DEFAULT_LIST"> <xsl:with-param name="AudType">S</xsl:with-param> <xsl:with-param name="AudValue">A</xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="AUD_DEFAULT_LIST"> <xsl:with-param name="AudType">F</xsl:with-param> <xsl:with-param name="AudValue">S</xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="AUD_DEFAULT_LIST"> <xsl:with-param name="AudType">F</xsl:with-param> <xsl:with-param name="AudValue">A</xsl:with-param> </xsl:apply-templates> </xsl:template> <xsl:template match="AUD_DEFAULT_LIST"> <xsl:param name="AudType"/> <xsl:param name="AudValue"/> <xsl:for-each select="AUD_DEFAULT_LIST_ITEM[TYPE=$AudType and VALUE=$AudValue]"> <xsl:if test="position()=1"> <xsl:call-template name="DoParse"> <xsl:with-param name="Verb">AUDIT</xsl:with-param> <xsl:with-param name="ObjectType">AUDIT_DEFAULT</xsl:with-param> </xsl:call-template> <xsl:text> AUDIT </xsl:text> </xsl:if> <xsl:value-of select="NAME"/> <xsl:if test="not(position()=last())"> <xsl:text>, </xsl:text> </xsl:if> <xsl:if test="(position()=last())"> <xsl:text> ON DEFAULT </xsl:text> <xsl:if test="$AudType='S' and $AudValue='S'"> <xsl:text>BY SESSION WHENEVER SUCCESSFUL</xsl:text> </xsl:if> <xsl:if test="$AudType='F' and $AudValue='S'"> <xsl:text>BY SESSION WHENEVER NOT SUCCESSFUL</xsl:text> </xsl:if> <xsl:if test="$AudType='S' and $AudValue='A'"> <xsl:text>BY ACCESS WHENEVER SUCCESSFUL</xsl:text> </xsl:if> <xsl:if test="$AudType='F' and $AudValue='A'"> <xsl:text>BY ACCESS WHENEVER NOT SUCCESSFUL</xsl:text> </xsl:if> <xsl:if test="$SQLTERMINATOR=1"> <xsl:text>;</xsl:text> </xsl:if> <xsl:if test="$PRETTY=1"> <xsl:text>
 </xsl:text> </xsl:if> </xsl:if> </xsl:for-each> </xsl:template> </xsl:stylesheet>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de