Wendell Piez wrote:
What about the situation where an XHTML fragment needs to be
put into an otherwise "vanilla" XML document, where character
entities (“ etc.) are embedded in the XHTML document
Is it poor design to use these character entities?
This is an excellent question.
With my documentary biases, I'd like to see the containing XML have the
necessary declarations so you could use your character entities
transparently. In the kind of systems I have experience with (mainly
publishing systems of various kinds) I believe this could be done fairly
straightforwardly in most cases, although it's admittedly something else
On the other hand, I can imagine there might be scenarios where this
wouldn't seem worth the trouble. Much depends on your operational
I'd also like to hear what others think on this one.
btw, wouldn't XInclude or XLink a better solution?
Multiconn Technologies, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list