Microsoft KB Archive/928712

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:34, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


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 {@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.

  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.


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