• No se han encontrado resultados

4. METODOLOGÍA 1 Recolección del material vegetal

4.3 Ensayos de laboratorio para extracción de las fibras.

4.3.2 Digestión con NaOH al 12% a diferentes tiempos.

„MenuGerman.xslt“

<?xml version="1.0" encoding="UTF-16"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<!--declaration of the namespace used as part of the root element-->

<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>

<xsl:variable name="german" select="document('C:/Daten/Cristina/D.A/IMPLEMENTIERUNG/Taxonomie

Internationalisiertes System/German/Phase1Data/XML/Language_deutsch.xml')" /> <!--stores the file

with the text in German in the variable german-->

<!--

*************************************************************************************************

***************************************************************************************-->

<!-- Stylesheet with the rules for translating the xml document "MenuStructureGermany"

containing the specific menu structure for Germany into German-->

<!--

*************************************************************************************************

****************************************************************************************-->

<!--************************************************--> <!-- creates the reference to the stylesheet --> <!--************************************************-->

<xsl:template match="/">

<xsl:processing-instruction name="xml-

stylesheet">href="C:\Daten\Cristina\D.A\IMPLEMENTIERUNG\Taxonomie Internationalisiertes System\German\Phase2Representation\XSLT\Germanymenus.xslt" type="text/xsl"

</xsl:processing-instruction>

<!--copys the processing instruction to the output document-->

<xsl:apply-templates/>

</xsl:template>

<!--************************************************--> <!-- creates the root node -->

<!--************************************************-->

<xsl:template match="mainmenu"> <!--matches the root mainmenu of the xml document-->

<xsl:variable name="SID" select="@sid" /> <!--stores the attribute sid in the variable SID-

->

<mainmenu sid="{@sid}"> <!--inserts the element mainmenu with the name of its

attribute-->

<xsl:apply-templates select="@*"/> <!--all attributes are matched by the template-->

<xsl:value-of select="$german//text"/> <!-- gets the value of the text in German -->

<xsl:text>&#10;</xsl:text> <!--inserts a new line-->

<xsl:apply-templates/> <!--to apply the template rule in the current context -->

</mainmenu> </xsl:template>

<xsl:template match="@*">

<xsl:attribute name="{name()}"> <!--creates a new element with the name of the context

<xsl:value-of select="."/> <!--value of the attribute becomes the value of the newly created element-->

</xsl:attribute> </xsl:template>

<!--************************************************--> <!-- creates the menu elements -->

<!--************************************************-->

<xsl:template match="//menu">

<xsl:variable name="SID" select="@sid" /> <!--storese the attribute sid in the variable

SID-->

<menu sid="{@sid}">

<xsl:for-each select="$german//text[@id=$SID]"> <!--compares the value of the

attributes of both xml documents-->

<xsl:value-of select="."/> <!-- gets the value of the text in German -->

</xsl:for-each>

<xsl:text>&#10;</xsl:text>

<xsl:apply-templates/>

</menu> </xsl:template>

<!--***************************************************--> <!-- creates the menuItem elements -->

<!--****************************************************-->

<xsl:template match="//menuItem">

<xsl:variable name="SID" select="@sid" /> <!--stores the attribute sid in the variable SID-

->

sid="{@sid}">

<menuItem

<xsl:for-each select="$german//text[@id=$SID]"> <!--compares the value of the

attributes of both xml documents-->

<xsl:value-of select="."/> <!-- gets the value of the text in German -->

</xsl:for-each>

<xsl:text>&#10;</xsl:text>

<xsl:apply-templates/>

</menuItem> </xsl:template> </xsl:stylesheet>

„MenuEnglish.xslt“

<?xml version="1.0" encoding="UTF-16"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<!--declaration of the namespace used as part of the root lemente -->

<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>

<xsl:variable name="english" select="document('C:/Daten/Cristina/D.A/IMPLEMENTIERUNG/Taxonomie

Internationalisiertes System/English/Phase1Data/XML/Language_englisch.xml')" /> <!--stores

the file with the text in English in the variable english-->

<!--

*************************************************************************************************

***************************************************************************************-->

<!-- Stylesheet with the rules for translating the xml document "MenuStructureUSA" containing

the specific menu structure for USA into English -->

<!--

*************************************************************************************************

****************************************************************************************-->

<!--************************************************--> <!-- creates the reference to the stylesheet --> <!--************************************************-->

m

<xsl:te plate match="/">

<xsl:processing-instruction name="xml-

stylesheet">href="C:\Daten\Cristina\D.A\IMPLEMENTIERUNG\Taxonomie Internationalisiertes System\English\Phase2Representation\XSLT\USAmenus.xslt" type=" ext/xsl" t

</xsl:processing-instruction>

<!--copys the processing instruction to the output document-->

