Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/310.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# XSLT转换在.NET中失败_C#_.net_Xslt - Fatal编程技术网

C# XSLT转换在.NET中失败

C# XSLT转换在.NET中失败,c#,.net,xslt,C#,.net,Xslt,我遇到了一个奇怪的问题。我有一个XSLT文件,它应用于源XML以生成目标XML。 这是我正在使用的代码 XslCompiledTransform myXslTransform; myXslTransform = new XslCompiledTransform(); string xsltPath = @"..\Support\CustomerXMlTransform.xslt"; myXslTransform.Load(xsltPath);

我遇到了一个奇怪的问题。我有一个XSLT文件,它应用于源XML以生成目标XML。 这是我正在使用的代码

      XslCompiledTransform myXslTransform;
      myXslTransform = new XslCompiledTransform();
      string xsltPath = @"..\Support\CustomerXMlTransform.xslt";
      myXslTransform.Load(xsltPath);
      string tempPath = "C:\Transformed.XML";
      myXslTransform.Transform(xmlFilePath, tempPath);
当运行VisualStudio(运行VS 2010)时,这一点非常好。 当我尝试从安装程序(由VS创建)运行应用程序并传递一个XML时,转换后的XML只有一个标记,源标记中的所有值都会像这样显示出来

<?xml version="1.0" encoding="utf-8"?>
<ProjectManagement>

    004 Some
    Project Description
    7230652
    898808
    676
    2003
    003
    Customer Article Description

</ProjectManagement>

004一些
项目说明
7230652
898808
676
2003
003
客户物品说明
有更多的值,但我已在此处删除它们。报告的值没有显示任何标记,就像部分输出一样

有人知道这里发生了什么吗? 问候

已检查安装文件夹,发现System.Xml和System.Xml.Linq.dll文件丢失。这些是项目中引用的文件。将这两个文件手动复制到安装文件夹。没有节点的结果仍然相同

以下是XSLT,它在VS 2010中运行良好,但在安装程序中失败:

