hi,
I need help in implementing page breaks in XML files? any suggestion on how can this be done? do you recommend using processing instructions or add a new elements would make more sense? can the processing instruction page number help in my case?
To clarify things up, I know the content is displayed after being rendered to some XMLObjects tool. We mainly display digital content marked up in XML in our application after being rendered. The XML files are transformed from another XML file some which support page breaks.
The transformation part is easy, as long I find away to add support to page breaks to our application.
I have been thinking about a couple of options, some of which:
1) have page breaks as a stylesheet that will modify the XML before being rendered to include some sort sort of page breaks element that will be supported in the XMLObjects. The problem I am running into, is I am not sure if an element is a good choice and what other options I can have, and how difficult will that to be implemented in the XMLObject.
2) I am not sure how to determine where a page break should go. are there examples or algorithms out there that might help.
thanks,
bill