<xsl:apply-templates/>

</xsl:template>

<!--*********************************** ************* --> <!-- creates the root node mainmenu -->

<!--************************************************-->

<xsl:template match="mainmenu"> <!--matches the root mainmenu of the xml document-->

<xsl:variable name="SID" select="@sid" /> <!--stores the the attribute sid in the variable

SID-->

<mainmenu sid="{@sid}"> <!--inserts the element mainmenu with the name of its

attribute-->

<xsl:apply-templates select="@*"/> <!--all attributes are matched by the template-->

x text"/> <!-- gets the value of the text in English -->

< sl:value-of select="$english//

<xsl:text>&#10;</xsl:text><!--inserts a new line-->

<xsl:apply-templates/> <!--to apply the template rule in the current context -->

</mainmenu> </xsl:template>

m

<xsl:te plate match="@*">

<xsl:attribute name="{name()}"> <!--creates a new element with the name of the context

node-->

<xsl:value-of select="."/> <!--va ul e of the attribute becomes the value of the newly

created element--> </xsl:attribute> </xsl:template>

<!--************************************************--> <!-- creates the menu elements -->

<xsl:value-of select="."/> <!-- gets the value of the text in English -->

<xsl:text>&#10;</xsl:text>

</xsl:for-each> <xsl:apply-templates /> nu> e </m </xsl:template> <!--************************************************--> <!-- creates the menuItem elements -->

- -->

<!- ************************************************

<xsl:template match="//menuItem">

<xsl:variable name="SID" select="@sid" /> <!--stores the the attribute sid in the variable

SID-->

<menuItem sid="{@sid}"> <!--inserts a new element with the name of the context node--

>

<xsl:for-each select="$english//text[@id=$SID]"> <!--compares the value of the

attributes of both xml documents-->

<xsl:value-of select="."/> <!-- gets the value of the text in English -->

<xsl:text>&#10;</xsl:text>

</xsl:for-each> <xsl:apply-templates /> </menuItem> </xsl:template> </xsl:stylesheet> ese.xslt“ „MenuJapan <?xml version="1.0" encoding="UTF-16"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<!--declaration of the namespace used as part of the root element-->

<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>

<xsl:variable name="japanese"

select="document('C:/Daten/Cristina/D.A/IMPLEMENTIERUNG/Taxonomie Internationalisiertes

System/Japanese/Phase1Data/XML/Language_japanisch.xml')" /> <!--stores the file with the text in Japanese in the variable "japanese"-->

<!--

*************************************************************************************************

***************************************************************************************-->

<!-- Stylesheet with the rules for translating the xml document "MenüStrukturJapan"

containing the specific menu structure for Japan into Japanese -->

<!--

*************************************************************************************************

****************************************************************************************-->

<!--************************************************--> <!-- creates the reference to the stylesheet --> <!--************************************************-->

<xsl:template match="/">

<xsl:processing-instruction name="xml-

stylesheet">href="C:\Daten\Cristina\D.A\IMPLEMENTIERUNG\Taxonomie Internationalisiertes Sys emt \Japanese\Phase2Representation\XSLT\Japanmenus.xslt" type="text/xsl"

</xsl:processing-instruction>

<!--copys the processing instruction to the output document-->

<xsl:apply-templates/>

</xsl:template>

<!--************************************************--> <!-- creates the root node mainmenu -->

<!--************************************************-->

<xsl:template match="mainmenu"> <!--matches the root mainmenu of the xml document-->

<xsl:variable name="SID" select="@sid" /> <!--stores the attribute sid in the variable SID-

->

<mainmenu sid="{@sid}"> <!--inserts the element mainmenu with the name of its

attribute-->

<xsl:apply-templates select="@*"/> <!--all attributes are matched by the template-->

<xsl:value-of select="$japanese//text"/> <!-- gets the value of the text in Japanese -->

<xsl:text>&#10;</xsl:text><!--inserts a new line-->

<xsl:apply-templates/> <!--to apply the template rule in the current context -->

</mainmenu> </xsl:template>

<xsl:template match="@*">

<xsl:attribute name="{name()}"> <!--creates a new element with the name of the context

node-->

<xsl:value-of select="."/> <!--value of the attribute becomes the value of the newly

created element--> </xsl:attribute> </xsl:template>

<!--************************************************--> <!-- creates the menu elements -->

<!--************************************************-->

<xsl:template match="//menu">

<xsl:variable name="SID" select="@sid" /> <!--stores the attribute sid in the variable SID-

->

<menu sid="{@sid}"> <!--inserts a new element with the name of the context node-->

<xsl:for-each select="$japanese//text[@id=$SID]"> <!--compares the value of the

attributes of both xml documents-->

<xsl:value-of select="."/> <!-- gets the value of the text in Japanese -->

