[jdom-interest] unsubscribe

SVGK, Raju (Raju) svgk at lucent.com
Sun Apr 27 22:12:11 PDT 2003


-----Original Message-----
From: jdom-interest-request at jdom.org
[mailto:jdom-interest-request at jdom.org]
Sent: Sunday, April 27, 2003 11:31 AM
To: jdom-interest at jdom.org
Subject: jdom-interest digest, Vol 1 #1199 - 1 msg


Send jdom-interest mailing list submissions to
	jdom-interest at jdom.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.denveronline.net/mailman/listinfo/jdom-interest
or, via email, send a message with subject or body 'help' to
	jdom-interest-request at jdom.org

You can reach the person managing the list at
	jdom-interest-admin at jdom.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of jdom-interest digest..."


Today's Topics:

   1. Re: Problem with getText() / jdom b9 rc2 (Simon McLeish)

--__--__--

Message: 1
Date: Sat, 26 Apr 2003 09:11:38 +0100
From: Simon McLeish <s.mcleish at lse.ac.uk>
To: "Bradley S. Huffman" <hip at a.cs.okstate.edu>
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] Problem with getText() / jdom b9 rc2

Thanks - this fixed it. I thought I must be missing something obvious!

Simon

Bradley S. Huffman wrote:

>Simon McLeish writes:
>
>  
>
>>// Load the hostname, port and handlers
>>Element portElt = root.getChild("port");
>>    
>>
>
>Big dummy me for not seeing this the first time, getChild("port") returns
>the first child in no namespace (Namespace.NO_NAMESPACE), the "port"
element
>is in the default namespace which is "http://www.angel.ac.uk/rm_config".
>Use the full version of getChild
>
>    Namespace rm_config_ns = Namespace.getNamespace(
>                               "http://www.angel.ac.uk/rm_config");
>    Element portElt = root.getChild("port", rm_config_ns);
>   
>Brad
>
>  
>
>>The document looks like:
>>
>><?xml version="1.0"?>
>><rm_config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>	xmlns="http://www.angel.ac.uk/rm_config"
>>	xsi:schemaLocation="http://www.angel.ac.uk/rm_config 
>>http://www.angel.ac.uk/schemas/rm_config.xsd"
>>	name="Angel">
>>(irrelevant content)
>><host>bungo.lse.ac.uk</host>
>><port type="unprotected">5557</port>
>>(more irrelevant content)
>></rm_config>
>>    
>>
>
>  
>



--__--__--

_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com

End of jdom-interest Digest



More information about the jdom-interest mailing list