Re: [xslt] request for xmllint



On Thu, Dec 13, 2001 at 10:00:01PM +0100, Geert Kloosterman wrote:
>     Daniel>  well within xmllint, this is doable, but there is already like 32
>     Daniel> options to xmllint, is that really worth adding yet another one ?
>     Daniel> Might be simpler to write a 10 lines C programe parsing the
>     Daniel> document, removing the DTd and reserializing it.
> 
> It would be a welcome feature for me too... 

I'm weak :-\

orchis:~/XML -> ./xmllint tst.xml 
<?xml version="1.0"?>
<!DOCTYPE article SYSTEM "y:/doc/docbook/dtd/dbx412/docbookx.dtd">
<article>
   <programlisting>
     <![CDATA[
      a + b ;
     ]]>
   </programlisting>
</article>
orchis:~/XML -> ./xmllint --dropdtd tst.xml 
<?xml version="1.0"?>
<article>
   <programlisting>
     <![CDATA[
      a + b ;
     ]]>
   </programlisting>
</article>
orchis:~/XML -> 

Commited as :
http://cvs.gnome.org/bonsai/cvsquery.cgi?module=gnome-xml&branch=HEAD&branchtype=match&dir=gnome-xml&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=12%2F13%2F01+17%3A20&maxdate=12%2F13%2F01+17%3A22&cvsroot=%2Fcvs%2Fgnome

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][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]