[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: Concrete proposal for #480954: Extend textobject toinsertexternal files
Norman Walsh wrote: > And the stylesheets support a hack whereby you can say > > <imageobject format="linespecific" fileref="somefile.txt"/> > > and literally insert the content of somefile.txt into the result. > > As this RFE suggests, it might be more reasonable to allow textobject > to directly insert a file by adding entityref and fileref attributes > to textobject. I think that we should also add encoding attribute for holding encoding name of included file. Stylesheet and processing tools haven't chance for recognizing encoding of external file in many cases. (And in fact XInclude standard also uses encoding attribute for specifying encoding for non-XML files.) For some application it may be useful to have also format or type attribute here. One can say that format of file is java or text/java and stylesheet can apply syntax-highlighting on the file. Jirka -- ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC