commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ionut Scutaru <ionut.scut...@gmail.com>
Subject how to retrieve the namespace version
Date Fri, 23 Apr 2010 15:25:21 GMT
 Hi everybody,

 I'm pretty new with Apache Commons Digester, so please forgive me if what I
am asking is very simple..

 I have an xml document as the following:

 <trigger:triggers
xsi:schemaLocation="http://my.company/trigger/v1.2/   trigger_1.2.xsd"
xmlns:trigger="http://my.company/trigger/v1.2/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <trigger:triggerA>
 ..
 </trigger:triggerA>
 </trigger:triggers>

 What I would like to do is to find the schema version used by the xml file
using Digester. I mention that I can get
 XML files using various schema versions, from 1.0 to 1.5.

 Any suggestions, please ?

 Thank you,
 Ionut

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