DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 928712 - Last Review: February 8, 2007 - Revision: 1.1

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 {@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.
  4. On the File menu, click Save.
  5. 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  (http://support.microsoft.com/kb/817119/ ) XSL tag appears in a textbox instead of the correct value in Office FrontPage 2003

APPLIES TO
  • Microsoft Expression Web
Keywords: 
kbtshoot kbprb kbexpertiseinter KB928712
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support