<xsl:text>&#10;</xsl:text>

</xsl:for-each>

<xsl:apply-templates />

</menu> </xsl:template>

<!--************************************************--> <!-- creates the menuItem elements -->

<x l:variables name="SID" select="@sid" /> <!--stores the attribute sid in the variable SID- ->

<menuItem sid="{@sid}"> <!--inserts a new element with the name of the context node--

>

<xsl:for-each select="$japanese//text[@id=$SID]"> <!--compares the value of the

attributes of both xml documents-->

<xsl:value-of select="."/> <!-- gets the value of the text in Japanese -->

<xsl:text>&#10;</xsl:text>

</xsl:for-each> <xsl:apply-templates /> </menuItem> </xsl:template> </xsl stylesheet: > 9.5.2 XML Dokumente „Language_deutsch.xml“ <?xml version="1.0" encoding="UTF-16"?>

<!--Document containig the text for the german version of the menu--> <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:noNamespaceSchemaLocation="C:\Daten\Cristina\D.A\IMPLEMENTIERUNG\Taxonomie

Internationalisiertes System\International\Schema\language.xsd">

<language id="DE">

<text id="SID_MAINMENU">HAUPTMENÜ</text>

<text id="SID_ENTERTAINMENT"> UNTERHALTUNG</text> <text id="SID_FM">FM</text>

<text id="SID_FMSTOREDSTATIONS">GESPEICHERTE SENDER</text> <text id="SID_AMSTOREDSTATIONS">GESPEICHERTE SENDER</text> <text id="SID_TRFSTOREDSTATIONS">GESPEICHERTE SENDER</text> <text id="SID_SATSTOREDSTATIONS">GESPEICHERTE SENDER</text> <text id="SID_FMSTATIONSLIST">LISTE VON SENDERN </text> <text id="SID_AMSTATIONSLIST">LISTE VON SENDERN </text> <text id="SID_TRFSTATIONSLIST">LISTE VON SENDERN </text> <text id="SID_SATSTATIONSLIST">LISTE VON SENDERN </text> <text id="SID_FMRECEIVABLESTATIONS">EMPFANGBARE SENDER</text> <text id="SID_AMRECEIVABLESTATIONS">EMPFANGBARE SENDER</text> <text id="SID_TRFRECEIVABLESTATIONS">EMPFANGBARE SENDER</text> <text id="SID_SATRECEIVABLESTATIONS">EMPFANGBARE SENDER</text> <text id="SID_AM">AM</text>

<text id="SID_TRAFFICINFO">VERKEHRSINFORMATION</text> <text id="SID_TRF">TRF</text>

<text id="SID_SATRADIO">SATELLITENRADIO</text> <text id="SID_MUSIC">MUSIK</text>

<text id="SID_SONGSLIST">SONGS</text> <text id="SID_PLAY">ABSPIELEN</text> <text id="SID_PAUSE">PAUSE</text> <text id="SID_STOP">ANHALTEN</text>

<text id="SID_FIRSTTRACK">LISTENANFANG</text> <text id="SID_LASTTRACK">LISTENENDE</text> <text id="SID_SCAN">SCAN</text>

<text id="SID_RANDOM">RANDOM</text>

<text id="SID_PREVIOUS">VORHERIGES LIED</text> <text id="SID_NEXT">NÄCHSTES LIED</text> <text id="SID_VIDEO">VIDEO</text> <text id="SID_TV">TV</text>

<text id="SID_ON">EINSCHALTEN</text> <text id="SID_OFF">AUSSCHALTEN</text>

<text id="SID_TVSETTINGS">EINSTELLUNGEN TV</text> <text id="SID_VOLUME">LAUT/LEISE</text>

<text id="SID_CONTRAST">KONTRAST</text> <text id="SID_COLOR">FARBE</text> <text id="SID_DVD">DVD</text>

<text id="SID_LANGUAGE">SPRACHE</text> <text id="SID_GERMAN">DEUTSCH</text> <text id="SID_ENGLISH">ENGLISCH</text> <text id="SID_JAPANESE">JAPANISCH</text> <text id="SID_NAVIGATION">NAVIGATION</text> <text id="SID_COMMUNICATION">KOMMUNIKATION</text> <text id="SID_CLIMATE">KLIMAANLAGE</text>

<text id="SID_INFO MATIOR N">INFORMATION</text> <t xte id="SID_SETTINGS">EINSTELLUNGEN</text> <text id="SID_EXIT">BEENDEN</text>

</language>

</root>

„Language_englisch.xml“

<?xml version="1.0" encoding="UTF-8"?>

<!--Document containig the text for the american version of the menu--> <root xm ns:xsil ="http://www.w3.org/2001/XMLSchema-instance"

