Re: [docbook-apps] Showing DocBook structure as ASCII-art

From
Markus Hoenicka <>
Date
2010-10-18T10:35:53+00:00
ID
Thread
Re: [docbook-apps] Showing DocBook structure as ASCII-art
Paul Millar <> was heard to say:

> Alternatively, you can use the sheet directly; for example:
>
> xsltproc http://www.desy.de/~paul/DocBook/ascii-art.xsl my-document.xsl
>

I like the idea a lot, but the script doesn't appear to do me any good:


Administrator@pc51997 ~
$ head -2 papers/habil/forschungsbericht/trunk/forschungsbericht.xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"  
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [

Administrator@pc51997 ~
$ xsltproc http://www.desy.de/~paul/DocBook/ascii-art.xsl  
papers/habil/forschungsbericht/trunk/forschungsbericht.xml

   article


Administrator@pc51997 ~

Is that indeed all that I'm supposed to get back?

regards,
Markus

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38