<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="xml" indent="yes"/>
  <xsl:template match="/">
    <ProjectManagement>
      <xsl:apply-templates/>
    </ProjectManagement>
  </xsl:template>
  <xsl:template match="kalkulation">
    <Project>
      <ProjectCategoryName>WellTeam</ProjectCategoryName>
      <ProjectNumber>
        <xsl:attribute name="attributename">ProjectNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="projektnummer"/>
      </ProjectNumber>
      <ProjectName>
        <xsl:if test="string-length(projektnummer)!=0">
          <xsl:if test ="string-length(kunden_kurzbezeichnung)!=0">
            <xsl:if test ="string-length(kunden_artikel_bezeichnung)!=0">
              <xsl:value-of select="concat(projektnummer,'',kunden_kurzbezeichnung,'',kunden_artikel_bezeichnung)"/>
            </xsl:if>
          </xsl:if>
        </xsl:if>
      </ProjectName>
      <TemplateName>
        <xsl:choose>
          <xsl:when test="u_firma=003 and material_gruppe = 0321">Group1</xsl:when>
          <xsl:when test="u_firma=004 and material_gruppe = 0321">Group2</xsl:when>
          <xsl:otherwise>Group1</xsl:otherwise>
        </xsl:choose>
      </TemplateName>
      <CalculationNumber>
        <xsl:attribute name="attributename">CalculationNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="kalkulationsnummer"/>
      </CalculationNumber>
      <CalculationSubNumber>
        <xsl:attribute name="attributename">CalculationSubNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="kalkulations_u_nummer"/>
      </CalculationSubNumber>
      <Mandator>
        <xsl:attribute name="attributename">Mandant</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue">676</xsl:attribute>
        <xsl:value-of select="substring(mandant,0,3)"/>
      </Mandator>
      <CompanyName>
        <xsl:attribute name="attributename">CompanyName</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue">100</xsl:attribute>
        <xsl:value-of select="substring(firma,0,4)"/>
      </CompanyName>
      <CompanySubName>
        <xsl:attribute name="attributename">CompanySubName</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(u_firma,0,4)"/>
      </CompanySubName>
      <ArticleIndication>
        <xsl:attribute name="attributename">ArticleIndication</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(bezeichnung,0,40)"/>
      </ArticleIndication>
      <PartNumber>
        <xsl:attribute name="attributename">PartNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue">0</xsl:attribute>
        <xsl:value-of select="teilenummer"/>
      </PartNumber>
      <DueDate>
        <xsl:attribute name="attributename"></xsl:attribute>
        <xsl:attribute name="type"></xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="faelligkeitsdatum"/>
      </DueDate>
      <InsideSalesPerson1>
        <xsl:attribute name="attributename">InsideSalesPerson1</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(sachbearbeiter1,0,20)"/>
      </InsideSalesPerson1>
      <InsideSalesPerson2>
        <xsl:attribute name="attributename">InsideSalesPerson2</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(sachbearbeiter2,0,20)"/>
      </InsideSalesPerson2>
      <SalesPerson>
        <xsl:attribute name="attributename">SalesPerson</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(vertreter_kunde,0,60)"/>
      </SalesPerson>
      <Status>
        <xsl:variable name="smallcase" select="'abcdefghijklmnopqrstuvwxyz'" />
        <xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
        <xsl:variable name="status" select="translate(status, $smallcase,$uppercase)" />
        <xsl:choose>
          <xsl:when test="$status='NEW' or $status= 'NEU'">1</xsl:when>
          <xsl:when test="$status='READY' or $status='FERTIG'">2</xsl:when>
          <xsl:when test="$status='IN BEARBEITUNG'">3</xsl:when>
          <xsl:otherwise>0</xsl:otherwise>
        </xsl:choose>        
      </Status>
      <StatusText>
        <xsl:value-of select="status"/>
      </StatusText>
      <CustomerNo>
        <xsl:value-of select="substring(kunden_nummer,0,7)"/>
      </CustomerNo>
      <CustomerSubNo>
        <xsl:attribute name="attributename">CustomerSubNumber</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="kunden_u_nr"/>
      </CustomerSubNo>
      <CustomerShortDesc>
        <xsl:attribute name="attributename">CustomerDescription</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(kunden_kurzbezeichnung,0,20)"/>
      </CustomerShortDesc>
      <CustomerArticleDescription>
        <xsl:attribute name="attributename">CustomerArticleDescription</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(kunden_artikel_bezeichnung,0,255)"/>
      </CustomerArticleDescription>
      <CustomerArticleNumber>
        <xsl:attribute name="attributename">CustomerArticleNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(kunden_artikel_nummer,0,30)"/>
      </CustomerArticleNumber>
      <TaskType>
        <xsl:attribute name="attributename">TaskType</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(aufgabe_art,0,3)"/>
      </TaskType>
      <TaskCreator>
        <xsl:attribute name="attributename">TaskCreator</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(aufgabe_ersteller,0,20)"/>
      </TaskCreator>
      <TaskDate>
        <xsl:attribute name="attributename">TaskDate</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="aufgabe_erstellt_am"/>
      </TaskDate>
      <TaskInfo>
        <xsl:attribute name="attributename">TaskInformation</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(aufgabe_information,0,255)"/>
      </TaskInfo>
      <DesignerId>
        <xsl:attribute name="attributename">TaskSpecialist</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(aufgabe_sachbearbeiter,0,3)"/>
      </DesignerId>
      <MixFactor>
        <xsl:attribute name="attributename">MixedFactor</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="format-number(mengen_faktor,'0.00')"/>
      </MixFactor>
      <DivideNumber>
        <xsl:attribute name="attributename">DivideNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(teilenummer,0,3)"/>
      </DivideNumber>
      <ProjectDesc>
        <xsl:attribute name="attributename">ProjectDescription</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="Projektbezeichnung"/>
      </ProjectDesc>
      <MaterialGroup>
        <xsl:attribute name="attributename">MaterialGroup</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(material_gruppe,0,3)"/>
      </MaterialGroup>
      <MaterialDescription>
        <xsl:attribute name="attributename"></xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="material_bezeichnung"/>
      </MaterialDescription>
      <Inactively>
        <xsl:attribute name="attributename"></xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue">0</xsl:attribute>
        <xsl:value-of select="inaktiv"/>
      </Inactively>
      <ShipManually>
        <xsl:attribute name="attributename">ShipManually</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:value-of select="verlade_manuell"/>
      </ShipManually>
      <xsl:text>
    </xsl:text>
    </Project>
    <Documents>
      <CadDocs>
        <DesignParams>
          <Design>
            <DesignName>
              <xsl:value-of select="substring(cad_nummer,0,9)"/>
            </DesignName>
            <DesignCategoryName>DEFAULT DESIGN CATEGORY</DesignCategoryName>
            <StandardName>
              <xsl:value-of select="substring(fefco_nr,0,15)"/>
            </StandardName>
            <Board Code="">
              <Sort>
                <xsl:value-of select="substring(sorte_nummer,0,15)"/>
              </Sort>
              <Quality>
                <xsl:value-of select="boardquality"/>
              </Quality>
              <Grammage>
                <xsl:value-of select="boardgrammage"/>
              </Grammage>
            </Board>
            <FluteDirection>
              <xsl:value-of select="designflutedirection"/>
            </FluteDirection>
            <GrainDirection>
              <xsl:value-of select="designgraindirection"/>
            </GrainDirection>
            <MatType>
              <xsl:value-of select="substring(material_typ,0,3)"/>
            </MatType>
            <Length>
              <xsl:value-of select="laenge"/>
            </Length>
            <Width>
              <xsl:value-of select="breite"/>
            </Width>
            <Depth>
              <xsl:value-of select="hoehe"/>
            </Depth>
          </Design>
        </DesignParams>
        <xsl:text>
            </xsl:text>
      </CadDocs>
    </Documents>
    <DesignOutput>
      <StandardUsed>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="substring(fefco_nr,0,15)"/>
      </StandardUsed>
      <BlankArea>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="0"/>
      </BlankArea>
      <AreaRatio>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="0"/>
      </AreaRatio>
      <BlankLength>
        <xsl:attribute name="attributename">BlankLength</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="laengen_zuschnitt"/>
      </BlankLength>
      <BlankWidth>
        <xsl:attribute name="attributename">BlankWidth</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="breiten_zuschnitt"/>
      </BlankWidth>
      <ManualCutLength>
        <xsl:attribute name="attributename">ManualCutLength</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="breiten_laengen_zuschnitt_manuell"/>
      </ManualCutLength>
      <FoldedBoxLength>
        <xsl:attribute name="attributename">LengthOfFoldedBox</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="verlade_laenge"/>
      </FoldedBoxLength>
      <FoldedBoxWidth>
        <xsl:attribute name="attributename">WidthOfFoldedBox</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="verlade_breite"/>
      </FoldedBoxWidth>
      <FoldedBoxHeight>
        <xsl:attribute name="attributename">HeightOfFoldedBox</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="verlade_hoehe"/>
      </FoldedBoxHeight>
      <CreaseLength1>
        <xsl:attribute name="attributename">CreaseLength1</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="bz_riller"/>
      </CreaseLength1>
      <CreaseWidth1>
        <xsl:attribute name="attributename">CreaseWidth1</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="lz_riller"/>
      </CreaseWidth1>
      <CreaseLength2>
        <xsl:attribute name="attributename">CreaseLength2</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="bz_schlitzer"/>
      </CreaseLength2>
      <CreaseWidth2>
        <xsl:attribute name="attributename">CreaseWidth2</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="lz_schlitzer"/>
      </CreaseWidth2>
      <ARDFile>
        <xsl:value-of select="0"/>
      </ARDFile>
      <PDFFile>
        <xsl:value-of select="0"/>
      </PDFFile>
    </DesignOutput>
    <LayoutParams>
      <LayoutCategoryID>DEFAULT MANUFACTURING CATEGORY</LayoutCategoryID>
      <MfgFile Name="">
        <TrimTop>
          <xsl:value-of select="trimtop"/>
        </TrimTop>
        <TrimRight>
          <xsl:value-of select="trimright"/>
        </TrimRight>
        <TrimLeft>
          <xsl:value-of select="trimleft"/>
        </TrimLeft>
        <TrimBottom>
          <xsl:value-of select="trimbottom"/>
        </TrimBottom>
        <SheetSizeX>
          <xsl:value-of select="breiten_zuschnitt_vernutzt"/>
        </SheetSizeX>
        <SheetSizeY>
          <xsl:value-of select="laengen_zuschnitt_vernutzt"/>
        </SheetSizeY>
        <GutterX>
          <xsl:value-of select="gutterx"/>
        </GutterX>
        <GutterY>
          <xsl:value-of select="guttery"/>
        </GutterY>
        <GrainDir>
          <xsl:attribute name="expressionname"></xsl:attribute>
          <xsl:value-of select="layoutgraindirection"/>
        </GrainDir>
        <WastePercentage>
          <xsl:value-of select="abfall_netto_bogen"/>
        </WastePercentage>
      </MfgFile>
    </LayoutParams>
    <LayoutOutput>
      <TrimTop>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="trimtop"/>
      </TrimTop>
      <TrimRight>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="trimright"/>
      </TrimRight>
      <TrimLeft>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="trimleft"/>
      </TrimLeft>
      <TrimBottom>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="trimbottom"/>
      </TrimBottom>
      <SheetSizeX>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="breiten_zuschnitt_vernutzt"/>
      </SheetSizeX>
      <SheetSizeY>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="laengen_zuschnitt_vernutzt"/>
      </SheetSizeY>
      <EdgePunchingLength>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="laengen_zuschnitt_stanzrand"/>
      </EdgePunchingLength>
      <EdgePunchingWidth>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="breiten_zuschnitt_stanzrand"/>
      </EdgePunchingWidth>
      <NumUps>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="vernutzung"/>
      </NumUps>
      <CutSizeX>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="nutzen_breite"/>
      </CutSizeX>
      <CutSizeY>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="nutzen_laenge"/>
      </CutSizeY>
      <MFGFile>
        <xsl:value-of select="0"/>
      </MFGFile>
      <PDFFile>
        <xsl:value-of select="0"/>
      </PDFFile>
      <CF2File>
        <xsl:value-of select="0"/>
      </CF2File>
    </LayoutOutput>
  </xsl:template>
