618543
684
Zoom out
Zoom in
Previous page
1/694
Next page
To the top
If you are starting with an existing XSLT page, or if you don’t attach an XML data source when creating a new XSLT page with Dreamweaver, you
must attach an XML data source using the Bindings panel.
1. In the Bindings panel (Window > Bindings), click the XML link.
Note: You can also click the Source link at the upper-right corner of the Bindings panel to add an XML data source.
2. Do one of the following:
Select Attach A Local File, click the Browse button, browse to a local XML file on your computer, and click OK.
Select Attach A Remote File, and enter the URL of an XML file on the Internet (such as one coming from an RSS feed).
3. Click OK to close the Locate XML Source dialog box.
The Bindings panel is populated with the schema of your XML data source.
Display XML data in XSLT pages
After you’ve created an XSLT page and attached an XML data source, you can bind data to the page. To do this, you add an XML data
placeholder to your page and then use the XPath Expression Builder or the Property inspector to format selected data that will be displayed on the
page.
1. Open an XSLT page with an attached XML data source.
2. (Optional) Select Insert > Table to add a table to the page. A table helps you organize your XML data.
Note: In most cases, you use the Repeating Region XSLT object to display repeating XML elements on a page. In this case,
you might want to create a single-row table with one or more columns, or a two-row table if you want to include a table
header.
3. In the Bindings panel, select an XML element and drag it to the place on the page where you want to insert data.
An XML data placeholder appears on the page. The placeholder is highlighted and in curly brackets. It uses the XPath (XML
Path language) syntax to describe the hierarchical structure of the XML schema. For example, if you drag the child element
title to the page, and that element has the parent elements rss, channel, and item, then the syntax for the dynamic content
placeholder will be {rss/channel/item/title}.
Double-click the XML data placeholder on the page to open the XPath Expression Builder. The XPath Expression Builder lets
you format selected data, or select other items from the XML schema.
4. (Optional) Apply styles to your XML data by selecting an XML data placeholder and applying styles to it like any other piece of
content using the Property inspector or the CSS Styles panel. Alternatively, you can use Design-time style sheets to apply
677
684


Need help? Post your question in this forum.

Forumrules


Report abuse

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:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adobe Dreamweaver CS6 at:


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.



Info