Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
1e03f000
Commit
1e03f000
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2004-01-31 10:16:27 by beppe] Empty log message
Original author: beppe Date: 2004-01-31 10:16:27+00:00
parent
bb8d876d
Changes
2
Show whitespace changes
Inline
Side-by-side
web/site.cd
View file @
1e03f000
...
...
@@ -39,6 +39,7 @@ type Content =
|
<ul
{||}
>
[
<li
{||}
>
Content +]
|
<section
title=
String
>
Content
|
<sample
highlight=
?"true"|"false"
>
String
|
<xmlsample
highlight=
?"true"|"false"
>
String
| H:Xtable
| Paper | Slides | Link
|
<boxes-toc
sections=
?""
>
[] (* the presence optional "section" attr produces *)
...
...
@@ -179,6 +180,7 @@ pre {
margin: 1ex 1em 0 1em;
}
var.highlight {
font: roman;
color: #FF0000;
}
img.icon {
...
...
@@ -190,6 +192,11 @@ div.code {
padding: 0.2ex;
}
div.xmlcode {
background: #ebefa2;
margin: 0.5ex 0.5em 0 0.5em;
padding: 0.2ex;
}
div.abstract {
font: bold helvetica;
...
...
@@ -199,6 +206,7 @@ div.abstract {
}
div.note {
text-align: justify;
font: bold helvetica;
margin: 1ex 3em 1ex 3em;
padding: 1ex 1em 1ex 1em;
...
...
@@ -262,6 +270,10 @@ match page with
[
<div
class=
"code"
>
[
<pre>
s ] ]
|
<sample>
s ->
[
<div
class=
"code"
>
[
<pre>
(highlight s) ] ]
|
<xmlsample
highlight=
"false"
>
s ->
[
<div
class=
"xmlcode"
>
[
<pre>
s ] ]
|
<xmlsample>
s ->
[
<div
class=
"xmlcode"
>
[
<pre>
(highlight s) ] ]
|
<link
url=
url
title=
title
>
com ->
[
<a
href=
url
>
title '. ' !(text com) ]
|
<ul>
lis ->
...
...
web/tutorial/getting_started.xml
View file @
1e03f000
...
...
@@ -122,14 +122,14 @@ Note the blank spaces around the colon: this is because the XML recommendation a
<p>
CDuce uses its own notation to denote XML documents. In the next table we
present an XML document on the left and the same document in CDuce notation on
the right:
the right
(in the rest of this tutorial we we visually distinguish XML code from CDuce one by putting the former in light yellow boxes)
:
</p>
<two-columns>
<left>
<sample>
<![CDATA[
<
xml
sample>
<![CDATA[
<?xml version="1.0"?>
<parentbook>
<person
gender=
"F"
>
...
...
@@ -164,7 +164,7 @@ the right:
<tel
kind=
"home"
>
66260
</tel>
</person>
</parentbook>
]]>
</sample>
]]>
</
xml
sample>
</left>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment