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, and need to attach an XML data source to it, see Attaching XML data sources. |
The Locate XML Source dialog box appears, asking you to attach an XML data source.
NOTE |
|
Clicking the Cancel button will generate a new XSLT page with no attached XML data source. For information on attaching XML data sources, see Attaching XML data sources. |
Dreamweaver populates the Bindings panel 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 nonrepeating 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 repeat region |
@ |
XML attribute |
|