<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>JavaRanch XML and Related Technologies</title>
        <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&amp;f=31</link>
        <description>A Friendly Place for Java Greenhorns</description>
        <image>
            <url>http://saloon.javaranch.com/ubb/moosefly.gif</url>
            <title>JavaRanch Big Moose Saloon</title>
            <link>http://saloon.javaranch.com/</link>
        </image>
        <language>en-us</language>
        <generator>JavaRanch RSS</generator>
        <copyright>Copyright 2007 Paul Wheaton. All Rights Reserved.</copyright>
        <item uniqueID="31-007187">
            <title>Needed Some tutorial on XML </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007187</link>
            <description>Hi Friends,&lt;br /&gt;I want to learn XML technology. For this I need some tutorial to start with. Please send ppt, pdf or any other materials that you have at rathis@techmahindra.com. Moreover I want to learn about various parsers like SAX parser , DOM parser . Please let me know about the same. &lt;br /&gt; &lt;br /&gt;I would be very much thankful to you ! &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Somesh Rathi :)</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007187</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007187Somesh Rathi</comments>
            <author/>
            <pubDate>Wed, 14 May 2008 02:13:13 MDT</pubDate>
        </item>
        <item uniqueID="31-007186">
            <title>XML to XSL conversion. Need to keep track of rows based on an if condition</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007186</link>
            <description>I am using XSL to convert an XML file to a csv file. &lt;br /&gt;The XML file in the format below:&lt;br /&gt; &lt;br /&gt;&amp;lt;file&amp;gt;&lt;br /&gt;&amp;lt;record&amp;gt;&lt;br /&gt;&amp;lt;name&amp;gt;Johnny&amp;lt;/name&amp;gt;&lt;br /&gt;&amp;lt;age&amp;gt;32&amp;lt;/age&amp;gt;&lt;br /&gt;&amp;lt;/record&amp;gt;&lt;br /&gt;&amp;lt;record&amp;gt;&lt;br /&gt;&amp;lt;name&amp;gt;Jimmy&amp;lt;/name&amp;gt;&lt;br /&gt;&amp;lt;age&amp;gt;5&amp;lt;/age&amp;gt;&lt;br /&gt;&amp;lt;/record&amp;gt;&lt;br /&gt;&amp;lt;record&amp;gt;&lt;br /&gt;&amp;lt;name&amp;gt;Baby Moon&amp;lt;/name&amp;gt;&lt;br /&gt;&amp;lt;age&amp;gt;1&amp;lt;/age&amp;gt;&lt;br /&gt;&amp;lt;/record&amp;gt;&lt;br /&gt;&amp;lt;record&amp;gt;&lt;br /&gt;&amp;lt;name&amp;gt;Lisa&amp;lt;/name&amp;gt;&lt;br /&gt;&amp;lt;age&amp;gt;25&amp;lt;/age&amp;gt;&lt;br /&gt;&amp;lt;/record&amp;gt;&lt;br /&gt;&amp;lt;/file&amp;gt;&lt;br /&gt;My xsl file should be implemented such that all records where age &amp;lt;20 are ignored. &lt;br /&gt; &lt;br /&gt;&amp;lt;xsl:stylesheet&lt;br /&gt;xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&lt;b...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007186</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007186Cindy Jones</comments>
            <author/>
            <pubDate>Tue, 13 May 2008 18:45:12 MDT</pubDate>
        </item>
        <item uniqueID="31-007185">
            <title>Drawing a line</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007185</link>
            <description>Is there some type of function within xslt that can draw a line across a webpage?&lt;br /&gt; &lt;br /&gt;I am a newbie. This is the only thing I can think of. I have searched the internet and have not come up with anything useful.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;TD width="60%" align= "left"&amp;gt;&lt;br /&gt;&amp;lt;font&amp;gt;&lt;br /&gt;&amp;lt;xsl:value-of select="concat('-------------------------------------------------------------------------------', ' ')"/&amp;gt;&lt;br /&gt;&amp;lt;/font&amp;gt;&lt;br /&gt;&amp;lt;/TD&amp;gt;</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007185</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007185joseph cooper</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 08:12:55 MDT</pubDate>
        </item>
        <item uniqueID="31-007184">
            <title>images</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007184</link>
            <description>can we store images in XML?&lt;br /&gt; &lt;br /&gt;if yes then how to parse the images</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007184</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007184ramesh kancherla</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 01:32:54 MDT</pubDate>
        </item>
        <item uniqueID="31-007183">
            <title>Difference between well formed and valid xml?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007183</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt; please clarify the " Difference between well formed and valid xml"?&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; give me an example for each...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007183</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007183Thennam Pandian</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 23:30:51 MDT</pubDate>
        </item>
        <item uniqueID="31-007182">
            <title>Difference between Schema and DTD?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007182</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt; please clarrify the "Difference between Schema and DTD"?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007182</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007182Thennam Pandian</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 23:26:51 MDT</pubDate>
        </item>
        <item uniqueID="31-007181">
            <title>hi, why my xsl file did not work, can anybody help me a little bit</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007181</link>
            <description>Hi everybody, currently i am trying to learn something about bpel,&lt;br /&gt;i use ActiveBpel engine,&lt;br /&gt; &lt;br /&gt;code below is the request that my test client generate&lt;br /&gt;i want to look for some data from this xml format file, but i don`t know why it did not work, always give me error&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;faultDetail: &lt;br /&gt; {http://xml.apache.org/axis/}stackTrace:Error found while executing an XSL transform via the doXslTransform function: &amp;quot;org.xml.sax.SAXException: Warning: can't output text before document element! Ignoring...&amp;quot;&lt;br /&gt; at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)&lt;br /&gt; at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder....</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007181</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007181shrimpy wu</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 18:12:50 MDT</pubDate>
        </item>
        <item uniqueID="31-007180">
            <title>Problems with AJAX and XML</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007180</link>
            <description>Hi&lt;br /&gt; I am unable to parse XML data sent to an AJAX call from a servlet.&lt;br /&gt;The data passes into the AJAX call but I get NULL when i try to&lt;br /&gt;parse it .&lt;br /&gt; &lt;br /&gt;JSP page&lt;br /&gt;--------&lt;br /&gt; &lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;var xmlHttp;&lt;br /&gt;var requestType = "";&lt;br /&gt;function createXMLHttpRequest() &lt;br /&gt;{&lt;br /&gt;if (window.ActiveXObject) &lt;br /&gt;{&lt;br /&gt;xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");&lt;br /&gt;}&lt;br /&gt;else if (window.XMLHttpRequest) {&lt;br /&gt;xmlHttp = new XMLHttpRequest();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;function startRequest() &lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;createXMLHttpRequest();&lt;br /&gt;xmlHttp.onreadystatechange = handleStateChange;&lt;br /&gt;xmlHttp.open("GET","chat", true);&lt;br /&gt;xmlHttp.send(null);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;function...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007180</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007180Anand Ramachandran</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 03:32:49 MDT</pubDate>
        </item>
        <item uniqueID="31-007179">
            <title>Problem in xpath reading</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007179</link>
            <description>hi to all,&lt;br /&gt;Iam using javax.xml.xpath.XPath to parse and read the xml file. It is working fine in java 1.5 version. but i want the same requirement in java 1.4. When iam using same code in java 1.4 it is throwing exceptions. Iam giving the code....&lt;br /&gt; &lt;br /&gt;First of all iam creating XPathReader class for xpath parsing and reading.&lt;br /&gt; &lt;br /&gt;import java.io.IOException;&lt;br /&gt;import javax.xml.XMLConstants;&lt;br /&gt;import javax.xml.namespace.QName;&lt;br /&gt;import javax.xml.parsers.*;&lt;br /&gt;import javax.xml.xpath.*;&lt;br /&gt;import org.w3c.dom.Document;&lt;br /&gt;import org.xml.sax.SAXException;&lt;br /&gt; &lt;br /&gt;public class XPathReader {&lt;br /&gt; &lt;br /&gt; private DocumentBuilder documentBuilder=null;&lt;br /&gt; private Document xmlDocument;&lt;br /&gt; private...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007179</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007179sridhar bvap</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 02:34:48 MDT</pubDate>
        </item>
        <item uniqueID="31-007178">
            <title>XProc reaches W3C Working Draft status</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007178</link>
            <description>The W3C has released a working draft (http://www.w3.org/TR/xproc/) of the proposed XML Pipeline Langauge or XProc. This is a technology to keep an eye on if you have to work with really large XML streams or are looking for a new approach to XML processing.&lt;br /&gt; &lt;br /&gt;Sun's Glassfish open source project has this VERY early implementation. (https://xproc.dev.java.net/)&lt;br /&gt; &lt;br /&gt;Bill</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007178</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007178William Brogden</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 13:52:47 MDT</pubDate>
        </item>
        <item uniqueID="31-007177">
            <title>writing xml given XPATH</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007177</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt; Given that I have the xml schema, a value of an element and its xpath, can I create a XML file using JDOM. Please let me know if you have any information.&lt;br /&gt; &lt;br /&gt;Thanks&lt;br /&gt;Ramesh</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007177</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007177Ramesh Patil</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 13:04:47 MDT</pubDate>
        </item>
        <item uniqueID="31-007176">
            <title>tool for writing XSD</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007176</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;Can anyone recommend a tool that helps with writing XSDs? I'm looking for a WYSIWYG tool that can generate the XSD file from a graphical description of it's structure. I've used XML spy for this in the past, but am hoping there's a similar non-commercial tool available? An Eclipse plugin would be especially welcome.&lt;br /&gt; &lt;br /&gt;Cheers,&lt;br /&gt;Dan</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007176</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007176Dan Murphy</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 08:18:46 MDT</pubDate>
        </item>
        <item uniqueID="31-007175">
            <title>XLM XLS related error. using java to parse from xlm to xlm ( rss )</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007175</link>
            <description>Hey im using a java application to convert a xml form into another xml using xls as the converter. This is the error i get "&lt;br /&gt; &lt;br /&gt;ERROR: 'Invalid byte 2 of 3-byte UTF-8 sequence.'&lt;br /&gt;FATAL ERROR: 'Could not compile stylesheet'&lt;br /&gt;The following error occured: Could not compile stylesheet&lt;br /&gt; &lt;br /&gt;"&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;http://pastebin.com/d5c611aa2 (http://pastebin.com/d5c611aa2) XML&lt;br /&gt;http://pastebin.com/d1cd4a31a (http://pastebin.com/d1cd4a31a) XSL&lt;br /&gt;here is a link to the xml and xsl. the java application has been tested with other xml/xsl files which is much more simple and it worked. can someone help me?&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007175</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007175Sindre xtra</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 06:48:47 MDT</pubDate>
        </item>
        <item uniqueID="31-007174">
            <title>marshalling and unmarshallin</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007174</link>
            <description>hi everyone,&lt;br /&gt; is there any utility in java which can convert xml schema into class. so we can unmarshall xml file into the object</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007174</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007174Adinath Shirsath</comments>
            <author/>
            <pubDate>Sun, 4 May 2008 00:44:33 MDT</pubDate>
        </item>
        <item uniqueID="31-007173">
            <title>Question about an XML file </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007173</link>
            <description>I have a test client on my computer and that test client is sending an XML file to a local server. When that local server receives that XML file, there is an error message that says that there is a duplicate TRN ID. I looked at the XML file and there is nothing in the file that talks about a TRN ID. What could be the problem?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007173</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007173Fred Victa</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 16:46:32 MDT</pubDate>
        </item>
        <item uniqueID="31-007172">
            <title>how to use citation style language?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007172</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt; I am developing a website in which I provide the user with a list of books and also a save button next to each book title. How can I save the information of the book like author,title,publisher when the user clicks on save button. I have seen zotero (http://www.zotero.org/) using citation style language for doing this. Can anyone let me know how can I do this or is there any other way to store such information in a pdf or word format. Thanks in advance</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007172</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007172venkata kommuru</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 09:08:31 MDT</pubDate>
        </item>
        <item uniqueID="31-007171">
            <title>how to read XML that contain french character </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007171</link>
            <description>Hi ,&lt;br /&gt; can anyone please tell me how i can read XML that contain french character . i have to get XML through URL. if i am saving file from browser locally and then reading it then i am able to read french character.&lt;br /&gt;but when i am taking ..paring url then i am not able to read french character.&lt;br /&gt;Please tell me appropriate solution.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007171</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007171nirvana Singh</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 03:46:27 MDT</pubDate>
        </item>
        <item uniqueID="31-007170">
            <title>apostrophe not getting rendered correctly</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007170</link>
            <description>XStream is used to generate XML in our application, but I don't think this problem is specific to XStream. I'm wondering if there's something I can do in Java to make sure that this problem doesn't happen.&lt;br /&gt; &lt;br /&gt;We are sending an XML file to another internal application, and I'm having trouble with an apostrophe in one of the XML nodes. It's a simple object and there is no special converter registered for it, and its comments field is just a String. In two UNIX testing environments, we are seeing different behavior, and I don't even know where to begin to look for the cause. At first, I assumed their parser was mishandling something, but upon investigation, we found out that this is what they're seeing in the XML file they receive ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007170</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007170Stephen Huey</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 15:36:26 MDT</pubDate>
        </item>
        <item uniqueID="31-007169">
            <title>Changing xmlns</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007169</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I am new to XML and have a basic question.&lt;br /&gt;I have one xml file where the xmlns:com="http://xyz.com/com/core/common"&lt;br /&gt;and I want to change is to xmlns:com="http://abc.com/com/core/common". &lt;br /&gt; &lt;br /&gt;Can I just go ahead and change the xml namespace in that xml or i will have to change anyother files which will be affecting due to this change.&lt;br /&gt; &lt;br /&gt;TIA&lt;br /&gt;Grishma</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007169</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007169Grishma Dube</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 07:52:24 MDT</pubDate>
        </item>
        <item uniqueID="31-007168">
            <title>Castor marshalling question</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007168</link>
            <description>Hello - is there a way to get the marshaller to create empty tags for fields (in the corresponding object) that have no data in them?&lt;br /&gt; &lt;br /&gt;Thank you!</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007168</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007168Mary Shields</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 07:04:24 MDT</pubDate>
        </item>
        <item uniqueID="31-007167">
            <title>How to print the tag element along with the value</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007167</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I am totally new to this, Please help me out.&lt;br /&gt;By using XMLUnit I have written a code to compare two XML file and show the differences in the output, but along with the differences I want to have the node name at which differences was encountered. &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; &lt;br /&gt;import java.io.File;&lt;br /&gt;import java.util.Iterator;&lt;br /&gt;import java.util.List;&lt;br /&gt; &lt;br /&gt;import javax.xml.parsers.DocumentBuilder;&lt;br /&gt;import javax.xml.parsers.DocumentBuilderFactory;&lt;br /&gt; &lt;br /&gt;import org.custommonkey.xmlunit.DetailedDiff;&lt;br /&gt;import org.custommonkey.xmlunit.Diff;&lt;br /&gt;import org.custommonkey.xmlunit.Difference;&lt;br /&gt;import org.w3c.dom.Document;&lt;br /&gt; &lt;br /&gt;public class DiffSample {&lt;br /&gt; &lt;br /&gt;public static voi...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007167</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007167Saurabh Joshi</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 23:52:24 MDT</pubDate>
        </item>
        <item uniqueID="31-007166">
            <title>White Space Problems while reading contents of XML</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007166</link>
            <description>Hi All,&lt;br /&gt;Iam tring to get the values of an XML using the following code.&lt;br /&gt; &lt;br /&gt;DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();&lt;br /&gt;&lt;b&gt;domFactory.setIgnoringElementContentWhitespace(true);&lt;/b&gt;&lt;br /&gt;System.out.println(domFactory.isIgnoringElementContentWhitespace());&lt;br /&gt;domFactory.setNamespaceAware(true); // never forget this!&lt;br /&gt;DocumentBuilder builder = domFactory.newDocumentBuilder();&lt;br /&gt;Document doc = builder.parse("samplexml.xml");&lt;br /&gt; &lt;br /&gt;When i was trying to print the Node Names under FistElement,I get&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;true&lt;br /&gt;#text&lt;br /&gt;ChildElement1&lt;br /&gt;#text&lt;br /&gt;ChildElement2&lt;br /&gt;#text&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;The following is the XML Content....&lt;br /&gt; &lt;br /&gt;&amp;lt;Elements&amp;gt;&lt;br /&gt;...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007166</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007166Senthil Kumar</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 03:48:21 MDT</pubDate>
        </item>
        <item uniqueID="31-007165">
            <title>URL conversion</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007165</link>
            <description>I am being passed a text version of an URL address. This address prints on the worksheet. I need to change the code to activate the address on the worksheet when selected.&lt;br /&gt; &lt;br /&gt;I have been trying to figure out where is the best location to make the change. Do I convert the address to an URL address in the java code and then display it or do I continue to pass the text version of the address to the xslt code and make the conversion there?&lt;br /&gt; &lt;br /&gt;java code:&lt;br /&gt;//millmanlink = "http://www.google.com/";&lt;br /&gt;Element millmanlink = xmlDoc.createElement("millmanlink");&lt;br /&gt;millmanlink.appendChild(xmlDoc.createTextNode memberOfClientList.millmanLink));&lt;br /&gt;client.appendChild(millmanlink);&lt;br /&gt; &lt;br /&gt;and some xslt code that prints t...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007165</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007165joseph cooper</comments>
            <author/>
            <pubDate>Tue, 29 Apr 2008 13:54:19 MDT</pubDate>
        </item>
        <item uniqueID="31-007164">
            <title>creating mail using xml and xsl</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007164</link>
            <description>I have to send email to customers after they have finished their shopping.&lt;br /&gt;It consists of list of items, total, address etc.&lt;br /&gt;I have created a xsl for that and then want to add xml data to that xsl to generate the html email.&lt;br /&gt;What is the best way to achieve this ?&lt;br /&gt;Or is there a different approach to generate html email ?&lt;br /&gt;I am using java Mail API&lt;br /&gt; &lt;br /&gt;Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007164</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007164Vinay Singh</comments>
            <author/>
            <pubDate>Tue, 29 Apr 2008 11:20:19 MDT</pubDate>
        </item>
        <item uniqueID="31-007163">
            <title>DOCTYPE definition</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007163</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I'm a beginner with XML and need some basic help.&lt;br /&gt; &lt;br /&gt;This is the general external reference to a DTD.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;&amp;lt;!DOCTYPE root-element SYSTEM "filename"&amp;gt;&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;And this is a specific example.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;&amp;lt;!DOCTYPE note SYSTEM "Note.dtd"&amp;gt;&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;Where should the Note.dtd file be placed, so that the xml document is validated against this dtd?&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;Karthick</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007163</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007163Karthick Sundaram</comments>
            <author/>
            <pubDate>Tue, 29 Apr 2008 07:58:18 MDT</pubDate>
        </item>
        <item uniqueID="31-007162">
            <title>How do we maintan XML schemas in an enterpise application?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007162</link>
            <description>Hi&lt;br /&gt;Thank you for reading my post&lt;br /&gt;imagine that we have several software system which need to interact with eachother in order to complete a task.&lt;br /&gt; &lt;br /&gt;All modules use xml for interaction and mostly are developed using jsx-ws.&lt;br /&gt;In such application we will have several xml schemas which define structure of many xml, soap,.. messages.&lt;br /&gt; &lt;br /&gt;what I can not understand is the way that we store this schemas, &lt;br /&gt;- should we copy each schema into classpath of every application?&lt;br /&gt; &lt;br /&gt;What are best practice for such requirement?&lt;br /&gt; &lt;br /&gt;Thank you.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007162</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007162raminaa niilian</comments>
            <author/>
            <pubDate>Mon, 28 Apr 2008 15:26:16 MDT</pubDate>
        </item>
        <item uniqueID="31-007161">
            <title>how to read french character from XML</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007161</link>
            <description>hi can anyone please tell me how we can parse french character from xml file .</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007161</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007161nirvana Singh</comments>
            <author/>
            <pubDate>Mon, 28 Apr 2008 07:04:15 MDT</pubDate>
        </item>
        <item uniqueID="31-007159">
            <title>Retrieve database records as xml</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007159</link>
            <description>Hi,&lt;br /&gt;I have to implement a method (web service) which returns an xml schema.&lt;br /&gt;In other words the response object of web service will be of type "xml schema".&lt;br /&gt;The records are stored in an Oracle database.&lt;br /&gt; &lt;br /&gt;What should be the best way to implement this-&lt;br /&gt; &lt;br /&gt;# Option 1. To retrieve the records from oracle simply by calling stored procedures-and then storing in some object- and then converting that object to xml schema. (Not sure exactly how this will work)&lt;br /&gt;# Option 2. Query databse so that it returns xml schema &lt;br /&gt;#Any other option- you can suggest&lt;br /&gt; &lt;br /&gt;Thanks in advance for help,&lt;br /&gt;Ameer</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007159</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007159Ameer Joseph</comments>
            <author/>
            <pubDate>Thu, 24 Apr 2008 12:06:03 MDT</pubDate>
        </item>
        <item uniqueID="31-007158">
            <title>Castor &amp;#0124; Default Element Value</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007158</link>
            <description>Hi, &lt;br /&gt; &lt;br /&gt;Does anyone know if it is possible to set a default value for an element or attribute when we use Castor to marshal an object to XML? The objects that are marshalled to XMLs are fetched from a database. Some of the fields of these objects maybe NULL and hence their coresponding XML field/attribute is not printed in the XML. Is there a way to give a default value to such fields so that even if the database value is NULL it will display the default value in the XML (other than using a null check for all such fields in Java code)?&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt; &lt;br /&gt;Tausif</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007158</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007158Tausif Farooqi</comments>
            <author/>
            <pubDate>Wed, 23 Apr 2008 18:26:01 MDT</pubDate>
        </item>
        <item uniqueID="31-007157">
            <title>Different between DOMParser way and DocumentBuilderFactory way?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007157</link>
            <description>Hi&lt;br /&gt;Thank you for reading my post.&lt;br /&gt;I find that we can use one of the following way to get a DOM Document from a file, but I do not know what is difference between them and when we should use each method:&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance() ;&lt;br /&gt;DocumentBuilder db= factory.newDocumentBuilder();&lt;br /&gt;Document doc = db.parse(f);&lt;br /&gt; &lt;br /&gt;&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt;second method:&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;DOMParser parser;&lt;br /&gt;Document doc2 = parser.getDocument();&lt;br /&gt; &lt;br /&gt;&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007157</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007157raminaa niilian</comments>
            <author/>
            <pubDate>Wed, 23 Apr 2008 14:48:00 MDT</pubDate>
        </item>
        <item uniqueID="31-007156">
            <title>creating xml using sax</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007156</link>
            <description>hi,&lt;br /&gt; &lt;br /&gt; i would like to know how to create xml file using sax.&lt;br /&gt; &lt;br /&gt;Thank you</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007156</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007156deep rai</comments>
            <author/>
            <pubDate>Tue, 22 Apr 2008 11:41:46 MDT</pubDate>
        </item>
        <item uniqueID="31-007155">
            <title>Can some one explain me several namespace usage in xml header?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007155</link>
            <description>Hi&lt;br /&gt;Thank you for reading my post.&lt;br /&gt;I can not understand one part of the following code snippet, I performed some search but I do not know whether my understanding is correct or not.&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;publications xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&lt;br /&gt; xsi:schemaLocation="http://rogers60.com/xmltutorial/2&lt;br /&gt; publications.xsd" xmlns="http://rogers60.com/xmltutorial/2"&lt;br /&gt; xmlns:pub="http://rogers60.com/xmltutorial/2"&amp;gt;&lt;br /&gt; &lt;br /&gt;&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;I can not understand what the following line &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt; xmlns="http://rogers60.com/xmltutorial/2"&lt;br /&gt;&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt;means when we have another similar line &lt;br /&gt;...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007155</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007155raminaa niilian</comments>
            <author/>
            <pubDate>Mon, 21 Apr 2008 08:42:17 MDT</pubDate>
        </item>
        <item uniqueID="31-007154">
            <title>Doubt in XSL:FO </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007154</link>
            <description>Hi &lt;br /&gt; &lt;br /&gt;I am a new bee to XSL:FO , I have a requirement where in have to print addresses adjacent to each other in a PDF like the one below :&lt;br /&gt; &lt;br /&gt;&amp;lt;table&amp;gt;&lt;br /&gt; &amp;lt;tr&amp;gt;&lt;br /&gt; &amp;lt;td&amp;gt;&lt;br /&gt; Rakesh&lt;br /&gt; AH4, djhdfj&lt;br /&gt; Skdfjsfjk, sdjfhskdf&lt;br /&gt; Sdjfsdkfj,&lt;br /&gt; Chennai&lt;br /&gt; &amp;lt;/td&amp;gt;&lt;br /&gt; &amp;lt;td&amp;gt;&lt;br /&gt; Ramesh,&lt;br /&gt; Wdjflsdk,sdflsdf,&lt;br /&gt; Sdfksdl, wehksd&lt;br /&gt; Sdkjfskldf,&lt;br /&gt; Chennai&lt;br /&gt; &amp;lt;/td&amp;gt;&lt;br /&gt; &amp;lt;/tr&amp;gt;&lt;br /&gt; &amp;lt;tr&amp;gt;&lt;br /&gt; &amp;lt;td&amp;gt;&lt;br /&gt; Vasanth&lt;br /&gt; AK90, sdfjhdfjk,&lt;br /&gt; Dfigjdflgk, dlfkgdfkg,&lt;b...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007154</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007154M Radha</comments>
            <author/>
            <pubDate>Mon, 21 Apr 2008 07:34:17 MDT</pubDate>
        </item>
        <item uniqueID="31-007153">
            <title>How to substitue a DOM L2 method for getElementsByTagNameNS</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007153</link>
            <description>How to translate a DOM level 1 special method "org.w3c.dom.Element.getElementsByTagNameNS()" in DOM level 2? &lt;br /&gt; &lt;br /&gt;I have some code finished by j2sdk1.3.(As we known, j2sdk1.3 only support DOM level 1.) In these code, there is task finished by the method of "org.w3c.dom.Element.getElementsByTagNameNS()". &lt;br /&gt; &lt;br /&gt;Now we have updated our applications from j2sdk1.3 to j2sdk1.4. And now my JAXP support DOM level 2. So the method of "org.w3c.dom.Element.getElementsByTagNameNS()" can not get any NodeList. &lt;br /&gt; &lt;br /&gt;I have to post a new thread here hoping you can do me a favor. I only want to know how can I substitue a DOM level 2 special method for it? &lt;br /&gt; &lt;br /&gt;Your reply will be highly appreciated!</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007153</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007153Tom John</comments>
            <author/>
            <pubDate>Mon, 21 Apr 2008 01:20:16 MDT</pubDate>
        </item>
        <item uniqueID="31-007152">
            <title>beanUtils</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007152</link>
            <description>Dear All,&lt;br /&gt;i remembered that beanUtils from apache is useful whn i want to parse xml files to POJO Beans and deal with them directly. but i forget HOW :banghead: :banghead: ..is there anyone give me simple exmaple about that please.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007152</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007152hani Ibrahim</comments>
            <author/>
            <pubDate>Sun, 20 Apr 2008 04:02:32 MDT</pubDate>
        </item>
        <item uniqueID="31-007151">
            <title>XSD to Table Structure(Dojo Grid)</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007151</link>
            <description>I want to write a Java component to populate a table(Dojo grid) from a XML which will valid through a XML Schema (The XSD file ).That means I am having the .xsd file and have to create a table structure corresponding to the XML structure (That is .xsd file ).&lt;br /&gt; &lt;br /&gt;Can anybody help me on giving some idea how to convert a .xsd file to its corresponding table structure .</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007151</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007151Monoj Roy</comments>
            <author/>
            <pubDate>Thu, 17 Apr 2008 07:54:18 MDT</pubDate>
        </item>
        <item uniqueID="31-007150">
            <title>How to delete NameSpace for a sub child of org.jdom.Element?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007150</link>
            <description>Hi to all,&lt;br /&gt;iam applying a name space to a org.jdom.Element root element of my xml structure. It is comming fine as attribute to root element as xmlns:"http://www.loc.gov/MARC21/slim". But the same name space property is aaplying to direct childs of root element by xmlns=" " with empty string.&lt;br /&gt;I tried to remove the name space for direct childs as per my requirement.&lt;br /&gt;But it is not deleting. It is still existing with empty string for sub childs.&lt;br /&gt; &lt;br /&gt;Is there any posibility to remove the xmlns for direct childs and existing this for root element.&lt;br /&gt; &lt;br /&gt;If any buddy knows please help me.&lt;br /&gt;Thanks one and all.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007150</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007150sridhar bvap</comments>
            <author/>
            <pubDate>Thu, 17 Apr 2008 00:11:03 MDT</pubDate>
        </item>
        <item uniqueID="31-007150">
            <title>How to delete NameSpace for a sub child of org.jdom.Element?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007150</link>
            <description>Hi to all,&lt;br /&gt;iam applying a name space to a org.jdom.Element root element of my xml structure. It is comming fine as attribute to root element as xmlns:"http://www.loc.gov/MARC21/slim". But the same name space property is aaplying to direct childs of root element by xmlns=" " with empty string.&lt;br /&gt;I tried to remove the name space for direct childs as per my requirement.&lt;br /&gt;But it is not deleting. It is still existing with empty string for sub childs.&lt;br /&gt; &lt;br /&gt;Is there any posibility to remove the xmlns for direct childs and existing this for root element.&lt;br /&gt; &lt;br /&gt;If any buddy knows please help me.&lt;br /&gt;Thanks one and all.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007150</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007150sridhar bvap</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 11:31:01 MDT</pubDate>
        </item>
        <item uniqueID="31-007149">
            <title>How to use org.jdom.NameSpace in setAttribute() method of org.jdom.Element?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007149</link>
            <description>Hi to all,&lt;br /&gt; &lt;br /&gt;Iam building xml file.In that iam trying to create org.jdom.NameSpace in setAttribute() method of org.jdom.Element object. Iam getting runtime errors like illegal name.&lt;br /&gt;What exactly i want is i want to set "xmlns" as attribute name and "http://www.loc.gov/MARC21/slim" as attribute value. When iam directly creating that it is throwing exception that no attribute name should be xmlns in org.jdom.Element. That is why i approched to org.jdom.NameSpace. But iam not getting the way, how to set org.jdom.NameSpace in setAttribute method of org.jdom.Element object. I tried several ways but it is not comming.&lt;br /&gt;can any budy help me please.&lt;br /&gt;thanks to one and all.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007149</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007149sridhar bvap</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 11:27:01 MDT</pubDate>
        </item>
        <item uniqueID="31-007150">
            <title>How to delete NameSpace for a sub child of org.jdom.Element?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007150</link>
            <description>Hi to all,&lt;br /&gt;iam applying a name space to a org.jdom.Element root element of my xml structure. It is comming fine as attribute to root element as xmlns:"http://www.loc.gov/MARC21/slim". But the same name space property is aaplying to direct childs of root element by xmlns=" " with empty string.&lt;br /&gt;I tried to remove the name space for direct childs as per my requirement.&lt;br /&gt;But it is not deleting. It is still existing with empty string for sub childs.&lt;br /&gt; &lt;br /&gt;Is there any posibility to remove the xmlns for direct childs and existing this for root element.&lt;br /&gt; &lt;br /&gt;If any buddy knows please help me.&lt;br /&gt;Thanks one and all.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007150</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007150sridhar bvap</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 04:47:00 MDT</pubDate>
        </item>
        <item uniqueID="31-007149">
            <title>How to use org.jdom.NameSpace in setAttribute() method of org.jdom.Element?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007149</link>
            <description>Hi to all,&lt;br /&gt; &lt;br /&gt;Iam building xml file.In that iam trying to create org.jdom.NameSpace in setAttribute() method of org.jdom.Element object. Iam getting runtime errors like illegal name.&lt;br /&gt;What exactly i want is i want to set "xmlns" as attribute name and "http://www.loc.gov/MARC21/slim" as attribute value. When iam directly creating that it is throwing exception that no attribute name should be xmlns in org.jdom.Element. That is why i approched to org.jdom.NameSpace. But iam not getting the way, how to set org.jdom.NameSpace in setAttribute method of org.jdom.Element object. I tried several ways but it is not comming.&lt;br /&gt;can any budy help me please.&lt;br /&gt;thanks to one and all.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007149</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007149sridhar bvap</comments>
            <author/>
            <pubDate>Wed, 16 Apr 2008 00:13:00 MDT</pubDate>
        </item>
        <item uniqueID="31-007148">
            <title>can i use DOM.. to see if xml is well formed </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007148</link>
            <description>Hi&lt;br /&gt;I am getting a string from user and need to check whether its well formed &lt;br /&gt;( no need to validate against schema )&lt;br /&gt;for the same i am using the following code ... &lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; InputSource is = new InputSource(new StringReader("&amp;lt;ok&amp;gt;&amp;lt;/ok&amp;gt;")); // sax&lt;br /&gt; DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();&lt;br /&gt; DocumentBuilder domBuilder;&lt;br /&gt; try {&lt;br /&gt; domBuilder = domFactory.newDocumentBuilder();&lt;br /&gt; domBuilder.parse(is);&lt;br /&gt; } catch (ParserConfigurationException e) {&lt;br /&gt; e.printStackTrace();&lt;br /&gt; } catch (SAXException e) {&lt;br /&gt; e.printStackTrace();&lt;br /&gt; } catc...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007148</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=31&amp;t=007148</comments>
            <pubDate>Tue, 15 Apr 2008 07:07:20 MDT</pubDate>
        </item>
    </channel>
</rss>
