Найденные страницы с тегом dom4j всего 160

Как получить конкретное имя поля XML-файла в JAVA? – 2 Ответа

Используйте dom4j. Вот пример кода, который может вам помочь: .i2a { width: 336px; height:... Вопрос по теме: java, xml, xml-parsing, stax.

Как разобрать XML (Fogbugz XML API)? – 1 Ответ

Я предлагаю вам использовать некоторую библиотеку XML DOM, такую ​​как XOM или Dom4j. Вам будет... Вопрос по теме: android, xml, fogbugz.

Android 1.5 и dom4j - имена атрибутов анализируются некорректно – 1 Ответ

У меня такая же проблема при запуске моего приложения на эмуляторе Android 2.1. Хотя для 2.2 он... Вопрос по теме: java, android, dom, attributes, dom4j.

What Java XML library do you recommend (to replace dom4j)? [closed]

What Java XML library do you recommend (to replace dom4j)? [closed] xml

What Java XML library do you recommend (to replace dom4j)? [closed]

What Java XML library do you recommend (to replace dom4j)? [closed] xml

Using Xpath in Dom4j

Using Xpath in Dom4j xml

[Solved] Huge XML file: Do I read a "page" and process it each time? - Local Coder

I need to process a huge XML file, 4G. I used dom4j SAX, but wrote my own DefaultElementHandler. Code framework as below: SAXParserFactory sf = SAXParserFactory.newInstance(); S

[Solved] dom4j SAXReader - stop parsing - Local Coder

I am parsing an XML file with SAXReader and would like to stop after a certain amount of time (timeout) in case the file is too large. At a high level, I would like to throw a SAXE

[Solved] Dom4j selectNodes(arg) don't give list of nodes - Local Coder

I am using DOM4j for XML work in java, my xml is like this: <?xml version='1.0' encoding='UTF-8' standalone='no' ?> <abcd name='ab.catalog' xmlns='http://www.xyz.com/pqr

[Solved] DOM4J: retrieve value of a node filtering by attribute value - Local Coder

I have a given xml structured like this: <elem> <val id='1'>aaa</val> <val id='2'>bbb</val> </elem> With SAXReader (DOM4J), how can I

[Solved] XPATH problem with dom4j - Local Coder

I am using dom4j to overwrite a value in the XML. The XML looks like this: <start> <name color='blue' time='555555'> <element1 param='1'>

[Solved] How can I insert a node before an other using dom4j? - Local Coder

I have a org.dom4j.Document instance that is a DefaultDocument implementation to be specific. I would like to insert a new node just before an other one. I do not really understand

[Solved] How efficient is XPath compared to using DOM in Dom4J? - Local Coder

For example consider the following xml <root> <childNode attribute1='value1'> <grandChildNode attrib1='val1' attrib2='val2'>some content1 </grandCh

[Solved] Using Xpath in Dom4j - Local Coder

I get the following exception when trying to access any nodes of a parsed xml document on dom4j: Exception in thread 'main' java.lang.NoClassDefFoundError: org/jaxen/JaxenExceptio

[Solved] java.lang.NoClassDefFoundError: org/dom4j/Document - Local Coder

I have a class called XMLtoXML.java and this is one of it's methods... import org.dom4j.Document; import org.dom4j.Element; import org.dom4j.Node; import org.dom4j.io.OutputFormat;

[Solved] java.lang.ClassNotFoundException: org.dom4j.DocumentException - Local Coder

I made some code to learn hibernate. It is throwing the error below. How do I find out what the problem is and fix it ? dom4j sounds like an XML problem. hibernate.cfg.xml is the p

[Solved] Caused by: java.lang.ClassNotFoundException: org.dom4j.io.STAXEventReader - Local Coder

I am developing a web service application but sessionFactory bean is not creating because of below error. I can't see duplicate or conflict version of dom4j jar. I tried various ti

[Solved] How to make Ant prefer classes from a linked JAR over JDK classes? - Local Coder

I am trying to build the dom4j JAR, which includes an xml-apis JAR which contains a DOM API that is older than that shipped with more recent JDKs. However, even though in the build

[Solved] What Java XML library do you recommend (to replace dom4j)? - Local Coder

I'm looking for something like dom4j, but without dom4j's warts, such as bad or missing documentation and seemingly stalled development status. Background: I've been using and advo

[Solved] convert dom4j docment to W3c document - Local Coder

i'm need to convert an xml build with dom4j to w3c document and don't have any idea about how do it...

[Solved] Can I exclude an exported package from a Java module? - Local Coder

Modules jta and java.sql export package javax.transaction.xa to module dom4j As you can see, both modules jta and java.sql export the same package, javax.transaction.xa. However

[Solved] expand Jtree at last modified area? - Local Coder

I am using dom4j to create a DocumentTreeModel from a dom4j document. I display this DocumentTreeModel inside JScrollPane. I have a button that adds a new node to the dom4j documen

[Solved] Problem with conversion of org.dom4j.Document to org.w3c.dom.Document and XML Signature - Local Coder

I have some classes that already use DOM4J to read XML files and provide getter methods to the data. Now, I need to add the possibility of checking XML digital signatures. Using o

[Solved] Using dom4j DOMDocument to feed validator.validate(DOMSource) fails in java 1.6 (xsi:noNamespaceSchemaLocation is not allowed), works in 1.5 - Local Coder

Using dom4j DOMDocument to feed validator.validate(DOMSource) fails in java 1.6 (with xsi:noNamespaceSchemaLocation is not allowed to appear in root element), works in 1.5 I'm find

[Solved] XPath contains(text(),'some string') doesn't work when used with node with more than one Text subnode - Local Coder

I have a small problem with Xpath contains with dom4j ... Lets say my XML is <Home> <Addr> <Street>ABC</Street> <Number>5</Num