618543
680
Zoom out
Zoom in
Vorherige Seite
1/694
Nächste Seite
Performing XSL transformations on the client
To the top
To the top
To the top
Workflow for performing client-side XSL transformations
Creating entire XSLT pages and displaying data
Link an XSLT page to an XML page
Workflow for performing client-side XSL transformations
You can perform client-side XSL transformations. Read about server-side and client-side XSL transformations and about using XML and XSL with
web pages before building pages that display XML data.
The general workflow for performing client-side XSL transformations is as follows (each step is described in other topics):
1. Set up a Dreamweaver site.
2. Create an XSLT page or convert an HTML page to XSLT.
In your Dreamweaver site, create an entire XSLT page.
Convert an existing HTML page to an entire XSLT page.
3. Attach an XML data source to the page (if you haven’t already done so).
The XML file that you attach must reside in the same directory as the XSLT page.
4. Bind your XML data to the XSLT page.
5. Display XML data by binding the data to the entire XSLT page.
6. If appropriate, add a Repeating Region XSLT object to the table or table row that contains the XML data
placeholder(s).
7. Attach the XSLT page to the XML page.
8. Post both the XML page and the linked XSLT page to your web server.
9. View the XML page in a browser.
When you do so, the browser transforms the XML data, formats it with the XSLT page, and displays the styled page in the browser.
Creating entire XSLT pages and displaying data
You must use an entire XSLT page for client-side transformations. (XSLT fragments don’t work for this type of transformation.) Follow these
general steps for creating, binding XML data to, and formatting XSLT pages for client-side transformations:
1. Create the XSLT page.
2. Display data in the XSLT page.
3. Display repeating elements in the XSLT page.
Link an XSLT page to an XML page
After you have an entire XSLT page with dynamic content placeholders for your XML data, you must insert a reference to the XSLT page in the
XML page.
Note: The XML and XSL files you use for client-side transformations must reside in the same directory. If they don’t, the browser will read the
XML file and find the XSLT page for the transformation, but will fail to find assets (style sheets, images, and so on) defined by relative links in the
XSLT page.
1. Open the XML file that you want to link to your XSLT page.
2. Select Commands > Attach an XSLT Stylesheet.
3. In the dialog box, click the Browse button, browse to the XSLT page you want to link to, select it, and click OK.
673
680

Brauchen Sie Hilfe? Stellen Sie Ihre Frage.

Forenregeln

Missbrauch melden von Frage und/oder Antwort

Libble nimmt den Missbrauch seiner Dienste sehr ernst. Wir setzen uns dafür ein, derartige Missbrauchsfälle gemäß den Gesetzen Ihres Heimatlandes zu behandeln. Wenn Sie eine Meldung übermitteln, überprüfen wir Ihre Informationen und ergreifen entsprechende Maßnahmen. Wir melden uns nur dann wieder bei Ihnen, wenn wir weitere Einzelheiten wissen müssen oder weitere Informationen für Sie haben.

Art des Missbrauchs:

Zum Beispiel antisemitische Inhalte, rassistische Inhalte oder Material, das zu einer Gewalttat führen könnte.

Beispielsweise eine Kreditkartennummer, persönliche Identifikationsnummer oder unveröffentlichte Privatadresse. Beachten Sie, dass E-Mail-Adressen und der vollständige Name nicht als private Informationen angesehen werden.

Forenregeln

Um zu sinnvolle Fragen zu kommen halten Sie sich bitte an folgende Spielregeln:

Neu registrieren

Registrieren auf E - Mails für Adobe Dreamweaver CS6 wenn:


Sie erhalten eine E-Mail, um sich für eine oder beide Optionen anzumelden.


Das Handbuch wird per E-Mail gesendet. Überprüfen Sie ihre E-Mail.

Wenn Sie innerhalb von 15 Minuten keine E-Mail mit dem Handbuch erhalten haben, kann es sein, dass Sie eine falsche E-Mail-Adresse eingegeben haben oder dass Ihr ISP eine maximale Größe eingestellt hat, um E-Mails zu erhalten, die kleiner als die Größe des Handbuchs sind.

Ihre Frage wurde zu diesem Forum hinzugefügt

Möchten Sie eine E-Mail erhalten, wenn neue Antworten und Fragen veröffentlicht werden? Geben Sie bitte Ihre Email-Adresse ein.



Info