commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Collins, Russell" <rcoll...@corelogic.com>
Subject [Digester] Rules on Attributes
Date Tue, 22 Feb 2011 20:49:04 GMT
I am new to Digester so bear with me if this has been answered before.  I would like to create
rules based on the attributes of elements.  From what I am seeing, the way to create rules
is based on documents that look like this:

<parent>
   <child>
     <name>child1</name>
  </child>
</parent>

What I would like to be able to do is parse a document that looks like this:


<parent childid="2" name="Something" />

<parent childid="4" name="SomethingElse" />


Can this be accomplished with digester?  If not, is there another tool that would parse this
information easier?


Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions
Direct: 512.977.3206
mailto:rcollins@corelogic.com


"Do or do not, there is no try." - Yoda


________________________________
***************************
This message may contain confidential or proprietary information intended only
for the use of the addressee(s) named above or may contain information that is
legally privileged. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you are hereby
notified that reading, disseminating, distributing or copying this message is
strictly prohibited. If you have received this message by mistake, please
immediately notify us by replying to the message and delete the original
message and any copies immediately thereafter.

Thank you.
****************************

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message