Hi Jan,

The XmlUtils.getQName / getQNameFromChild functions can retrieve QNames for 
you.  These search up the path to collect the namespaces mentioned by the 
QNames.  Note these are QNames in the xsd fashion i.e. prefix:localName and the 
prefix -> namespace mapping must be in a parent element.

cheers,
Chris

-----Original Message-----
From: Jan Torben Heuer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 12:28 PM
To: [email protected]
Subject: Element[] to QName to topic?

Hi,

How can I parse topics that are supplied via soap? I want to add them later 
with NotificationProducer#addTopic(QName);

The xml-code may look like:
<wsbn:Topic
dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple";
xmlns:tsas="http://www.opengis.net/ses/1.0.0/";>
        <tsas:Measurements>mytopic</tsas:Measurements>
</wsbn:Topic>

But I'm not sure how else the topic can be provided.
Is there already topic-parsing-code in muse that I can reuse?


Thanks,

Jan
--
                                Institute for Geoinformatics
[EMAIL PROTECTED]       Robert-Koch-Strasse 26-28
+49 251 83-31960                48151 Münster, Germany

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to