[jdom-interest] please unsubscribe me

krishna muthyala muthyalakris at yahoo.com
Tue Dec 4 18:07:20 PST 2001


--- jdom-interest-admin at jdom.org wrote:
> 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. about sax (Gu Xueying (Shinnie Gu))
>    2. sub classsig Document
> (Jasmeet.Singh at eontec.com)
>    3. (no subject) (Thomas Enzi)
>    4. Implementing idea using JDOM. (Tasso
> Angelidis)
>    5. SAX2 driver class
> org.apache.xerces.parsers.SAXParser not found
> (Nishan_Fonseka at canadalifeus.com)
>    6. JDOM release (Mauro Talevi)
>    7. Re: Performance tuning (Bob Jacobsen)
> 
> --__--__--
> 
> Message: 1
> From: "Gu Xueying (Shinnie Gu)"
> <Shinnie.Gu at iuniverse.com.cn>
> To: "Jdom (E-mail)"
> <jdom-commits at dorothy.denveronline.net>,
>         "Jdominterested (E-mail)"
> <jdom-interest at jdom.org>
> Date: Mon, 3 Dec 2001 16:03:42 +0800 
> Subject: [jdom-interest] about sax
> 
> 
> If I want to change xml file's structure, Dom and
> Sax which is better to be
> used?
> Any help is appreciated!
> Thanks
> Shinnie
>  58305001 - 8701
> 
> 
> --__--__--
> 
> Message: 2
> From: Jasmeet.Singh at eontec.com
> To: jdom-interest at jdom.org
> Date: Mon, 3 Dec 2001 15:06:35 +0000
> Subject: [jdom-interest] sub classsig Document
> 
> Hi
> 
> I have created a my own Document class
> 
> public MyDocument extends Document{
> 
> 
> }
> 
> 
> This is now being used as
> 
> 
> public MyClass {
> 
> private MyDocument myDocument;
> 
> 
> 
> public void someMethod(){
> 
> // I use SAX builder to build a document  as
> 
>      SAXBuilder builder = new SAXBuilder();
>      Document doc = builder.build(new
> File("myxmlfile.xml"));
> //
> 
> I want to set myDocument as the doc that has just
> now been created
> 
> I have tried the following ways
> 
> 1. myDoucment = new
> MyDocument(doc.getRootElement(),doc.getDocType);
> 2. myDocument = new
> MyDocument(doc.getContent,doc.getDocType);
> 
> But all the above say throw IllegalAddExceptiion..
> saying the root cannot
> be set again.
> The new MyDocument that I am trying top create has
> no relation with the doc
> that has been read from the XML file. Both are
> separat references...
> is there a way to copy the instance of doc and
> assign it to its subclass
> ... (.clone()) ., how does that work ..
> 
> 
> 
> }
> 
> }
> 
> 
> Any help .
> 
> thanks
> jasmeet
> 
> 
> 
> 
> 
> 
> 
> --__--__--
> 
> Message: 3
> Date: Mon, 03 Dec 2001 17:56:41 +0100
> To: jdom-interest at jdom.org
> From: Thomas Enzi <Thomas.Enzi at wu-wien.ac.at>
> Subject: [jdom-interest] (no subject)
> 
> Hello,
> 
> I`ve a problem with SAXParser and it would be really
> nice, if someone could help me.
> I am parsing an XML-Instance using the JDOM
> SAXBuilder.
> 
> Instance:
> 
> <univ:tag xmlns:univ="http://someurl#" >
>      <innertag univ:id="someid"/>
> </univ:tag>
> 
> When printing it (with XMLOutputter) I get the
> following result:
> 
>  ?xml version="1.0" encoding="UTF-8"?>
> <univ:tag xmlns:univ="http:/someurl#">
> 	<innertag id="someid" />
> </univ:tag>
> 
> so the attribute "id" from "innertag" does not have
> a ns-prefix, but I need it.
> The same happens when walking through this instance
> and accessing the 
> Attribute (using class Attribute). There also
> attribute.getNamespace or getNSPrefix
> does not provide the prefix.
> 
> I found out that this happens to all attributes that
> have the namespace-prefix that is used
> in the first parent of an instance.
> 
> What can I do to avoid it?
> 
> best Regards
> 
> Thomas
> 
>
<><><><><><><><><><><><><><><><><><><><><><><><><><><>
> 
> Thomas Enzi                            
> Thomas.Enzi at wu-wien.ac.at 
> Research and Development, UNIVERSAL
> (http://www.ist-universal.org/) 
>
<><><><><><><><><><><><><><><><><><><><><><><><><><><>
> 
> Department of Information Systems, New Media 
> Vienna University of Economics and Business
> Administration 
>
<><><><><><><><><><><><><><><><><><><><><><><><><><><>
> 
> Abteilung für Wirtschaftsinformatik, Neue Medien 
> Wirtschaftsuniversität Wien 
> Augasse 2-6, A-1090 Vienna, Austria
> http://nm.wu-wien.ac.at 
> Tel: (+43-1) 31 336 x4417, Fax: (+43-1) 31 336 x746 
>
<><><><><><><><><><><><><><><><><><><><><><><><><><><>
> 
> 
> --__--__--
> 
> Message: 4
> 
=== message truncated ===


=====

 

concern for a cleaner world, for a better tomorrow 

         http://www.greenpeace.org


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com



More information about the jdom-interest mailing list