Microsoft KB Archive/928712

= An XSL tag appears in a text box in Expression Web =

Article ID: 928712

Article Last Modified on 2/8/2007

-

APPLIES TO


 * Microsoft Expression Web

-





SYMPTOMS
Consider the following scenario. You add a text box to a Data View Web Part in Microsoft Expression Web. Then, you type an Extensible Stylesheet Language (XSL) attribute tag in the Initial Value box. This XSL attribute tag represents the value that will appear in the text box. In this scenario, the XSL tag appears in the text box. When you preview the page, the tag does not resolve to the value that the tag represents.

Note To add a text box in Expression Web, click the Input (Text) control in the toolbox. Then, add the Input (Text) control to the page.



CAUSE
When you use an XSL tag in the Initial Value box, the text that you typed in the Initial Value box appears in the text box.



RESOLUTION
To resolve this issue, replace the XSL tag with the name of the field. To do this, follow these steps:
 * 1) Start Expression Web, and then open the page that contains the text box.
 * 2) Double-click the text box.
 * 3) In the Initial Value box, type {@ }, and then click OK.

For example, if you want the value of the Title field to appear in the text box, type {@Title} in the Initial Value box of the text box.
 * 1) On the File menu, click Save.
 * 2) On the File menu, click Preview in Browser, and then click the browser that you want to use to preview.

