Missing character entities for xslt, Specify a missing character entity – Adobe Dreamweaver CC 2015 User Manual
Page 536

529
XML
Last updated 6/3/2015
Note: The XML and XSL files you use for client-side transformations must reside in the same directory. If they don’t, the
browser will read the XML file and find the XSLT page for the transformation, but will fail to find assets (style sheets,
images, and so on) defined by relative links in the XSLT page.
1
Open the XML file that you want to link to your XSLT page.
2
Select Commands > Attach an XSLT Stylesheet.
3
In the dialog box, click the Browse button, browse to the XSLT page you want to link to, select it, and click OK.
4
Click OK to close the dialog box and insert the reference to the XSLT page at the top of the XML document.
More Help topics
Using XML and XSL with web pages
Client-side XSL transformations
Server-side XSL transformations
Display XML data in XSLT pages
Display repeating XML elements
Missing character entities for XSLT
Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the
options described in this article in Dreamweaver CC and later. For more information, see
Specify a missing character entity
In XSLT, some characters are not allowed in certain contexts. For example, you cannot use the less than sign (<) and
the ampersand (&) in the text between tags or in an attribute value. The XSLT transformation engine will give you an
error if those characters are used incorrectly. To solve the problem, you can specify character entities to replace the
special characters.
A character entity is a string of characters that represents other characters. Character entities are either named or
numbered. A named entity begins with an ampersand (&) followed by the name or characters, and ends with a
semicolon (;). For example, < represents the left angle bracket character (<). Numbered entities also start and end the
same way, except that a hash sign (#) and a number specify the character.
XSLT has the following five predefined entities:
Character
Entity Code
< (less-than)
<
& (ampersand)
&