618543
690
Zoom out
Zoom in
Previous page
1/694
Next page
To the top
To the top
Content goes here
</xsl:when>
<xsl:otherwise>
Content goes here
</xsl:otherwise>
</xsl:choose>
4. To insert another condition, place the insertion point in Code view between <xsl:when> tag pairs or just before the
<xsl:otherwise> tag, and then insert a conditional region (Insert > XSLT Objects > Conditional Region).
After you specify the condition and click OK, another <xsl:when> tag is inserted in the <xsl:choose> block.
For more information and examples on writing conditional expressions, see the <xsl:choose> sections in the Reference panel
(Help > Reference).
Set conditional region (If) properties
The purpose of the Set Conditional Region Property inspector is to change the condition used in a conditional region in your XSL page. The
conditional region tests the condition and takes a course of action based on the result.
In the Test box, enter a new condition, and then press Enter.
Set conditional (When) properties
The purpose of the Set Conditional Region Property inspector is to change the condition used in a multiple conditional region in your XSL page.
The multiple conditional region tests the condition and takes a course of action based on the result.
In the Test box, enter a new condition, and then press Enter.
Insert XSL comments
You can add XSL comment tags to a document, or you can wrap a selection in XSL comment tags.
Add XSL comment tags to a document
Do one of the following:
In Design view, select Insert > XSLT Objects > XSL Comment, type the contents of the comment (or leave the box blank), and
click OK.
In Code view, select Insert > XSLT Objects > XSL Comment.
You can also click on the XSL Comment icon in the XSLT category of the Insert panel.
Wrap a selection in XSL comment tags
1. Switch to Code view (View > Code).
2. Select the code you want to comment.
3. In the Coding toolbar, click the Apply Comment button and select Apply <xsl:comment></xsl:comment> Comment.
Use the XPath Expression Builder to add expressions for XML data
XPath (XML Path Language) is a non-XML syntax for addressing portions of an XML document. It is used mostly as a query language for XML
data, just as the SQL language is used to query databases. For more information on XPath, see the XPath language specification on the W3C
website at www.w3.org/TR/xpath.
The XPath Expression Builder is a Dreamweaver feature that lets you build simple XPath expressions for identifying specific nodes of data and for
repeating regions. The advantage of using this method instead of dragging values from the XML schema tree is that you can format the value that
is displayed. The current context is identified based on the position of the insertion point in the XSL file when the XPath Expression Builder dialog
box is opened. The current context is in boldface type in the XML schema tree. As you make selections within this dialog box, the correct XPath
statements, relative to your current context, are generated. This simplifies the process of writing correct XPath expressions for beginners and
advanced users.
Note: This feature is designed to help you build simple XPath expressions to identify a specific node or for repeating regions. It does not allow
you to edit the expressions by hand. If you need to create complex expressions, use the XPath Expression Builder to get started and then
customize your expressions in Code view or with the Property inspector.
Create an XPath expression to identify a specific node
1. Double-click the XML data placeholder on the page to open the XPath Expression Builder.
2. In the XPath Expression Builder (Dynamic Text) dialog box, select any node in the XML schema tree.
The correct XPath expression is written in the Expression box to identify the node.
683
690


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