618543
683
Zoom out
Zoom in
Previous page
1/694
Next page
To the top
To the top
You can create XSLT pages that let you display XML data on web pages. You can create either an entire XSLT page—an XSLT page that
contains a <body> tag and a <head> tag—or you can create an XSLT fragment. When you create an XSLT fragment, you create an independent
file that contains no body or head tag—a simple piece of code that is later inserted in a dynamic page.
Note: If you are starting with an existing XSLT page, you need to attach an XML data source to it.
1. Select File > New.
2. In the Blank Page category of the New Document dialog box, select one of the following from the Page Type column:
Select XSLT (Entire page) to create an entire XSLT page.
Select XSLT (Fragment) to create an XSLT fragment.
3. Click Create and do one of the following in the Locate XML Source dialog box:
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, enter the URL of an XML file on the Internet (such as one coming from an RSS feed), and
click OK.
Note: Clicking the Cancel button generates a new XSLT page with no attached XML data source.
The Bindings panel is populated with the schema of your XML data source.
The following table provides an explanation of the various elements in the schema that might appear:
Element Represents Details
<> Required non-repeating XML
element An element that appears exactly
once within its parent node
<>+ Repeating XML element An element that appears one or
more times within its parent node
<>+ Optional XML element An element that appears zero or
more times within its parent node
Element node in boldface type Current context element Normally the repeating element
when the insertion point is inside a
repeating region
@XML attribute
4. Save your new page (File > Save) with the .xsl or .xslt extension (.xsl is the default).
Convert HTML pages to XSLT pages
You can also convert existing HTML pages to XSLT pages. For example, if you have a predesigned static page to which you want to add XML
data, you can convert the page to an XSLT page, instead of creating an XSLT page and redesigning the page from scratch.
1. Open the HTML page that you want to convert.
2. Select File > Convert > XSLT 1.0.
A copy of the page opens in the Document window. The new page is an XSL style sheet, saved with the .xsl extension.
Attach XML data sources
676
683


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