OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Running Tidy on generated content


On Tue, Jan 15, 2002 at 09:49:24AM -0800, Carlos wrote:
>         @echo "Generating chunked content";
>         @xsltproc --param html.ext "'.html'" xsl/xhtml/cal-chunk.xsl
> stories.xml

  With 1.0.10 libxslt from yesterday 
          @xsltproc --stringparam html.ext .html xsl/xhtml/cal-chunk.xsl stories.xml

>         @echo "Done Chunking content";
> # How do you make the line below work
> #       @tidy *.html > *.html
>         @mv *.html stories;

  Damn it's simply shell script embedded in Makefiles:
          @(for i in *.html ; do tidy $$i > stories/$$i ; rm -f $$i ; done)

it replaces both lines.

Daniel
         

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC