Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: converting stuff to xml files?

From: Andy Dingley <dingbat@----------.--->
To: NULL
Date: 1/2/2008 3:34:00 AM
On 24 Dec 2007, 16:57, yawnmoth <terra1...@yahoo.com> wrote:
> XSL stylesheets can be used to convert an XML file into whatever
> binary format you want (DocBook, for example, does PDF's).  My
> question is...  what if you wanted to go in the other direction?

2nd law of thermodynamics (wiki it) applies.
You can always "lose" information, but you can't re-generate it.

"Information" can mean content or structure equally well here. Turning
text in different XML elements into plain rendered text (such as a
bitmap or PDF) is "lossy", because you lose the knowledge of which
class of element it came from.

This applies to a "closed system", so sticking information or hints
back onto it from outside counts as "cheating" 8-)  It's also hard to
do, very hard if you're talking about a production-grade bulk system.


So, the upshot of all this is: keep your content in a semantically-
rich, structure-preserving format for as long as possible. Transform
it into "simple" presentation formats at the very last moment.
Investigate ways to keep the semantics intact, even when published to
these simple formats, e.g. HTML might lose the XMl element names in
favour of making everthing a <div>, but you can still preserve that
information by adding suitable class attributes.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent