Skip to content

Commit bfeb189

Browse files
authored
Merge pull request #14968 from WilliamAntonRohm/issue-4723
sql-docs/issues/4723 -- < for &lt;
2 parents 8895be7 + 35b8e10 commit bfeb189

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/t-sql/xml/insert-xml-dml.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ GO
205205
```
206206

207207
### F. Inserting data using a CDATA section
208-
When you insert text that includes characters that are not valid in XML, such as < or >, you can use CDATA sections to insert the data as shown in the following query. The query specifies a CDATA section, but it is added as a text node with any invalid characters converted to entities. For example, '<' is saved as &lt;.
208+
When you insert text that includes characters that are not valid in XML, such as < or >, you can use CDATA sections to insert the data as shown in the following query. The query specifies a CDATA section, but it is added as a text node with any invalid characters converted to entities. For example, `<` is saved as `&lt;`.
209209

210210
```
211211
USE AdventureWorks;
@@ -230,7 +230,7 @@ GO
230230
```
231231
<Root>
232232
<ProductDescription ProductID="1" ProductName="Road Bike">
233-
<Features> <notxml> as text </notxml> or cdata </Features>
233+
<Features> &lt;notxml@gt; as text &lt;/notxml&gt; or cdata </Features>
234234
</ProductDescription>
235235
</Root>
236236
```

0 commit comments

Comments
 (0)