<images> <image id="image1" url="hand.png" /> <image id="image2" url="crocodile.png" /> </images>The URL is relative to the XML file. Note that there can be as many of these files as you want.
__[^_].+__\d*
<images> <image id="image1" url="hand.png" /> <image id="_image2_" url="crocodile.png" /> <image id="____image3_" url="crocodile.png" /> </images>But the following definitions are not allowed:
<images> <image id="__image1__" url="hand.png" /> <image id="__image2__3" url="crocodile.png" /> </images>Note that the generator will emit an error if an image is considered as not allowed, but will not prevent the generation. In some cases however, it could lead to problems[1]
<images> <image id="image1" url="hand.png" width="30%" /> <image id="image2" url="crocodile.png" width="100px" /> </images>And the following content in an article:
<img id="image1" /> <img id="image1" width="50%" />This will be equivalent to:
<img id="image1" width="30%"/> <img id="image1" width="50%" />
img
element are supported. For example:<image id="image1" url="hand.png" />You can use this image for example for an article in an img element:
<article desc="article1"> <img id="image1" width="20%" /> </article>
<images> <image id="image1" url="ball.jpg" desc="the image"/> <category desc="the category" > <image id="image2" url="ball_1.jpg"/> <image id="image3" url="ball_2.jpg" desc="the image 3"/> </category> </images>
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.