This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]