Jacobus Reyneke schrieb am 23.03.2010 um 11:21:08 (+0200):
e.g. <company product="The editor <producttype-ref
ref-id="manual1"/>">
That looks awful. Escaped markup is nearly always wrong. Why not
make it:
<company>
<product>The editor <producttype-ref ref-id="manual1">
...
It's awful, I know, but I am trying to use XML elements only to
represent irreducible elements in my real world domain.
You could use namespaces:
<mf:root
xmlns:mf="urn:X-meaningful"
xmlns:ml="urn:X-meaningless">
<mf:company>
<ml:name> silly name </ml:name>
</mf:company>
</mf:root>
But it doesn't look okay to me either, and you're probably right when
you're saying that it's time to rethink your approach.
--
Michael Ludwig
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--