<rdf:RDF
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xml:base='http://startofentry.blogdns.org/rdf'>
    <s:Snip rdf:about='http://startofentry.blogdns.org/rdf#start/2005-03-28/1'
         s:name='start/2005-03-28/1'
         s:cUser='case'
         s:oUser='case'
         s:mUser='case'>
        <s:content>1 XML steps with XStream {anchor:XML steps with XStream}&#xA;Against my latest blog entry I could not resist externalizing the configuration for the my remote control application. I used {link:XStream|http://xstream.codehaus.org/}, which enabled me to just dump the current configuration to a file and so easily constructed the necessary XML formats. &#xD;&#xA;&#xD;&#xA;I am pretty sure, I will use that toolset at work, too!&#xD;&#xA;&#xD;&#xA;Reading the XML into the object again is that simple:&#xD;&#xA;{code}&#xD;&#xA;XStream xstream = new XStream(new DomDriver());&#xD;&#xA;xstream.alias(&quot;appInteraction&quot;, GenericInteraction.class);&#xD;&#xA;xstream.alias(&quot;keyAction&quot;, KeyAction.class);&#xD;&#xA;xstream.alias(&quot;AppControlConfig&quot;, AppControlConfig.class);&#xD;&#xA;&#xD;&#xA;FileReader fr = new FileReader(CONFIG_FILE_NAME);&#xD;&#xA;configuration = (AppControlConfig) xstream.fromXML(fr);&#xD;&#xA;...&#xD;&#xA;{code}</s:content>
        <s:mTime>2005-03-28 22:24:50.768</s:mTime>
        <s:cTime>2005-03-28 22:24:50.768</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='http://startofentry.blogdns.org/rdf#timeline/timeline 2005'/>
                <rdf:li rdf:resource='http://startofentry.blogdns.org/rdf#2005-03-07'/>
                <rdf:li rdf:resource='#Shrek2'/>
                <rdf:li rdf:resource='http://startofentry.blogdns.org/rdf#2005-02-24'/>
                <rdf:li rdf:resource='http://startofentry.blogdns.org/rdf#start/2005-03-27/1'/>
                <rdf:li rdf:resource='http://startofentry.blogdns.org/rdf#start/2005-03-11/1'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>
