opensubscriber
   Find in this group all groups
 
Unknown more information…

j : j-users@xerces.apache.org 30 June 2009 • 12:29AM -0400

Name-value pairs in xml root tag
by govelogo

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi there,
Is it possible to use JAXP API to retrieve schema and prefix name-value
pairs in the root element tag? for example,

<?xml version="1.0" encoding="UTF-8"?>
<test:inputParameters xsi:type="test:ArrayOfParameterType"
xmlns="http://rules.bellaliant.icn/testing"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cbebi-v1-5="http://ossj.org/xml/Common-CBEBi/v1-5"
xmlns:cbecore-v1-5="http://ossj.org/xml/Common-CBECore/v1-5"
xmlns:cbeproduct-v1-5="http://ossj.org/xml/Common-CBEProduct/v1-5"
xmlns:cbeservice-v1-5="http://ossj.org/xml/Common-CBEService/v1-5"
xmlns:co-v1-5="http://ossj.org/xml/Common/v1-5"
xmlns:om-v1-0="http://ossj.org/xml/OrderManagement/v1-0"
xmlns:test="http://rules.aliant.ca/testing"
/>

I can get _xsi:type="test:ArrayOfParameterType"_ from the input parameter
org.xml.sax.Attributes passed on to startElement() method. But can I get the
rest of the n-v pairs in any of the PSVIProvider or TypeInfoProvider APIs?
(I did a quick search, but could not find one)

thanks,
David

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.