[XML-SIG] Mixed encodings and XML

Lars Marius Garshol larsga@garshol.priv.no
14 Dec 2000 12:42:46 +0100


* mal@lemburg.com
| 
| Rich Salz pointed out in private mail that I could use base64 
| as encoding (can '<' and '>' appear in base64 ?).

base64 is indeed the common way to encode binary material inside XML
documents.  It uses only A-Za-z+/= for encoding.
 
| I would like to be able to use XML searching machinery to scan over
| web site structures. This includes limiting searches to certain
| attributes, e.g. keywords or meta-descriptions of the content, but
| should also cover full-text search of the content itself.

In that case I would recommend keeping the non-XML content external to
the XML documents and only reference them from the XML content.
 
| I think I would have to provide a special tag
| 
| 	<content encoding="base64|hex|plain|..." mimetype="...">
| 	...
| 	</content>
| 
| to enable this.

That seems like a very reasonable solution.

--Lars M.