</xsl:stylesheet>
<box_xml>
  <bsi_cad2box>
    <projektnummer>004</projektnummer>
    <Projektbezeichnung>Project Description</Projektbezeichnung>
    <kalkulationsnummer>7230652</kalkulationsnummer>
    <kalkulations_u_nummer>898808</kalkulations_u_nummer>
    <mandant>676</mandant>
    <firma>2003</firma>
    <u_firma>003</u_firma>
    <bezeichnung>Customer Article Description</bezeichnung>
    <teilenummer>1</teilenummer>
    <faelligkeitsdatum>2012-01-12T00:00:00</faelligkeitsdatum>
    <sachbearbeiter1>3009</sachbearbeiter1>
    <sachbearbeiter2>30</sachbearbeiter2>
    <vertreter_kunde>201</vertreter_kunde>
    <status>neu</status>
    <kunden_nummer>716523</kunden_nummer>
    <kunden_u_nr>1001</kunden_u_nr>
    <kunden_kal_key>132132</kunden_kal_key>
    <kunden_kurzbezeichnung>Maier</kunden_kurzbezeichnung>
    <kunden_artikel_bezeichnung>Customer Article Description</kunden_artikel_bezeichnung>
    <kunden_artikel_nummer>TestKdNr 12345</kunden_artikel_nummer>
    <aufgabe_art>100</aufgabe_art>
    <aufgabe_erstellt_am>2012-01-12T00:00:00</aufgabe_erstellt_am>
    <aufgabe_ersteller>100</aufgabe_ersteller>
    <aufgabe_information>Aufgabeninfo</aufgabe_information>
    <aufgabe_sachbearbeiter>100</aufgabe_sachbearbeiter>
    <cad_nummer>00725</cad_nummer>
    <fefco_nr>2201</fefco_nr>
    <mengen_faktor>0.00</mengen_faktor>
    <vernutzung>0</vernutzung>
    <breite>205.00</breite>
    <laenge>360.00</laenge>
    <hoehe>75.00</hoehe>
    <breiten_zuschnitt>3602</breiten_zuschnitt>
    <laengen_zuschnitt>2052</laengen_zuschnitt>
    <breiten_laengen_zuschnitt_manuell>0</breiten_laengen_zuschnitt_manuell>
    <nutzen_breite>0.00</nutzen_breite>
    <nutzen_laenge>0.00</nutzen_laenge>
    <breiten_zuschnitt_vernutzt>4</breiten_zuschnitt_vernutzt>
    <laengen_zuschnitt_vernutzt>1100</laengen_zuschnitt_vernutzt>
    <breiten_zuschnitt_stanzrand>0</breiten_zuschnitt_stanzrand>
    <laengen_zuschnitt_stanzrand>4</laengen_zuschnitt_stanzrand>
    <sorte_nummer>M-SBS-300</sorte_nummer>
    <inaktiv>0</inaktiv>
    <material_typ></material_typ>
    <material_nummer></material_nummer>
    <material_gruppe>0321</material_gruppe>
    <material_bezeichnung></material_bezeichnung>
    <verlade_breite>0.00</verlade_breite>
    <verlade_laenge>0.00</verlade_laenge>
    <verlade_hoehe>0.00</verlade_hoehe>
    <verlade_manuell>0</verlade_manuell>
    <bz_riller></bz_riller>
    <lz_riller></lz_riller>
    <bz_schlitzer></bz_schlitzer>
    <lz_schlitzer></lz_schlitzer>
    <abfall_netto_bogen>19.50</abfall_netto_bogen>
    <kaschierbogen_sorte_nummer>
    </kaschierbogen_sorte_nummer>
    <kaschierbogen_breiten_zuschnitt>0.00</kaschierbogen_breiten_zuschnitt>
    <kaschierbogen_laengen_zuschnitt>0.00</kaschierbogen_laengen_zuschnitt>
    <kaschierbogen_breite_zuschnitt_rand>0.00</kaschierbogen_breite_zuschnitt_rand>
    <kaschierbogen_laengen_zuschnitt_rand>0.00</kaschierbogen_laengen_zuschnitt_rand>
    <legevariante_nummer>
    </legevariante_nummer>
    <druck_ff_nummer>
    </druck_ff_nummer>
    <druck_ff_art>
    </druck_ff_art>
    <druck_ff_womit>
    </druck_ff_womit>
    <ver_ff_nummer>
    </ver_ff_nummer>
    <ver_ff_art>
    </ver_ff_art>
    <ver_ff_womit>
    </ver_ff_womit>
    <stanzen_ff_nummer>
    </stanzen_ff_nummer>
    <stanzen_ff_art>
    </stanzen_ff_art>
    <stanzen_ff_womit>
    </stanzen_ff_womit>
    <kasch_ff_nummer>
    </kasch_ff_nummer>
    <kasch_ff_art>
    </kasch_ff_art>
    <kasch_ff_womit>
    </kasch_ff_womit>
    <bsi_cad2box_ff>
      <typ>gsm</typ>
      <text>14.16</text>
      <n_wert>14.16</n_wert>
    </bsi_cad2box_ff>
    <bsi_cad2box_ff>
      <typ>dru</typ>
      <text>
      </text>
      <n_wert>0.00</n_wert>
    </bsi_cad2box_ff>
    <bsi_cad2box_ff>
      <typ>kas</typ>
      <text>
      </text>
      <n_wert>0.00</n_wert>
    </bsi_cad2box_ff>
    <DOKUMENT>
      <typ>
      </typ>
      <name>
      </name>
      <version>
      </version>
      <erstellungs_datum>
      </erstellungs_datum>
      <url>
      </url>
    </DOKUMENT>
  </bsi_cad2box>
