Skip to content

Commit

Permalink
Merge pull request #1083 from michaelhkay/1047-avoid-controversial-ex…
Browse files Browse the repository at this point in the history
…ample

1079 Change book used in example
  • Loading branch information
ndw authored Mar 19, 2024
2 parents f960388 + 3de44f7 commit 321680a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions specifications/xslt-40/src/xslt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12600,10 +12600,10 @@ and <code>version="1.0"</code> otherwise.</p>
"Category": "Computers",
"Price": 42.60
},
{ "Title": "How to Win Elections",
"Authors": ["Donald Trump", "Boris Johnson"],
"Category": "Politics",
"Price": 56.00
{ "Title": "Steppenwolf",
"Authors": ["Hermann Hesse"],
"Category": "Fiction",
"Price": 12.00
},
{ "Title": "How to Explore Outer Space with Binoculars",
"Authors": ["Bruce Betts", "Erica Colon"],
Expand Down Expand Up @@ -14094,10 +14094,10 @@ and <code>version="1.0"</code> otherwise.</p>
"Category": "Computers",
"Price": 42.60
},
{ "Title": "How to Win Elections",
"Authors": ["Donald Trump", "Boris Johnson"],
"Category": "Politics",
"Price": 56.00,
{ "Title": "Steppenwolf",
"Authors": ["Hermann Hesse"],
"Category": "Fiction",
"Price": 12.00,
"Note": "out of print"
},
{ "Title": "How to Explore Outer Space with Binoculars",
Expand All @@ -14122,11 +14122,11 @@ and <code>version="1.0"</code> otherwise.</p>
<item><p>Each of these books, being represented by a map with more than two entries, is processed by
a template rule that splits the map into its multiple entries, each represented as a singleton
map (a map with one key and one value). One of these singleton maps, for example, would be
<code>map{"Title": "How to Win Elections"}</code>.</p></item>
<code>map{"Title": "Steppenwolf"}</code>.</p></item>

<item><p>The default processing for a singleton map of the form
<code>map{"Title": "How to Win Elections"}</code> is to return the value unchanged.
This is achieved by applying templates to the string <code>"How to Win Elections"</code>;
<code>map{"Title": "Steppenwolf"}</code> is to return the value unchanged.
This is achieved by applying templates to the string <code>"Steppenwolf"</code>;
the default template rule for strings returns the string unchanged.</p></item>

<item><p>When a singleton map in the form <code>map{"Note": "out of print"}</code> is encountered, no output
Expand Down

0 comments on commit 321680a

Please sign in to comment.