English 中文(简体)
XOM Sc子
原标题:XOM analogue for Scala?
  • 时间:2011-02-26 17:11:46
  •  标签:
  • xml
  • scala
  • xom

是否有Schala的XML处理图书馆“努力纠正、简化和履约,in that order,如同XOM用于 Java? (Scala XML 并非一种选择)

最佳回答

The only alternative XML library for Scala as far as I know is anti-xml, which is an effort started not two weeks ago. It is not really useful for anything right now, but you can at least try to influence its development if you find it worthy.

问题回答

在其他情况下,。 Xml是XOM最喜欢的,事实上其正确性延伸到QNames直接建模,与DOM和Pul Parsing分享模型,甚至纠正日本宇宙航空研究开发机构在编序上的错误(坏数据分类等)。

它比Schala Xml更快,同时减少了记忆的使用。

不过,我并不相信简单,因为这主要取决于用户的观点。 然而,通过更好地利用类型系统和为大多数树木处理提供XPath Dsl,它确实努力做到简单。

它对大多数xml处理方法采取截然不同的做法,反Xml则认为与Schala Xml非常相似。

Why dont you simply wrap the absolutely excellent XOM with implicit conversions and such? Yes, it won t give you scala s XML-native-syntax style out of the box...





相关问题
how to represent it in dtd?

I have two element action and guid. guid is a required field when action is add. but when action is del it will not appear in file. How to represent this in dtd ?

.Net application configuration add xml-data

I need to add xml-content to my application configuration file. Is there a way to add it directly to the appSettings section or do I need to implement a configSection? Is it possible to add the xml ...

XStream serializing collections

I have a class structure that I would like to serialize with Xstream. The root class contains a collection of other objects (of varying types). I would like to only serialize part of the objects that ...

MS Word splits words in its XML format

I have a Word 2003 document saved as a XML in WordProcessingML format. It contains few placeholders which will be dynamically replaced by an appropriate content. But, the problem is that Word ...

Merging an XML file with a list of changes

I have two XML files that are generated by another application I have no control over. The first is a settings file, and the second is a list of changes that should be applied to the first. Main ...

How do I check if a node has no siblings?

I have a org.w3c.dom.Node object. I would like to see if it has any other siblings. Here s what I have tried: Node sibling = node.getNextSibling(); if(sibling == null) return true; else ...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

热门标签