<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:output method="xml" omit-xml-declaration="no"/>

   <xsl:template match="/">
      <xsl:apply-templates/>
   </xsl:template>

   <xsl:template match="/item_doc">
      <item_doc>
         <xsl:apply-templates/>
      </item_doc>
   </xsl:template>

   <xsl:template match="title_pg">
      <title_pg>
         <xsl:apply-templates/>
      </title_pg>
   </xsl:template>

   <xsl:template match="tp_header">
      <xsl:variable name="filename" select="@file_id"/>
      <xsl:variable name="nodename" select="@element"/>
      <xsl:copy-of select="document($filename)/node()[local-name(.)=$nodename]"/>
   </xsl:template>

   <xsl:template match="item_id">
      <xsl:copy-of select="."/>
   </xsl:template>

   <xsl:template match="item_date">
      <xsl:copy-of select="."/>
   </xsl:template>

</xsl:stylesheet>
<!-- Stylus Studio meta-information - (c) 2004-2005. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="item_spec.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
</metaInformation>
-->