201 |
201 |
202 <p> |
202 <p> |
203 Will produce XML like this: |
203 Will produce XML like this: |
204 </p> |
204 </p> |
205 |
205 |
206 <m:pre jazyk="xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> |
206 <m:pre jazyk="xml" src="examples/relpipe-out-fstab.xml"/> |
207 <pipe> |
|
208 <relation> |
|
209 <name>fstab</name> |
|
210 <record> |
|
211 <attribute>UUID</attribute> |
|
212 <attribute>29758270-fd25-4a6c-a7bb-9a18302816af</attribute> |
|
213 <attribute>/</attribute> |
|
214 <attribute>ext4</attribute> |
|
215 <attribute>relatime,user_xattr,errors=remount-ro</attribute> |
|
216 <attribute>0</attribute> |
|
217 <attribute>1</attribute> |
|
218 </record> |
|
219 <record> |
|
220 <attribute></attribute> |
|
221 <attribute>/dev/sr0</attribute> |
|
222 <attribute>/media/cdrom0</attribute> |
|
223 <attribute>udf,iso9660</attribute> |
|
224 <attribute>user,noauto</attribute> |
|
225 <attribute>0</attribute> |
|
226 <attribute>0</attribute> |
|
227 </record> |
|
228 <record> |
|
229 <attribute></attribute> |
|
230 <attribute>/dev/sde</attribute> |
|
231 <attribute>/mnt/data</attribute> |
|
232 <attribute>ext4</attribute> |
|
233 <attribute>relatime,user_xattr,errors=remount-ro</attribute> |
|
234 <attribute>0</attribute> |
|
235 <attribute>2</attribute> |
|
236 </record> |
|
237 <record> |
|
238 <attribute>UUID</attribute> |
|
239 <attribute>a2b5f230-a795-4f6f-a39b-9b57686c86d5</attribute> |
|
240 <attribute>/home</attribute> |
|
241 <attribute>btrfs</attribute> |
|
242 <attribute>relatime</attribute> |
|
243 <attribute>0</attribute> |
|
244 <attribute>2</attribute> |
|
245 </record> |
|
246 <record> |
|
247 <attribute></attribute> |
|
248 <attribute>/dev/mapper/sdf_crypt</attribute> |
|
249 <attribute>/mnt/private</attribute> |
|
250 <attribute>xfs</attribute> |
|
251 <attribute>relatime</attribute> |
|
252 <attribute>0</attribute> |
|
253 <attribute>2</attribute> |
|
254 </record> |
|
255 </relation> |
|
256 </pipe>]]></m:pre> |
|
257 |
207 |
258 <p> |
208 <p> |
259 Thanks to XSLT, this XML can be easily converted e.g. to an XHTML table (<code>table|tr|td</code>) or other format. |
209 Thanks to XSLT, this XML can be easily converted e.g. to an XHTML table (<code>table|tr|td</code>) or other format. |
260 Someone can convert such data to a (La)TeX table. |
210 Someone can convert such data to a (La)TeX table. |
261 </p> |
211 </p> |