I'm trying to setup a binding file for XML that contains a xmlns attribute, but 
cannot seem to figure out how to do it and don't see any examples. I basically 
don't have any need to process the xmlns:ls="urn:SmartResults" attribute.  I 
just want the binding compiler to ignore it and not throw runtime errors.
 <?xml version="1.0" encoding="UTF-8" ?>
<ls:SmartResults xmlns:ls="urn:SmartResults">
<ls:ssResultSet ls:firstResult="1" ls:numResults="1" ls:totalHits="1">
<ls:ssResult ls:id="1">
<ls:abstract>
<![CDATA[Get a quote! Find info here!]]>
</ls:abstract>
<ls:title><![CDATA[Insurance Info]]></ls:title>
<ls:url>
<![CDATA[http://www.site.com/og/pr=Psr;;746896;z?http://www.example.com/insurance]]>
</ls:url>
<ls:displayUrl><![CDATA[http://www.example.com/insurance]]></ls:displayUrl>
<ls:pric>0.82</ls:pric>
</ls:ssResult></ls:ssResultSet>
</ls:SmartResults>
 <mappingname="SmartResults"ordered="false"class="com.mysite.xmlfeed.providers.FeedResults"><valuename="urn:SmartResults"style="attribute"usage="optional"/><collectionname="ssResultSet"field="adList"factory="com.mysite.xmlfeed.Results.listFactory"><structurename="ssResult"type="com.mysite.xmlfeed.providers.MyObject"ordered="false"><valuename="abstract"field="description"usage="optional"/><valuename="title"field="name"usage="optional"/><valuename="url"field="redirect"usage="optional"/><valuename="displayUrl"field="displayUrl"usage="optional"/><valuename="pric"field="cpc"/></structure></collection></mapping>


      
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to