Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by phknox

  1. phknox

    attribute problem - using &id in attribute value

    I'm using the default encoding for JDOM which is UTF-8. The declaration is: <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?> phknox
  2. phknox

    attribute problem - using &amp;id in attribute value

    uh oh.....it seems my fix does not show correctly (I guess I should have Previewed the post before I submitted). The fix is '& amp;' without the space. phknox
  3. phknox

    attribute problem - using &amp;id in attribute value

    ok, I found a fix....still not sure what's going on, but at least it's working now. If I replace '&' with '&amp;' the webapp works fine and the url's work, too. phknox
  4. phknox

    attribute problem - using &amp;id in attribute value

    Thanks harebrain....it partially works. At least I can read the xml file now. Apparently, though, the urls aren't decoding properly because the links do not work. In the xml file, I replaced the & with %26. My servlet can now read the xml file and build the webpage. When I mouse over the...
  5. phknox

    attribute problem - using &amp;id in attribute value

    I have an element with attributes as shown: <item_name avail=&quot;false&quot; url=&quot;http://www.moodypress.org/bls/products.php?action=show_product&id=1198&quot;>2004 One-page, dated pages for planner</item_name> I use JDOM to read and write my xml files. However, I need to manually...

Part and Inventory Search

Back
Top