发明申请
- 专利标题: EMBEDDING EXPRESSIONS IN XML LITERALS
- 专利标题(中): 嵌入式XML表达式表达式
-
申请号: US12955680申请日: 2010-11-29
-
公开(公告)号: US20110072413A1公开(公告)日: 2011-03-24
- 发明人: Henricus Johannes Maria Meijer , David N. Schach , Avner Y. Aharoni , Peter F. Drayton , Brian C. Beckman , Amanda Silver , Paul A. Vick
- 申请人: Henricus Johannes Maria Meijer , David N. Schach , Avner Y. Aharoni , Peter F. Drayton , Brian C. Beckman , Amanda Silver , Paul A. Vick
- 申请人地址: US WA Redmond
- 专利权人: MICROSOFT CORPORATION
- 当前专利权人: MICROSOFT CORPORATION
- 当前专利权人地址: US WA Redmond
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
An architecture that that extends conventional computer programming languages that compile into an instance of an extensible markup language (XML) document object model (DOM) to provide support for XML literals in the underlying programming language. This architecture facilitates a convenient short cut by replacing the complex explicit construction required by conventional systems to create an instance of a DOM with a concise XML literal for which conventional compilers can translate into the appropriate code. The architecture allows these XML literals to be embedded with expressions, statement blocks or namespaces to further enrich the power and versatility. In accordance therewith, context information describing the position and data types that an XML DOM can accept can be provided to the programmer via, for example, an integrated development environment. Additionally, the architecture supports escaping XML identifiers, a reification mechanism, and a conversion mechanism to convert between collections and singletons.
公开/授权文献
- US08533693B2 Embedding expressions in XML literals 公开/授权日:2013-09-10