</box_xml>

井队
项目编号
我
第一组
第2组
第一组
计算数
我
计算子数
我
曼丹特
我
676
公司名称
木卫一
100
公司子名称
木卫一
物品标识
木卫一
零件号
我
0
内部人员1
我
内部人员2
我
销售员
我
1.
2.
3.
0
客户子编号
木卫一
客户描述
木卫一
CustomerArticleDescription
木卫一
CustomerArticleNumber
我
任务类型
我
任务生成器
我
任务日期
我
任务信息
我
任务专家
我
混合因子
我
除数
我
项目描述
我
材料组
我
木卫一
木卫一
0
手工发货
木卫一
1.
默认设计类别
空白长度
O
空白宽度
O
手动切割长度
O
1.
长框
O
折叠盒的宽度
O
1.
折叠箱的高度
O
1.
折痕长度1
O
1.
折痕宽度1
O
1.
折痕长度2
O
1.
折痕宽度2
O
1.
默认制造类别
O
O
O
O
O
O
O
O
以下是使用VS 2010测试的XML(运行良好)和安装程序:

<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="xml" indent="yes"/>
  <xsl:template match="/">
    <ProjectManagement>
      <xsl:apply-templates/>
    </ProjectManagement>
  </xsl:template>
  <xsl:template match="kalkulation">
    <Project>
      <ProjectCategoryName>WellTeam</ProjectCategoryName>
      <ProjectNumber>
        <xsl:attribute name="attributename">ProjectNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="projektnummer"/>
      </ProjectNumber>
      <ProjectName>
        <xsl:if test="string-length(projektnummer)!=0">
          <xsl:if test ="string-length(kunden_kurzbezeichnung)!=0">
            <xsl:if test ="string-length(kunden_artikel_bezeichnung)!=0">
              <xsl:value-of select="concat(projektnummer,'',kunden_kurzbezeichnung,'',kunden_artikel_bezeichnung)"/>
            </xsl:if>
          </xsl:if>
        </xsl:if>
      </ProjectName>
      <TemplateName>
        <xsl:choose>
          <xsl:when test="u_firma=003 and material_gruppe = 0321">Group1</xsl:when>
          <xsl:when test="u_firma=004 and material_gruppe = 0321">Group2</xsl:when>
          <xsl:otherwise>Group1</xsl:otherwise>
        </xsl:choose>
      </TemplateName>
      <CalculationNumber>
        <xsl:attribute name="attributename">CalculationNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="kalkulationsnummer"/>
      </CalculationNumber>
      <CalculationSubNumber>
        <xsl:attribute name="attributename">CalculationSubNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="kalkulations_u_nummer"/>
      </CalculationSubNumber>
      <Mandator>
        <xsl:attribute name="attributename">Mandant</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue">676</xsl:attribute>
        <xsl:value-of select="substring(mandant,0,3)"/>
      </Mandator>
      <CompanyName>
        <xsl:attribute name="attributename">CompanyName</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue">100</xsl:attribute>
        <xsl:value-of select="substring(firma,0,4)"/>
      </CompanyName>
      <CompanySubName>
        <xsl:attribute name="attributename">CompanySubName</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(u_firma,0,4)"/>
      </CompanySubName>
      <ArticleIndication>
        <xsl:attribute name="attributename">ArticleIndication</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(bezeichnung,0,40)"/>
      </ArticleIndication>
      <PartNumber>
        <xsl:attribute name="attributename">PartNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue">0</xsl:attribute>
        <xsl:value-of select="teilenummer"/>
      </PartNumber>
      <DueDate>
        <xsl:attribute name="attributename"></xsl:attribute>
        <xsl:attribute name="type"></xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="faelligkeitsdatum"/>
      </DueDate>
      <InsideSalesPerson1>
        <xsl:attribute name="attributename">InsideSalesPerson1</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(sachbearbeiter1,0,20)"/>
      </InsideSalesPerson1>
      <InsideSalesPerson2>
        <xsl:attribute name="attributename">InsideSalesPerson2</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(sachbearbeiter2,0,20)"/>
      </InsideSalesPerson2>
      <SalesPerson>
        <xsl:attribute name="attributename">SalesPerson</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(vertreter_kunde,0,60)"/>
      </SalesPerson>
      <Status>
        <xsl:variable name="smallcase" select="'abcdefghijklmnopqrstuvwxyz'" />
        <xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
        <xsl:variable name="status" select="translate(status, $smallcase,$uppercase)" />
        <xsl:choose>
          <xsl:when test="$status='NEW' or $status= 'NEU'">1</xsl:when>
          <xsl:when test="$status='READY' or $status='FERTIG'">2</xsl:when>
          <xsl:when test="$status='IN BEARBEITUNG'">3</xsl:when>
          <xsl:otherwise>0</xsl:otherwise>
        </xsl:choose>        
      </Status>
      <StatusText>
        <xsl:value-of select="status"/>
      </StatusText>
      <CustomerNo>
        <xsl:value-of select="substring(kunden_nummer,0,7)"/>
      </CustomerNo>
      <CustomerSubNo>
        <xsl:attribute name="attributename">CustomerSubNumber</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="kunden_u_nr"/>
      </CustomerSubNo>
      <CustomerShortDesc>
        <xsl:attribute name="attributename">CustomerDescription</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(kunden_kurzbezeichnung,0,20)"/>
      </CustomerShortDesc>
      <CustomerArticleDescription>
        <xsl:attribute name="attributename">CustomerArticleDescription</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(kunden_artikel_bezeichnung,0,255)"/>
      </CustomerArticleDescription>
      <CustomerArticleNumber>
        <xsl:attribute name="attributename">CustomerArticleNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(kunden_artikel_nummer,0,30)"/>
      </CustomerArticleNumber>
      <TaskType>
        <xsl:attribute name="attributename">TaskType</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(aufgabe_art,0,3)"/>
      </TaskType>
      <TaskCreator>
        <xsl:attribute name="attributename">TaskCreator</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(aufgabe_ersteller,0,20)"/>
      </TaskCreator>
      <TaskDate>
        <xsl:attribute name="attributename">TaskDate</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="aufgabe_erstellt_am"/>
      </TaskDate>
      <TaskInfo>
        <xsl:attribute name="attributename">TaskInformation</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(aufgabe_information,0,255)"/>
      </TaskInfo>
      <DesignerId>
        <xsl:attribute name="attributename">TaskSpecialist</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(aufgabe_sachbearbeiter,0,3)"/>
      </DesignerId>
      <MixFactor>
        <xsl:attribute name="attributename">MixedFactor</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="format-number(mengen_faktor,'0.00')"/>
      </MixFactor>
      <DivideNumber>
        <xsl:attribute name="attributename">DivideNumber</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(teilenummer,0,3)"/>
      </DivideNumber>
      <ProjectDesc>
        <xsl:attribute name="attributename">ProjectDescription</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="Projektbezeichnung"/>
      </ProjectDesc>
      <MaterialGroup>
        <xsl:attribute name="attributename">MaterialGroup</xsl:attribute>
        <xsl:attribute name="type">I</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="substring(material_gruppe,0,3)"/>
      </MaterialGroup>
      <MaterialDescription>
        <xsl:attribute name="attributename"></xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:value-of select="material_bezeichnung"/>
      </MaterialDescription>
      <Inactively>
        <xsl:attribute name="attributename"></xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue">0</xsl:attribute>
        <xsl:value-of select="inaktiv"/>
      </Inactively>
      <ShipManually>
        <xsl:attribute name="attributename">ShipManually</xsl:attribute>
        <xsl:attribute name="type">IO</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:value-of select="verlade_manuell"/>
      </ShipManually>
      <xsl:text>
    </xsl:text>
    </Project>
    <Documents>
      <CadDocs>
        <DesignParams>
          <Design>
            <DesignName>
              <xsl:value-of select="substring(cad_nummer,0,9)"/>
            </DesignName>
            <DesignCategoryName>DEFAULT DESIGN CATEGORY</DesignCategoryName>
            <StandardName>
              <xsl:value-of select="substring(fefco_nr,0,15)"/>
            </StandardName>
            <Board Code="">
              <Sort>
                <xsl:value-of select="substring(sorte_nummer,0,15)"/>
              </Sort>
              <Quality>
                <xsl:value-of select="boardquality"/>
              </Quality>
              <Grammage>
                <xsl:value-of select="boardgrammage"/>
              </Grammage>
            </Board>
            <FluteDirection>
              <xsl:value-of select="designflutedirection"/>
            </FluteDirection>
            <GrainDirection>
              <xsl:value-of select="designgraindirection"/>
            </GrainDirection>
            <MatType>
              <xsl:value-of select="substring(material_typ,0,3)"/>
            </MatType>
            <Length>
              <xsl:value-of select="laenge"/>
            </Length>
            <Width>
              <xsl:value-of select="breite"/>
            </Width>
            <Depth>
              <xsl:value-of select="hoehe"/>
            </Depth>
          </Design>
        </DesignParams>
        <xsl:text>
            </xsl:text>
      </CadDocs>
    </Documents>
    <DesignOutput>
      <StandardUsed>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="substring(fefco_nr,0,15)"/>
      </StandardUsed>
      <BlankArea>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="0"/>
      </BlankArea>
      <AreaRatio>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="0"/>
      </AreaRatio>
      <BlankLength>
        <xsl:attribute name="attributename">BlankLength</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="laengen_zuschnitt"/>
      </BlankLength>
      <BlankWidth>
        <xsl:attribute name="attributename">BlankWidth</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="breiten_zuschnitt"/>
      </BlankWidth>
      <ManualCutLength>
        <xsl:attribute name="attributename">ManualCutLength</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="breiten_laengen_zuschnitt_manuell"/>
      </ManualCutLength>
      <FoldedBoxLength>
        <xsl:attribute name="attributename">LengthOfFoldedBox</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="verlade_laenge"/>
      </FoldedBoxLength>
      <FoldedBoxWidth>
        <xsl:attribute name="attributename">WidthOfFoldedBox</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="verlade_breite"/>
      </FoldedBoxWidth>
      <FoldedBoxHeight>
        <xsl:attribute name="attributename">HeightOfFoldedBox</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="verlade_hoehe"/>
      </FoldedBoxHeight>
      <CreaseLength1>
        <xsl:attribute name="attributename">CreaseLength1</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="bz_riller"/>
      </CreaseLength1>
      <CreaseWidth1>
        <xsl:attribute name="attributename">CreaseWidth1</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="lz_riller"/>
      </CreaseWidth1>
      <CreaseLength2>
        <xsl:attribute name="attributename">CreaseLength2</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="bz_schlitzer"/>
      </CreaseLength2>
      <CreaseWidth2>
        <xsl:attribute name="attributename">CreaseWidth2</xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue">1</xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="lz_schlitzer"/>
      </CreaseWidth2>
      <ARDFile>
        <xsl:value-of select="0"/>
      </ARDFile>
      <PDFFile>
        <xsl:value-of select="0"/>
      </PDFFile>
    </DesignOutput>
    <LayoutParams>
      <LayoutCategoryID>DEFAULT MANUFACTURING CATEGORY</LayoutCategoryID>
      <MfgFile Name="">
        <TrimTop>
          <xsl:value-of select="trimtop"/>
        </TrimTop>
        <TrimRight>
          <xsl:value-of select="trimright"/>
        </TrimRight>
        <TrimLeft>
          <xsl:value-of select="trimleft"/>
        </TrimLeft>
        <TrimBottom>
          <xsl:value-of select="trimbottom"/>
        </TrimBottom>
        <SheetSizeX>
          <xsl:value-of select="breiten_zuschnitt_vernutzt"/>
        </SheetSizeX>
        <SheetSizeY>
          <xsl:value-of select="laengen_zuschnitt_vernutzt"/>
        </SheetSizeY>
        <GutterX>
          <xsl:value-of select="gutterx"/>
        </GutterX>
        <GutterY>
          <xsl:value-of select="guttery"/>
        </GutterY>
        <GrainDir>
          <xsl:attribute name="expressionname"></xsl:attribute>
          <xsl:value-of select="layoutgraindirection"/>
        </GrainDir>
        <WastePercentage>
          <xsl:value-of select="abfall_netto_bogen"/>
        </WastePercentage>
      </MfgFile>
    </LayoutParams>
    <LayoutOutput>
      <TrimTop>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="trimtop"/>
      </TrimTop>
      <TrimRight>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="trimright"/>
      </TrimRight>
      <TrimLeft>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="trimleft"/>
      </TrimLeft>
      <TrimBottom>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="trimbottom"/>
      </TrimBottom>
      <SheetSizeX>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="breiten_zuschnitt_vernutzt"/>
      </SheetSizeX>
      <SheetSizeY>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="laengen_zuschnitt_vernutzt"/>
      </SheetSizeY>
      <EdgePunchingLength>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="laengen_zuschnitt_stanzrand"/>
      </EdgePunchingLength>
      <EdgePunchingWidth>
        <xsl:attribute name="attributeid"></xsl:attribute>
        <xsl:attribute name="type">O</xsl:attribute>
        <xsl:attribute name="defaultvalue"></xsl:attribute>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="breiten_zuschnitt_stanzrand"/>
      </EdgePunchingWidth>
      <NumUps>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="vernutzung"/>
      </NumUps>
      <CutSizeX>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="nutzen_breite"/>
      </CutSizeX>
      <CutSizeY>
        <xsl:attribute name="expressionname"></xsl:attribute>
        <xsl:value-of select="nutzen_laenge"/>
      </CutSizeY>
      <MFGFile>
        <xsl:value-of select="0"/>
      </MFGFile>
      <PDFFile>
        <xsl:value-of select="0"/>
      </PDFFile>
      <CF2File>
        <xsl:value-of select="0"/>
      </CF2File>
    </LayoutOutput>
  </xsl:template>
