[liblouis-liblouisxml] Re: UTDML and where brl noes can appear

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 17 Oct 2013 20:16:46 -0500

In dtbook.sem ad nimas.sem the action document is given to <book> 
because it contains the actual docummennt. <dtbook> contains the head 
node as well. So for the xml part of docx <body> must be given the 
action document. The root element <document> gets no action. That is the 
way things are set up.

John

On Thu, Oct 17, 2013 at 09:09:52PM +0100, Michael Whapples wrote:
> No the document node should be w:wordDocument.
> 
> Looks like w:body is given the action no.
> 
> In Word XML w:body is like body in HTML, where the body of the document 
> will be found, so why should brl nodes appear outside that?
> 
> Also I notice two .sem files for Word documents, looks like one is for 
> when there is a XML namespace in the Word XML and the other is for where 
> there is not. There seems to be differences between these (eg. 
> w:wordDocument has action no where as wordDocument has action document).
> 
> Michael Whapples
> On 17/10/2013 18:09, John J. Boyer wrote:
> >What semantic action is asigned to the w:body node? It should be
> >document. Lok at the docx.sem file in lbu_files .
> >
> >John
> >
> >On Thu, Oct 17, 2013 at 05:46:50PM +0100, Michael Whapples wrote:
> >>Where can the brl nodes appear in a UTDML document?
> >>
> >>We have a Word XML file which has been marked with UTDML and the last
> >>brl node for the last page number appears outside the document body
> >>(w:body) element. This looks strange and means that one has to get the
> >>parser to look outside the body of the document to get all Braille,
> >>which is certainly sub-optimal as one will need to filter out much
> >>unwanted stuff.
> >>
> >>Is LibLouisUTDML working correctly in placing this brl node outside the
> >>body element?
> >>
> >>Michael Whapples
> >>For a description of the software, to download it and links to
> >>project pages go to http://www.abilitiessoft.com
> 
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: