S
steeve_dun
Hi everybody,
I have a document that includes definitions.
What I want is parsing the document and saving these definitions in a
xml document.
Is there a simple way to do so?
Thank you!
Example:
#### beginning of ducument ####
\glossary{HTML} {HyperText Markup Language} is the lingua franca for
publishing hypertext on the \glossary {WWW}{World Wide Web}
#### end of ducument ####
what I want is something like:
#### beginning of xml output ####
<glossary>
<definition>
<word> HTML </word>
<meaning> HyperText Markup Language </meaning>
</definition>
<definition>
<word> WWW </word>
<meaning> World Wide Web </meaning>
</definition>
</glossary>
#### end of xml output ####
---steeve
I have a document that includes definitions.
What I want is parsing the document and saving these definitions in a
xml document.
Is there a simple way to do so?
Thank you!
Example:
#### beginning of ducument ####
\glossary{HTML} {HyperText Markup Language} is the lingua franca for
publishing hypertext on the \glossary {WWW}{World Wide Web}
#### end of ducument ####
what I want is something like:
#### beginning of xml output ####
<glossary>
<definition>
<word> HTML </word>
<meaning> HyperText Markup Language </meaning>
</definition>
<definition>
<word> WWW </word>
<meaning> World Wide Web </meaning>
</definition>
</glossary>
#### end of xml output ####
---steeve