618543
688
Zoom out
Zoom in
Previous page
1/694
Next page
To the top
2. In the XSL Transformation dialog box, click the Plus (+) button next to XSLT Parameters.
3. In the Add Parameters dialog box, enter a name for the parameter in the Name box. The name can only contain alphanumeric
characters. It cannot contain spaces.
4. Do one of the following:
If you want to use a static value, enter it in the Value box.
If you want to use a dynamic value, click the dynamic icon next to the Value box, complete the Dynamic Data dialog box,
and click OK. For more information, click the Help button in the Dynamic Data dialog box.
5. In the Default Value box, enter the value you want the parameter to use if the page receives no run-time value, and click OK.
Edit an XSLT parameter
1. Open the XSL Transformation dialog box. You can do this by double-clicking an XSL Transformation server behavior in the
Server Behaviors panel (Window > Server Behaviors), or by adding a new XSL Transformation server behavior.
2. Select a parameter from the XSLT parameters list.
3. Click the Edit button.
4. Make your changes and click OK.
Delete an XSLT parameter
1. Open the XSL Transformation dialog box. You can do this by double-clicking an XSL Transformation server behavior in the
Server Behaviors panel (Window > Server Behaviors), or by adding a new XSL Transformation server behavior.
2. Select a parameter from the XSLT parameters list.
3. Click the minus (-) button.
Create and edit conditional XSLT regions
You can create simple conditional regions or multiple conditional regions on an XSLT page. You can either select an element in Design view and
apply a conditional region to the selection, or you can insert a conditional region wherever the insertion point is in the document.
For example, if you wanted to display the word “Unavailable” next to the price of an item when the item is unavailable, you type the text
“Unavailable” on the page, select it, and then apply a conditional region to the selected text. Dreamweaver surrounds the selection with <xsl:if>
tags, and only displays the word “Unavailable” on the page when the data match the conditions of the conditional expression.
Apply a conditional XSLT region
You can write a simple conditional expression to insert into your XSLT page. If content is selected when you open the Conditional Region dialog
box, the content will be wrapped in an <xsl:if> block. If you rcontent is not selected, the <xsl:if> block is added at the insertion point on the page.
It’s a good idea to use the dialog box to get started and then customize the expression in Code view.
The <xsl:if> element is similar to the if statement in other languages. The element provides a way for you to test a condition and take a course of
action based on the result. The <xsl:if> element allows you to test an expression for a single true or false value.
1. Select Insert > XSLT Objects > Conditional Region or click the Conditional Region icon in the XLST category of the Insert
panel.
2. In the Conditional Region dialog box, enter the conditional expression to use for the region.
In the following example, you want to test to see if the context node’s @available attribute value is true.
681
688


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