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:
- Start Expression Web, and then open the page that contains the text box.
- Double-click the text box.
- In the Initial Value box, type {@
Field_name
}, 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.
- On the File menu, click Save.
- On the File menu, click Preview in Browser, and then click the browser that you want to use to preview.
REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
817119 XSL tag appears in a textbox instead of the correct value in Office FrontPage 2003
Keywords: kbtshoot kbprb kbexpertiseinter KB928712