# HG changeset patch
# User František Kučera
# Date 1547244527 -3600
# Node ID 2fc56dd7f003e37e63a80afc74e246a2d9b78652
# Parent a8029bd1c87afc2059effdb3a5f4b6ca6f2ecab7
examples: update XML example (namespace, metadata) and move it to a separate file
diff -r a8029bd1c87a -r 2fc56dd7f003 relpipe-data/examples.xml
--- a/relpipe-data/examples.xml Fri Jan 11 22:46:29 2019 +0100
+++ b/relpipe-data/examples.xml Fri Jan 11 23:08:47 2019 +0100
@@ -203,57 +203,7 @@
Will produce XML like this:
-
-
-
- fstab
-
- UUID
- 29758270-fd25-4a6c-a7bb-9a18302816af
- /
- ext4
- relatime,user_xattr,errors=remount-ro
- 0
- 1
-
-
-
- /dev/sr0
- /media/cdrom0
- udf,iso9660
- user,noauto
- 0
- 0
-
-
-
- /dev/sde
- /mnt/data
- ext4
- relatime,user_xattr,errors=remount-ro
- 0
- 2
-
-
- UUID
- a2b5f230-a795-4f6f-a39b-9b57686c86d5
- /home
- btrfs
- relatime
- 0
- 2
-
-
-
- /dev/mapper/sdf_crypt
- /mnt/private
- xfs
- relatime
- 0
- 2
-
-
-]]>
+
Thanks to XSLT, this XML can be easily converted e.g. to an XHTML table (table|tr|td
) or other format.
diff -r a8029bd1c87a -r 2fc56dd7f003 relpipe-data/examples/relpipe-out-fstab.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/relpipe-data/examples/relpipe-out-fstab.xml Fri Jan 11 23:08:47 2019 +0100
@@ -0,0 +1,60 @@
+
+
+
+ fstab
+
+
+
+
+
+
+
+
+
+
+ UUID
+ 29758270-fd25-4a6c-a7bb-9a18302816af
+ /
+ ext4
+ relatime,user_xattr,errors=remount-ro
+ 0
+ 1
+
+
+
+ /dev/sr0
+ /media/cdrom0
+ udf,iso9660
+ user,noauto
+ 0
+ 0
+
+
+
+ /dev/sde
+ /mnt/data
+ ext4
+ relatime,user_xattr,errors=remount-ro
+ 0
+ 2
+
+
+ UUID
+ a2b5f230-a795-4f6f-a39b-9b57686c86d5
+ /home
+ btrfs
+ relatime
+ 0
+ 2
+
+
+
+ /dev/mapper/sdf_crypt
+ /mnt/private
+ xfs
+ relatime
+ 0
+ 2
+
+
+