xsi:noNamespaceSchemaLocation="C:\Daten\Cristina\D.A\IMPLEMENTIERUNG\Taxonomie

Internationalisiertes System\International\Schema\language.xsd">

<language id="EN">

<text id="SID_MAINMENU">MAIN MENU</text>

<text id="SID_ENTERTAINMENT">ENTERTAINMENT</text> <text id="SID_FM">FM</text>

<t xte id="SID_FMSTOREDSTATIONS">STORED STATIONS</text> <t xte id="SID_AMSTOREDSTATIONS">STORED STATIONS</text> <text id="SID_TRFSTOREDSTATIONS">STORED STATIONS</text>

<text id="SID_AMRECEIVABLESTATIONS">RECEIVABLE STATIONS</text> <text id="SID_TRFRECEIVABLESTATIONS">RECEIVABLE STATIONS</text> <text id="SID_SATRECEIVABLESTATIONS">RECEIVABLE STATIONS</text> <text id="SID_AM">AM </text>

<text id="SID_TRAFFICINFO">TRAFFIC INFORMATION </text> <text id="SID_TRF">TRF</text>

<text id="SID_SATRADIO">SAT RADIO </text> <text id="SID_MUSIC">MUSIC </text> <text id="SID_SONGSLIST">SONGS</text> <text id="SID_PLAY">PLAY</text>

/t

<text id="SID_PAUSE">PAUSE< ext> <text id="SID_STOP">STOP</text>

<text id="SID_FIRSTTRACK">FIRST TRACK</text> <text id="SID_LASTTRACK">LAST TRACK</text> <text id="SID_SCAN">SCAN</text>

<text id="SID_RANDOM">RANDOM</text> <text id="SID_PREVIOUS">PREVIOUS</text> <text id="SID_NEXT">NEXT</text>

<text id="SID_VIDEO">VIDEO</text> <text id="SID_TV">TV</text> <text id="SID_ON">ON</text> <text id="SID_OFF">OFF</text>

<text id="SID_TVSETTINGS">TV SETTINGS</text> <text id="SID_VOLUME">VOLUME</text>

<text id="SID_CONTRAST">KONTRAST</text> <text id="SID_COLOR">COLOR</text> <text id="SID_DVD">DVD</text>

<text id="SID_LANGUAGE">DVD LANGUAGE</text> <text id="SID_GERMAN">GERMAN</text>

<text id="SID_ENGLISH">ENGLISH</text> <text id="SID_JAPANESE">JAPANESE</text> <text id="SID_NAVIGATION">NAVIGATION</text> <text id="SID_COMMUNICATION">COMMUNICATION</text> <text id="SID_CLIMATE">CLIMATE</text>

<text id="SID_INFORMATION">INFORMATION</text> <text id="SID_SETTINGS">SETTINGS</text> <text id="SID_EXIT">EXIT</text>

</language> </root>

„Language_japanisch.xml“

<?xml version="1.0" encoding="UTF-16"?>

<!--Document containig the text for the japanese version of the menu--> <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:noNamespaceSchemaLocation="C:\Daten\Cristina\D.A\IMPLEMENTIERUNG\Taxonomie

Internationalisiertes System\International\Schema\language.xsd">

<language id="JA">

<text id="SID_MAINMENU"> メインメニュー</text>

<t xte id="SID_ENTERTAINMENT">AV</text> <text id="SID_FM">FM</text>

<text id="SID_FMSTOREDSTATIONS">プリセットラジオ放送局</text> <text id="SID_AMSTOREDSTATIONS">プリセットラジオ放送局</text> <text id="SID_TRFSTOREDSTATIONS">プリセットラジオ放送局</text> <text id="SID_SATSTOREDSTATIONS">プリセットラジオ放送局</text> <text id="SID_FMSTATIONSLIST">ラジオ放送局リスト</text> <text id="SID_AMSTATIONSLIST">ラジオ放送局リスト</text> <text id="SID_TRFSTATIONSLIST">ラジオ放送局リスト</text> <text id="SID_SATSTATIONSLIST">ラジオ放送局リスト</text>

<text id="SID_FMRECEIVABLESTATIONS">受信可能ラジオ放送局</text> <text id="SID_AMRECEIVABLESTATIONS">受信可能ラジオ放送局</text> <text id="SID_TRFRECEIVABLESTATIONS">受信可能ラジオ放送局</text> <text id="SID_SATRECEIVABLESTATIONS">受信可能ラジオ放送局</text> <text id="SID_AM">AM</text>

<text id="SID_TRAFFICINFO">交通情報</text> <text id="SID_TRF">TRF</text>

<text id="SID_SATRADIO">衛星ラジオ</text>

<text id="SID_MUSIC">ミュージック</text> <text id="SID_SONGSLIST">ソングリスト</text>

Documento similar