Re: aligning SGML to text

2006-06-19 Thread Gerard Flanagan
Steven Bethard wrote: > Gerard Flanagan wrote: > > Steven Bethard wrote: > >> I have some plain text data and some SGML markup for that text that I > >> need to align. (The SGML doesn't maintain the original whitespace, so I > >> have to do some alignment; I can't just calculate the indices direc

Re: aligning SGML to text

2006-06-18 Thread Steven Bethard
Steven Bethard wrote: > I have some plain text data and some SGML markup for that text that I > need to align. (The SGML doesn't maintain the original whitespace, so I > have to do some alignment; I can't just calculate the indices directly.) [snip] > Note that the SGML inserts spaces not only

Re: aligning SGML to text

2006-06-18 Thread Steven Bethard
Gerard Flanagan wrote: > Steven Bethard wrote: >> I have some plain text data and some SGML markup for that text that I >> need to align. (The SGML doesn't maintain the original whitespace, so I >> have to do some alignment; I can't just calculate the indices directly.) >> For example, some of m

Re: aligning SGML to text

2006-06-18 Thread Gerard Flanagan
Steven Bethard wrote: > I have some plain text data and some SGML markup for that text that I > need to align. (The SGML doesn't maintain the original whitespace, so I > have to do some alignment; I can't just calculate the indices directly.) > For example, some of my text looks like: > > TNF bi

aligning SGML to text

2006-06-18 Thread Steven Bethard
I have some plain text data and some SGML markup for that text that I need to align. (The SGML doesn't maintain the original whitespace, so I have to do some alignment; I can't just calculate the indices directly.) For example, some of my text looks like: TNF binding induces release of AIP1