618543
673
Verklein
Vergroot
Pagina terug
1/694
Pagina verder
About XML and XSLT
To the top
To the top
Using XML and XSL with web pages
Server-side XSL transformations
Client-side XSL transformations
XML data and repeating elements
Previewing XML data
Using XML and XSL with web pages
Extensible Markup Language (XML) is a language that lets you structure information. Like HTML, XML lets you structure your information using
tags, but XML tags are not predefined as HTML tags are. Instead, XML lets you create tags that best define your data structure (schema). Tags
are nested within others to create a schema of parent and child tags. Like most HTML tags, all tags in an XML schema have an opening and
closing tag.
The following example shows the basic structure of an XML file:
<?xml version="1.0">
<mybooks>
<book bookid="1">
<pubdate>03/01/2004</pubdate>
<title>Displaying XML Data with Adobe Dreamweaver</title>
<author>Charles Brown</author>
</book>
<book bookid="2">
<pubdate>04/08/2004</pubdate>
<title>Understanding XML</title>
<author>John Thompson</author>
</book>
</mybooks>
In this example, each parent <book> tag contains three child tags: <pubdate>, <title>, and <author>. But each <book> tag is also a child tag of the
<mybooks> tag, which is one level higher in the schema. You can name and structure XML tags in any way, provided that you nest tags
accordingly within others, and assign each opening tag a corresponding closing tag.
XML documents do not contain any formatting—they are simply containers of structured information. Once you have an XML schema, you can use
the Extensible Stylesheet Language (XSL) to display the information. In the way that Cascading Style Sheets (CSS) let you format HTML, XSL lets
you format XML data. You can define styles, page elements, layout, and so forth in an XSL file and attach it to an XML file so that when a user
views the XML data in a browser, the data is formatted according to whatever you’ve defined in the XSL file. The content (the XML data) and
presentation (defined by the XSL file) are entirely separate, providing you with greater control over how your information appears on a web page.
In essence, XSL is a presentation technology for XML, where the primary output is an HTML page.
Extensible Stylesheet Language Transformations (XSLT) is a subset language of XSL that actually lets you display XML data on a web page, and
“transform” it, along with XSL styles, into readable, styled information in the form of HTML. You can use Dreamweaver to create XSLT pages that
let you perform XSL transformations using an application server or a browser. In a server-side XSL transformation, the server does the work of
transforming the XML and XSL, and displaying it on the page. In a client-side transformation, a browser (such as Internet Explorer) does the work.
The approach you ultimately take (server-side transformations versus client-side transformations) depends on what you are trying to achieve as an
end result, the technologies available to you, the level of access you have to XML source files, and other factors. Both approaches have their own
benefits and limitations. For example, server-side transformations work in all browsers while client-side transformations are restricted to modern
browsers only (Internet Explorer 6, Netscape 8, Mozilla 1.8, and Firefox 1.0.2). Server-side transformations let you display XML data dynamically
from your own server or from anywhere else on the web, while client-side transformations must use XML data that is locally hosted on your own
web server. Finally, server-side transformations require that you deploy your pages to a configured application server, while client-side
transformations only require access to a web server.
For a tutorial about understanding XML, see www.adobe.com/go/vid0165.
Server-side XSL transformations
Dreamweaver provides methods for creating XSLT pages that let you perform server-side XSL transformations. When an application server
performs the XSL transformation, the file containing the XML data can reside on your own server, or anywhere else on the web. Additionally, any
666
673

Hulp nodig? Stel uw vraag in het forum

Spelregels
1

Forum

Adobe-Dreamweaver-CS6

Zoeken resetten

  • Ik gebruik Adobe Dreamweaver CS6 onder windows 7. Werkt fantastisch maar de optie Spry die daarin zit wordt niet meer ondersteund door Android.
    Ik maak menu's maar gebruik de optie Spry dus niet meer, wel ben ik benieuwd als ik over ga naar windows 10 of de versie DW CS6 nog wel zal functioneren?
    Wie heeft daar ervaring mee? Gesteld op 11-5-2017 om 07:31

    Reageer op deze vraag Misbruik melden

Misbruik melden

Gebruikershandleiding.com neemt misbruik van zijn services uitermate serieus. U kunt hieronder aangeven waarom deze vraag ongepast is. Wij controleren de vraag en zonodig wordt deze verwijderd.

Product:

Bijvoorbeeld antisemitische inhoud, racistische inhoud, of materiaal dat gewelddadige fysieke handelingen tot gevolg kan hebben.

Bijvoorbeeld een creditcardnummer, een persoonlijk identificatienummer, of een geheim adres. E-mailadressen en volledige namen worden niet als privégegevens beschouwd.

Spelregels forum

Om tot zinvolle vragen te komen hanteren wij de volgende spelregels:

Belangrijk! Als er een antwoord wordt gegeven op uw vraag, dan is het voor de gever van het antwoord nuttig om te weten als u er wel (of niet) mee geholpen bent! Wij vragen u dus ook te reageren op een antwoord.

Belangrijk! Antwoorden worden ook per e-mail naar abonnees gestuurd. Laat uw emailadres achter op deze site, zodat u op de hoogte blijft. U krijgt dan ook andere vragen en antwoorden te zien.

Abonneren

Abonneer u voor het ontvangen van emails voor uw Adobe Dreamweaver CS6 bij:


U ontvangt een email met instructies om u voor één of beide opties in te schrijven.


Ontvang uw handleiding per email

Vul uw emailadres in en ontvang de handleiding van Adobe Dreamweaver CS6 in de taal/talen: Engels als bijlage per email.

De handleiding is 6,14 mb groot.

 

U ontvangt de handleiding per email binnen enkele minuten. Als u geen email heeft ontvangen, dan heeft u waarschijnlijk een verkeerd emailadres ingevuld of is uw mailbox te vol. Daarnaast kan het zijn dat uw internetprovider een maximum heeft aan de grootte per email. Omdat hier een handleiding wordt meegestuurd, kan het voorkomen dat de email groter is dan toegestaan bij uw provider.

Stel vragen via chat aan uw handleiding

Stel uw vraag over deze PDF

loading

Uw handleiding is per email verstuurd. Controleer uw email

Als u niet binnen een kwartier uw email met handleiding ontvangen heeft, kan het zijn dat u een verkeerd emailadres heeft ingevuld of dat uw emailprovider een maximum grootte per email heeft ingesteld die kleiner is dan de grootte van de handleiding.

Er is een email naar u verstuurd om uw inschrijving definitief te maken.

Controleer uw email en volg de aanwijzingen op om uw inschrijving definitief te maken

U heeft geen emailadres opgegeven

Als u de handleiding per email wilt ontvangen, vul dan een geldig emailadres in.

Uw vraag is op deze pagina toegevoegd

Wilt u een email ontvangen bij een antwoord en/of nieuwe vragen? Vul dan hier uw emailadres in.



Info