Academic Tutorials



English | French | Portugese | Dutch | Italian
Google

on-line

Haupt Quellenprogramme E-Bücher Downloads Mit uns in Verbindung treten Über uns

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


XSL Einleitung

Previous Next





Einleitung in ein XSL

Mit dem XSL, das du frei tun kannst, irgendwelche des Ausgangstextes ändern. Stylesheet 1 und das Stylesheet 2 produziert den unterschiedlichen Ausgang aus einer gleichen Quellakte.



XSL stylesheet 1

<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >

<xsl:template match="/">
<H1><xsl:value-of select="//title"/></H1>
<H2><xsl:value-of select="//author"/></H2>
</xsl:template>
</xsl:stylesheet>


XSL stylesheet 2

<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >

<xsl:template match="/">
<H2><xsl:value-of select="//author"/></H2>
<H1><xsl:value-of select="//title"/></H1>
</xsl:template>
</xsl:stylesheet>



Eine XML Syntax

Ein jedes XSL stylesheet sollte mit dem xsl beginnen: stylesheet Element. Atribute xmlns: xsl spezifiziert die Version der XSL (T) Spezifikation. Dieses Beispiel zeigen einfachstes mögliches stylesheet. Da es nicht enthält irgendwelche der Informationen, eine Rückstellung Verarbeitung wird verwendet.

<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >

</xsl:stylesheet>



Ein XSL Prozessor

Die XSL Prozessoren analysiert die XML Quelle und versucht, die zusammenpassende Schablone Richtlinie herauszufinden. Wenn sie sie findet, dann werden die Anweisungen innerhalb der zusammenpassenden Schablone ausgewertet.

Inhalt der ursprünglichen Elemente kann von erholt werden ursprüngliche Quellen in zwei grundlegenden Möglichkeiten. Ein Stylesheet 1 benutzt das xsl: Kennsatzwert ein Konstruieren. In diesem Fall wird Inhalt des Elements ohne irgendwie Weiterverarbeitung benutzt. Ein xsl konstruieren: Anwendenschablonen im Stylesheet 2 ist unterschiedlich. Die grammatische Definition weiteren Prozesse die vorgewählten Elemente, für die die Schablone. definiert wird.



XSL stylesheet 1

<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>

<xsl:template match="employee">
<B><xsl:value-of select="."/></B>
</xsl:template>
<xsl:template match="surname">
<i><xsl:value-of select="."/></i>
</xsl:template>
</xsl:stylesheet>


XSL stylesheet 2

<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >

<xsl:template match="employee">
<B><xsl:apply-templates select="firstName"/></B>
<B><xsl:apply-templates select="surname"/></B>
</xsl:template>

<xsl:template match="surname">
<i> <xsl:value-of select="."/></i>
</xsl:template>
</xsl:stylesheet>




Previous Next

Keywords xsl tutorial, html introduction, jsp introduction, css introduction, javascript introduction, xsl examples , xsl attributes, xsl tutorials, xsl example, xsl cdata, xsl reference, xsl elements, xsl tags, struts introduction, jsp xsl, xsl schema, c# introduction, rss introduction, j2ee introduction, ejb introduction, xsl namespaces, xsl dtd, xsl programming, java introduction, xsl attribute, XSL introduction, asp net introduction, asp net xsl, xsl for each, vb net introduction, xsl vb net, xml introduction, xslt introduction, xpath introduction, xslt intro


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.