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
CSS 1.0
CSS 2.0
HLML
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
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
CVS
Python
Apple Script
PL/SQL Tutorial
SQL Server
PHP
.NET (dotnet)
Microsoft.Net
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
VC++
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Photoshop Tutorial
Gimp Tutorial
Matlab
Gnuplot Programming
GIF Animation Tutorial
Scientific Visualization Tutorial
Graphics
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Weblogic Tutorial
SEO
Web Site Hosting
Domain Name
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Eclipse
J2ME
JBOSS
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Cobol
Assembly Language
Mainframe
Forth Programming
Lisp Programming
Pascal
Delphi
Fortran
OOPs
Data Warehousing
CGI Programming
Emacs Tutorial
Gnome
ILU
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills
Database Tutorials
Oracle
MySQL
Operating System
BSD
Symbian
Unix
Internet
IP-Masquerading
IPC
MIDI
Software Testing
Testing
Firewalls
SAP Module
ERP
ABAP
Business Warehousing
SAP Basis
Material Management
Sales & Distribution
Human Resource
Netweaver
Customer Relationship Management
Production and Planning
Networking Programming
Corba Tutorial
Networking Tutorial
Microsoft Office
Microsoft Word
Microsoft Outlook
Microsoft PowerPoint
Microsoft Publisher
Microsoft Excel
Microsoft Front Page
Microsoft InfoPath
Microsoft Access
Accounting
Financial Accounting
Managerial Accounting


Elments von XML?

Previous Next



Elemente von XML


Um Elemente eines XML Dokumentes zu verursachen werden verwendet. Läßt das annehmen, um ein Dokument mit den Elementen LAND, WALD, BAUM, WIESE, GRAS zu erstellen. Hier, wie wir von diesen allen Elementen verwenden:



XML Elemente sind ausdehnbar
Mehr Informationen XML Dokumente zu tragen kann ausgedehnt sein.
XML Beispiel:

<LAND>
  <FOREST>
   <TREE>Oak</TREE>
   <TREE>Pine</TREE>
   <TREE>Maple</TREE>
  </FOREST>
  <MEADOW>
   <GRASS>Bluegrass</GRASS>
   <GRASS>Fescue</GRASS>
   <GRASS>Rye</GRASS>
  </MEADOW>
</LAND>

 


Jedes Element wird in den <> Haltewinkeln umgeben. Das Element muß Ende mit „/“ Buchstabe vor seinem Namen sein. XML erfordert ein Element, wie das alle andere enthält. Dieses einzelne Element („LAND“), wird das Wurzelelement genannt. Das WALDelement enthält einige BAUM-Elemente, und die WIESE enthält ebenfalls einige Elemente des GRASES.

Elemente, die in einem anderen Element eingeschlossen sind, werden genistetes Element genannt. Die BAUM-Elemente, die im oben genannten Beispiel genistet werden, werden im WALDelement genistet. Das WALDelement ist- das Elternteilelement zum BAUM-Element und das BAUM-Element wird auch den Sub-element zum WALDelement genannt. Der Einfluß dieser Verhältnisse, der als du zutreffend ist, bewegen auf und ab die Elementhierarchie. Die WALD- und WIESEelemente sind- Sub-elements zum LAND-Wurzelelement.

Das unten Beispiel ist nicht wohlgeformt:

<LAND>
  <FOREST>
   <TREE>Oak</TREE>
   <TREE>Pine</TREE>
   <TREE>Maple
  </FOREST>
</TREE>
  <MEADOW>
   <GRASS>Bluegrass</GRASS>
   <GRASS>Fescue</GRASS>
   <GRASS>Rye</GRASS>
  </MEADOW>
</LAND>

 




Element Tags
For all elements that have content,XML elements require both a beginning tag and an ending tag.
Elements with content :

<TREE>Oak tree</TREE>

Elements without content may be expressed as:

<NOTHING></NOTHING>

In short it may be expressed as:

<NOTHING/>

Elements with no content may be used to display graphics and other material in the document.
 




Erstes XML

Einleitung in ein XML

  • Was HTML ist


  • Was XML ist
XML Syntax

  • Elemente müssen einen schließenden Umbau haben


  • Elemente müssen richtig genistet werden
Sich vorstellen, daß dieses XML Dokument das Buch beschreibt:
<book>
<title>First XML</title>
<prod id="33-657" media="paper"></prod>
<chapter>Introduction to XML
<para>What is HTML</para>
<para>What is XML</para>
</chapter>
<chapter>XML Syntax
<para>Elements must have a closing tag</para>
<para>Elements must be properly nested</para>
</chapter>
</book>

Book is the root element. Title, prod id, and chapter are child elements. Book is the parent element of title, prod, and chapter. Title, prod, and chapter are siblings because they have the same parent.




