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.
Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.
Product:
Forumrules
To achieve meaningful questions, we apply the following rules:
First, read the manual;
Check if your question has been asked previously;
Try to ask your question as clearly as possible;
Did you already try to solve the problem? Please mention this;
Is your problem solved by a visitor then let him/her know in this forum;
To give a response to a question or answer, do not use this form but click on the button 'reply to this question';
Your question will be posted here and emailed to our subscribers. Therefore, avoid filling in personal details.
Register
Register getting emails for Adobe Dreamweaver CS6 at:
new questions and answers
new manuals
You will receive an email to register for one or both of the options.
Get your user manual by e-mail
Enter your email address to receive the manual of Adobe Dreamweaver CS6 in the language / languages: English as an attachment in your email.
The manual is 6,14 mb in size.
You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.
The manual is sent by email. Check your email
If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.
The email address you have provided is not correct.
Please check the email address and correct it.
Your question is posted on this page
Would you like to receive an email when new answers and questions are posted? Please enter your email address.