Hi Michael,
Next week i will do the following:
- write a blog on this subject, see here [1]; and
- write some sample code.
In the mean time you could look at the JavaDoc, in particular the SAX
serializer/parser and the:
org.jvnet.fastinfoset.sax.PrimitiveTypeContentHandler
If you are feeling a little braver you could take a look at the
AlgorithmTest [2] JUnit test case (see method
createBuiltInTestFastInfosetDocument).
Paul.
[1]
http://blogs.sun.com/roller/page/sandoz
[2]
https://fi.dev.java.net/source/browse/fi/FastInfoset/test/algorithm/AlgorithmTest.java?view=markup
Michael Seminaro wrote:
> Can you point me to any example code or documentation for this API,
> other than the really brief examples that exist on the "how to use:"
> page? In particular, I would like to know how to build up an XML
> document with binary content, in memory, and have that serialized to a
> fast infoset document without performing any character encoding on the
> binary data.
>
> Thanks.
> --
> *Michael Seminaro
> *
> Sun Microsystems, Inc.
> Phone: x53182/+1-703-579-1969
> Email: michael.seminaro_at_sun.com <mailto:michael.seminaro_at_sun.com>
>
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109