The Content Of Element

Elements may contain:

  • Nested elements


  • Processing instructions


  • Normal text.


  • CDATA sections - it consistspecial characters which is not displayed normally by the browser such as less than or greater than sign. These signs are used to enclose tags and are special characters. An example CDATA section:

<![CDATA[
The < and > characters are displayed normally here.
]]>


  • Entity references - An entitity reference is not allowed by a & sign.


  • Character references - Character References are not displayed normally in XML such as the < or > characters. These characters are represented as &#40 and &#42 respectively and will be presented on the browser as the less than or greater than character they represent.



  • Comments - Comments are shown below and may be placed anywhere except an element tag (markup).


  • <!-- comment not display by browser -->



Namengeben von Versammlung
Dieses Namengebenrichtlinien Muß folgte von den XML Elementen:
  • es besteht Buchstaben, Zahlen und andere Buchstaben
  • Namen dürfen nicht mit einer Zahl oder einem Interpunktionszeichen beginnen
  • Namen dürfen nicht mit dem Buchstaben xml beginnen (oder XML oder Xml, usw.)
  • Namen können nicht Räume enthalten

Mach's gut, wenn du Elementnamen „erfindest“ und diesen einfachen Richtlinien folgst:

Jeder möglicher Name kann verwendet werden, sind keine Wörter reserviert, aber die Idee ist, Namen beschreibend zu bilden. Namen mit einem Unterstreichen Separator sind nett.

Beispiele: <first_name>, <last_name>.

Vermeiden „-“ und „.“ in den Namen. Z.B. wenn du etwas „Erstnamen nennst,“ es könnte eine Verwirrung sein, wenn deine Software versucht, Namen von zuerst zu subtrahieren. Oder wenn du etwas „first.name nennst,“ kann deine Software denken, daß „Name“ ist eine Eigenschaft des Gegenstandes „zuerst.“

Elementnamen können sein, solange du magst, aber nicht übertreiben. Namen sollten, so kurz und einfach sein: <book_title> nicht mögen dieses: <the_title_of_the_book>.

XML Dokumente haben häufig eine entsprechende Datenbank, in der bestehen auffängt, entsprechend Elementen im XML Dokument. Eine gute Praxis ist, die Namengebenrichtlinien deiner Datenbank für die Elemente in den XML Dokumenten zu verwenden.

Nicht-Englische Buchstaben wie ??? sind in den XML Elementnamen tadellos zugelassen, aber passen heraus für Probleme auf, wenn dein Software-Verkäufer sie nicht stützt.

„: “ sollte nicht in den Elementnamen verwendet werden, weil sie aufgehoben wird, für etwas verwendet zu werden benannte namespaces (später).




Previous Next

Keywords: naming convention, universal naming convention, naming convention prefix, naming convention language


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
CSS 1.0 Quiz
CSS 2.0 Quiz
HLML 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
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
CVS Quiz
Python Quiz
Apple Script Quiz
PL/SQL Quiz
SQL Server Quiz
PHP Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
VC++ Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Photoshop Quiz
Gimp Quiz
Matlab Quiz
Gnuplot Programming Quiz
GIF Animation Quiz
Scientific Visualization Quiz
Graphics Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Weblogic Quiz
SEO Quiz
Web Site Hosting Quiz
Domain Name Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Eclipse Quiz
J2ME Quiz
JBOSS Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Cobol Quiz
Assembly Language Quiz
Mainframe Quiz
Forth Programming Quiz
Lisp Programming Quiz
Pascal Quiz
Delphi Quiz
Fortran Quiz
OOPs Quiz
Data Warehousing Quiz
CGI Programming Quiz
Emacs Quiz
Gnome Quiz
ILU 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
Database Quizes
Oracle Quiz
MySQL Quiz
Operating System Quizes
BSD Quiz
Symbian Quiz
Unix Quiz
Internet Quiz
IP-Masquerading Quiz
IPC Quiz
MIDI Quiz
Software Testing Quizes
Testing Quiz
Firewalls Quiz
SAP Module Quizes
ERP Quiz
ABAP Quiz
Business Warehousing Quiz
SAP Basis Quiz
Material Management Quiz
Sales & Distribution Quiz
Human Resource Quiz
Netweaver Quiz
Customer Relationship Management Quiz
Production and Planning Quiz
Networking Programming Quizes
Corba Quiz
Networking Quiz
Microsoft Office Quizes
Microsoft Word Quiz
Microsoft Outlook Quiz
Microsoft PowerPoint Quiz
Microsoft Publisher Quiz
Microsoft Excel Quiz
Microsoft Front Page Quiz
Microsoft InfoPath Quiz
Microsoft Access Quiz
Accounting Quizes
Financial Accounting Quiz
Managerial Accounting Quiz

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