</xsl:stylesheet>
<box_xml>
  <bsi_cad2box>
    <projektnummer>004</projektnummer>
    <Projektbezeichnung>Project Description</Projektbezeichnung>
    <kalkulationsnummer>7230652</kalkulationsnummer>
    <kalkulations_u_nummer>898808</kalkulations_u_nummer>
    <mandant>676</mandant>
    <firma>2003</firma>
    <u_firma>003</u_firma>
    <bezeichnung>Customer Article Description</bezeichnung>
    <teilenummer>1</teilenummer>
    <faelligkeitsdatum>2012-01-12T00:00:00</faelligkeitsdatum>
    <sachbearbeiter1>3009</sachbearbeiter1>
    <sachbearbeiter2>30</sachbearbeiter2>
    <vertreter_kunde>201</vertreter_kunde>
    <status>neu</status>
    <kunden_nummer>716523</kunden_nummer>
    <kunden_u_nr>1001</kunden_u_nr>
    <kunden_kal_key>132132</kunden_kal_key>
    <kunden_kurzbezeichnung>Maier</kunden_kurzbezeichnung>
    <kunden_artikel_bezeichnung>Customer Article Description</kunden_artikel_bezeichnung>
    <kunden_artikel_nummer>TestKdNr 12345</kunden_artikel_nummer>
    <aufgabe_art>100</aufgabe_art>
    <aufgabe_erstellt_am>2012-01-12T00:00:00</aufgabe_erstellt_am>
    <aufgabe_ersteller>100</aufgabe_ersteller>
    <aufgabe_information>Aufgabeninfo</aufgabe_information>
    <aufgabe_sachbearbeiter>100</aufgabe_sachbearbeiter>
    <cad_nummer>00725</cad_nummer>
    <fefco_nr>2201</fefco_nr>
    <mengen_faktor>0.00</mengen_faktor>
    <vernutzung>0</vernutzung>
    <breite>205.00</breite>
    <laenge>360.00</laenge>
    <hoehe>75.00</hoehe>
    <breiten_zuschnitt>3602</breiten_zuschnitt>
    <laengen_zuschnitt>2052</laengen_zuschnitt>
    <breiten_laengen_zuschnitt_manuell>0</breiten_laengen_zuschnitt_manuell>
    <nutzen_breite>0.00</nutzen_breite>
    <nutzen_laenge>0.00</nutzen_laenge>
    <breiten_zuschnitt_vernutzt>4</breiten_zuschnitt_vernutzt>
    <laengen_zuschnitt_vernutzt>1100</laengen_zuschnitt_vernutzt>
    <breiten_zuschnitt_stanzrand>0</breiten_zuschnitt_stanzrand>
    <laengen_zuschnitt_stanzrand>4</laengen_zuschnitt_stanzrand>
    <sorte_nummer>M-SBS-300</sorte_nummer>
    <inaktiv>0</inaktiv>
    <material_typ></material_typ>
    <material_nummer></material_nummer>
    <material_gruppe>0321</material_gruppe>
    <material_bezeichnung></material_bezeichnung>
    <verlade_breite>0.00</verlade_breite>
    <verlade_laenge>0.00</verlade_laenge>
    <verlade_hoehe>0.00</verlade_hoehe>
    <verlade_manuell>0</verlade_manuell>
    <bz_riller></bz_riller>
    <lz_riller></lz_riller>
    <bz_schlitzer></bz_schlitzer>
    <lz_schlitzer></lz_schlitzer>
    <abfall_netto_bogen>19.50</abfall_netto_bogen>
    <kaschierbogen_sorte_nummer>
    </kaschierbogen_sorte_nummer>
    <kaschierbogen_breiten_zuschnitt>0.00</kaschierbogen_breiten_zuschnitt>
    <kaschierbogen_laengen_zuschnitt>0.00</kaschierbogen_laengen_zuschnitt>
    <kaschierbogen_breite_zuschnitt_rand>0.00</kaschierbogen_breite_zuschnitt_rand>
    <kaschierbogen_laengen_zuschnitt_rand>0.00</kaschierbogen_laengen_zuschnitt_rand>
    <legevariante_nummer>
    </legevariante_nummer>
    <druck_ff_nummer>
    </druck_ff_nummer>
    <druck_ff_art>
    </druck_ff_art>
    <druck_ff_womit>
    </druck_ff_womit>
    <ver_ff_nummer>
    </ver_ff_nummer>
    <ver_ff_art>
    </ver_ff_art>
    <ver_ff_womit>
    </ver_ff_womit>
    <stanzen_ff_nummer>
    </stanzen_ff_nummer>
    <stanzen_ff_art>
    </stanzen_ff_art>
    <stanzen_ff_womit>
    </stanzen_ff_womit>
    <kasch_ff_nummer>
    </kasch_ff_nummer>
    <kasch_ff_art>
    </kasch_ff_art>
    <kasch_ff_womit>
    </kasch_ff_womit>
    <bsi_cad2box_ff>
      <typ>gsm</typ>
      <text>14.16</text>
      <n_wert>14.16</n_wert>
    </bsi_cad2box_ff>
    <bsi_cad2box_ff>
      <typ>dru</typ>
      <text>
      </text>
      <n_wert>0.00</n_wert>
    </bsi_cad2box_ff>
    <bsi_cad2box_ff>
      <typ>kas</typ>
      <text>
      </text>
      <n_wert>0.00</n_wert>
    </bsi_cad2box_ff>
    <DOKUMENT>
      <typ>
      </typ>
      <name>
      </name>
      <version>
      </version>
      <erstellungs_datum>
      </erstellungs_datum>
      <url>
      </url>
    </DOKUMENT>
  </bsi_cad2box>
</box_xml>

004
项目说明
7230652