commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jody Brooks <brooks.j...@gene.com>
Subject Betwixt: successfully finding both elements and attributes but not within the same element
Date Tue, 20 Dec 2005 20:52:50 GMT
In other words, for this bit of xml "<Name DownloadURL="A">B</Name>" I can
grab A or B but not both.

At least, that is what I'm encountering with the .betwixt config below. I
can successfully toggle it to grab either value but not both.

Any ideas?

Jody

<?xml version='1.0' encoding='UTF-8' ?>
<info>
		<element name='SearchResult'>
			<element name='Location'>
   				<attribute name='ServerName'
property='hostanddomain'/>
   				</element>
			<element name='Name' property='filename'>
  				<attribute name='DownloadURL'
property='downloaduri'/>
			</element>
			<element name='ObjectDate' property='publishdate'/>
			<element name='ObjectSize' property='filesize'/>
			<element name='Summary' property='description'/>
			<element name='Score'/>
		</element>
</info>




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message