---------- Forwarded message ---------- From: Filip Jirsák <fi...@jirsak.org> Date: 2009/11/13 Subject: Re: [dom4j-user] Determining the type of data in an XPath returned node To: David Thielen <da...@windward.net>
Hello, see http://dom4j.org/dom4j-1.6.1/cookbook.html, part "Using XML Schema Data Types in dom4j" – it is probably what you search for. Filip Jirsák 2009/11/12 David Thielen <da...@windward.net> > > Hi; > > > > Is there an easy way, when I am iterating through the nodes returned from an > XPath query, to get typed results. I need to know if it’s a Date, Number, or > String. This is more than just what node it is because an XPath can be the > result of a count or other operation where the resulting type has nothing to > do with any node type. > > > > I optionally have a schema – but not always. > > > > ??? – thanks – dave > > > > > > David Thielen > 303-499-2544 x1185 > 720-352-0676 (cell) > > www.windwardreports.com > > World's coolest blog - Windward Wrocks! > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > dom4j-user mailing list > dom4j-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dom4j-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user