diff --git a/docs/examples/example.xml b/docs/examples/example.xml
deleted file mode 100644
index d5b633d..0000000
--- a/docs/examples/example.xml
+++ /dev/null
@@ -1,209 +0,0 @@
-
-
-
-
-
- BDisk
- bdisk
-
-
- A rescue/restore live environment.
-
- A. Dev Eloper
- dev@domain.tld
- https://domain.tld/~dev
-
- https://domain.tld/projname
- 1.0.0
- 3
-
-
-
-
- $6$7KfIdtHTcXwVrZAC$LZGNeMNz7v5o/cYuA48FAxtZynpIwO5B1CPGXnOW5kCTVpXVt4SypRqfM.AoKkFt/O7MZZ8ySXJmxpELKmdlF1
-
-
-
-
-
-
-
-
-
-
-
- testpassword
-
-
-
-
-
-
-
-
-
- /var/tmp/
- /var/tmp/chroots/
- ~//templates
- /mnt/
- ~//distros
- ~//results
- /iso
- /http
- /tftp
- /pki
-
- archlinux
-
-
-
- /ca.crt
- /ca.key
-
- /.crt
-
-
- /.key
-
-
- /ipxe
-
-
-
-
-
-
- root
- /srv/http/
- mirror.domain.tld
- 22
- ~/.ssh/id_ed25519
-
-
-
-
-
-
-
- Another Disk
- livecd2
-
-
- Some other rescue/restore live environment.
-
- Another Dev Eloper
- dev2@domain.tld
- https://domain.tld/~dev2
-
- https://domain.tld/projname
- 0.0.1
- 3
-
-
-
-
- $6$yR0lsi68GZ.8oAuV$juLOanZ6IGD6caxJFo5knnXwFZRi65Q58a1XfSWBX7R97EpHrVgpzdXfA3ysAfAg4bs1d6wBv7su2rURkg2rn.
-
-
-
-
-
-
-
-
- /var/tmp/
- /var/tmp/chroots/
- ~//templates
- /mnt/
- ~//distros
- ~//results
- /iso
- /http
- /tftp
- /pki
-
- archlinux
-
-
-
- /ca.crt
- /ca.key
-
- /.crt
-
-
- /.key
-
-
- /ipxe
-
-
-
-
-
-
- root
- /srv/http/
- mirror.domain.tld
- 22
- ~/.ssh/id_ed25519
-
-
-
-
-
diff --git a/docs/examples/multi_profile.xml b/docs/examples/multi_profile.xml
new file mode 100644
index 0000000..9eeea0b
--- /dev/null
+++ b/docs/examples/multi_profile.xml
@@ -0,0 +1,227 @@
+
+
+
+
+
+ BDisk
+ bdisk
+
+ {xpath_ref%../name/text()}
+
+ A rescue/restore live environment.
+
+ A. Dev Eloper
+ dev@domain.tld
+ https://domain.tld/~dev
+
+ https://domain.tld/projname
+ 1.0.0
+
+
+ 3
+
+
+
+
+ $6$7KfIdtHTcXwVrZAC$LZGNeMNz7v5o/cYuA48FAxtZynpIwO5B1CPGXnOW5kCTVpXVt4SypRqfM.AoKkFt/O7MZZ8ySXJmxpELKmdlF1
+
+
+ {xpath_ref%//meta/names/uxname/text()}
+
+
+ {xpath_ref%//meta/dev/author/text()}
+
+ testpassword
+
+
+
+ testuser
+ Test User
+
+ anothertestpassword
+
+
+
+
+
+
+
+
+
+ /var/tmp/{xpath_ref%//meta/names/uxname/text()}
+ /var/tmp/chroots/{xpath_ref%//meta/names/uxname/text()}
+ ~/{xpath_ref%//meta/names/uxname/text()}/templates
+ /mnt/{xpath_ref%//meta/names/uxname/text()}
+ ~/{xpath_ref%//meta/names/uxname/text()}/distros
+ ~/{xpath_ref%//meta/names/uxname/text()}/results
+ {xpath_ref%../dest/text()}/iso
+ {xpath_ref%../dest/text()}/http
+ {xpath_ref%../dest/text()}/tftp
+ {xpath_ref%../dest/text()}/pki
+
+ archlinux
+
+
+
+ {xpath_ref%build/paths/ssl/text()}/ca.crt
+ {xpath_ref%build/paths/ssl/text()}/ca.key
+
+ {xpath_ref%build/paths/ssl/text()}/{xpath_ref%//meta/names/uxname/text()}.crt
+
+
+ {xpath_ref%build/paths/ssl/text()}/{xpath_ref%//meta/names/uxname/text()}.key
+
+
+ {xpath_ref%meta/dev/website/text()}/ipxe
+
+
+
+
+
+
+ root
+ /srv/http/{xpath_ref%//meta/names/uxname/text()}
+ mirror.domain.tld
+ 22
+ ~/.ssh/id_ed25519
+
+
+
+
+
+
+
+ AnotherCD
+ bdisk_alt
+ {xpath_ref%../name/text()}
+
+ Another rescue/restore live environment.
+
+ Another Dev Eloper
+ {xpath_ref%//profile[@name="default"]/meta/dev/email/text()}
+ {xpath_ref%//profile[@name="default"]/meta/dev/website/text()}
+
+ https://domain.tld/projname
+ 0.0.1
+ 3
+
+
+
+ atotallyinsecurepassword
+
+
+ testuser
+ Test User
+
+ atestpassword
+
+
+
+
+
+
+
+
+
+ /var/tmp/{xpath_ref%//meta/names/uxname/text()}
+ /var/tmp/chroots/{xpath_ref%//meta/names/uxname/text()}
+ ~/{xpath_ref%//meta/names/uxname/text()}/templates
+ /mnt/{xpath_ref%//meta/names/uxname/text()}
+ ~/{xpath_ref%//meta/names/uxname/text()}/distros
+ ~/{xpath_ref%//meta/names/uxname/text()}/results
+ {xpath_ref%../dest/text()}/iso
+ {xpath_ref%../dest/text()}/http
+ {xpath_ref%../dest/text()}/tftp
+ {xpath_ref%../dest/text()}/pki
+
+ archlinux
+
+
+
+ {xpath_ref%build/paths/ssl/text()}/ca.crt
+ {xpath_ref%build/paths/ssl/text()}/ca.key
+
+ {xpath_ref%build/paths/ssl/text()}/{xpath_ref%//meta/names/uxname/text()}.crt
+
+
+ {xpath_ref%build/paths/ssl/text()}/{xpath_ref%//meta/names/uxname/text()}.key
+
+
+ {xpath_ref%meta/dev/website/text()}/ipxe
+
+
+
+
+
+
+ root
+ /srv/http/{xpath_ref%//meta/names/uxname/text()}
+ mirror.domain.tld
+ 22
+ ~/.ssh/id_ed25519
+
+
+
+
+
diff --git a/docs/examples/single_profile.xml b/docs/examples/single_profile.xml
new file mode 100644
index 0000000..9550263
--- /dev/null
+++ b/docs/examples/single_profile.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+ BDisk
+ bdisk
+
+ {xpath_ref%../name/text()}
+
+ A rescue/restore live environment.
+
+ A. Dev Eloper
+ dev@domain.tld
+ https://domain.tld/~dev
+
+ https://domain.tld/projname
+ 1.0.0
+
+
+ 5
+
+
+
+
+ $6$7KfIdtHTcXwVrZAC$LZGNeMNz7v5o/cYuA48FAxtZynpIwO5B1CPGXnOW5kCTVpXVt4SypRqfM.AoKkFt/O7MZZ8ySXJmxpELKmdlF1
+
+
+ {xpath_ref%//meta/names/uxname/text()}
+
+
+ {xpath_ref%//meta/dev/author/text()}
+
+ testpassword
+
+
+
+ testuser
+ Test User
+
+ anothertestpassword
+
+
+
+
+
+
+
+
+
+ /var/tmp/{xpath_ref%//meta/names/uxname/text()}
+ /var/tmp/chroots/{xpath_ref%//meta/names/uxname/text()}
+ ~/{xpath_ref%//meta/names/uxname/text()}/templates
+ /mnt/{xpath_ref%//meta/names/uxname/text()}
+ ~/{xpath_ref%//meta/names/uxname/text()}/distros
+ ~/{xpath_ref%//meta/names/uxname/text()}/results
+ {xpath_ref%../dest/text()}/iso
+ {xpath_ref%../dest/text()}/http
+ {xpath_ref%../dest/text()}/tftp
+ {xpath_ref%../dest/text()}/pki
+
+ archlinux
+
+
+
+ {xpath_ref%build/paths/ssl/text()}/ca.crt
+ {xpath_ref%build/paths/ssl/text()}/ca.key
+
+ {xpath_ref%build/paths/ssl/text()}/{xpath_ref%//meta/names/uxname/text()}.crt
+
+
+ {xpath_ref%build/paths/ssl/text()}/{xpath_ref%//meta/names/uxname/text()}.key
+
+
+ {xpath_ref%meta/dev/website/text()}/ipxe
+
+
+
+
+
+
+ root
+ /srv/http/{xpath_ref%//meta/names/uxname/text()}
+ mirror.domain.tld
+ 22
+ ~/.ssh/id_ed25519
+
+
+
+
+