タグ

XMLに関するmoozのブックマーク (25)

  • Simple API for XML - Wikipedia

    Simple API for XML(SAX、サックス)とは、XML文書をアプリケーションソフトウェアから利用するためのAPI。 概要[編集] DOM API が、W3Cから勧告されたのに対して、SAX API は、XML-DEVメーリングリスト有志により策定された。そして、DOMに並ぶ標準規格としての地位を固めている。 XML文書を木構造として扱うDOMと異なり、一連のイベントとして表現するイベント駆動型のAPIである。したがって、アプリケーションソフトウェアが積極的にAPIにアクセスするDOMに対し、SAXではアプリケーションソフトウェアがイベントが来るのを待ち受ける受動的な動作が大部分を占める。 伝統的なストリームと同様に入力されたデータを次々とバトンタッチさせるような設計が可能となるため、メモリを節約でき、並列処理にも適している。XMLを読み込み、Javaのオブジェクトに変換すると

    mooz
    mooz 2014/05/14
    ストリーム的にシーケンシャルアクセスする場合に適す。ランダムアクサスなら DOM API の方がよい。
  • Galax: An Implementation of XQuery

    What is Galax? Galax is an open-source implementation of XQuery, the W3C XML Query Language. It includes several advanced extensions for XML updates, scripting, and distributed programming. Galax comes with a state of the art compiler and optimizer. Most of Galax's architecture is formally documented, making it ideal for users interested in teaching XQuery, in building new language extensions, or

    mooz
    mooz 2012/03/10
    OCaml で書かれた Xquery 処理系
  • YFilter

    mooz
    mooz 2011/12/07
    XML データストリームに対してマッチング.AC 法的なことをやる.問合せは XQuery で.
  • ある日のTwitterのタイムラインをまとめてみた

    This Page has moved to a new address: kunishi’s blog: ある日のTwitterのタイムラインをまとめてみた Sorry for the inconvenience… Redirection provided by Blogger to WordPress Migration Service

    mooz
    mooz 2011/11/14
    XML Database
  • HTML 5: Is it <br>, <br/>, or <br />?

    Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. Learn more about Teams

    HTML 5: Is it <br>, <br/>, or <br />?
    mooz
    mooz 2011/08/28
    コンテンツが application/xhtml+xml で送信されない限り,ブラウザは HTML として解釈しようとする.そのため text/html で <br /> などの表記はマズい.
  • Database Platform to Simplify Complex Data | Progress Marklogic

    Data PlatformAccelerate data, AI and analytics projects, manage costs and deliver enterprise growth with the Progress Data Platform. Digital ExperienceReal solutions for your organization and end users built with best of breed offerings, configured to be flexible and scalable with you. Infrastructure ManagementProgress infrastructure management products speed the time and reduce the effort require

    Database Platform to Simplify Complex Data | Progress Marklogic
    mooz
    mooz 2011/04/21
    XML Database
  • Push, Pull, Next!

    mooz
    mooz 2011/04/06
    XML の Push / Pull Parsing. について
  • XML - Wikipedia

    Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. The World Wide Web Consortium's XML 1.0 Specification[2] of 1998[3] and several other related specifications[4]—all of them free open standards—define XML.[5

    XML - Wikipedia
    mooz
    mooz 2011/04/06
    XML の Pull Parsing. について
  • Using multiple DTDs - Archive of obsolete content | MDN

    mooz
    mooz 2010/12/19
    複数の DTD を一つの文書中で使う
  • Xerces-C++ XML Parser

    Xerces-C++ is a validating XML parser written in a portable subset of C++. Xerces-C++ makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs. For an introduction to programming with Xerces-C++ refer to the Programming Guide. Xerces-C++ is faithf

    mooz
    mooz 2010/10/21
    C++ 用 XML パーサ.
  • 変なJavaScript (+ E4X) - hogehoge @teramako

    最近、E4X の勉強をしている(仕様はStandard ECMA-357ね) ご存知の通り(?) Mozilla の JavaScript *1には E4X が使えるのだが、いろいろ罠チックなものがあったり、ECMAScriptの仕様を壊してしまっていたりと面白い(ぉ const XHTML = new Namespace("xhtml", "http://www.w3.org/1999/xhtml"), LANG_JA = new Namespace("ja", "http://example.com/ja"), LANG_EN = new Namespace("en", "http://example.com/en"); default xml namespace = XHTML; var xml = <root xmlns:ja={LANG_JA} xmlns:en={LANG_EN

    変なJavaScript (+ E4X) - hogehoge @teramako
    mooz
    mooz 2010/08/15
    E4X のはまりポイントや不思議な挙動を. function 名前空間.
  • javascript:function::['alert'](1) は何故動く?

    解答は↓の様だが... http://nanto.asablo.jp/blog/2007/04/22/1459018 とりあえず、"function"という特殊な名前空間があるらしいことは分かった

    javascript:function::['alert'](1) は何故動く?
    mooz
    mooz 2010/07/25
    SpiderMonkey の function 名前空間. new Namespace("@mozilla.org/js/function")
  • E4X in Firefox 発表資料: Days on the Moon

    Mozilla Party JP 8.0 に講師として参加させていただきました。以下はプレゼンテーション用のスライドです。 E4X in Firefox (PDF) E4X in Firefox (HTML) OnpenOffice.org 2.0 の Impress を使って作ったのですが、私のノート PC のディスプレイ接続がうまくいかず、お借りしたマシンに入っていた OpenOffice.org 2.1/2.2 ではなぜか実行途中にフリーズするので、PDF にエクスポートしたものを用いました。 また、発表は 25 分の枠だったのですが、最初に練習したときは 1 時間かかってしまい、話す内容をいろいろと削ったものの、結局枠ぎりぎりまで使い切ってしまって、質疑応答の時間をとることができませんでした。もし何か聞きたいことがあったという方がいらっしゃれば、このコメント欄にお願いします。 それ

    mooz
    mooz 2010/07/25
    E4X. SpiderMonkey 独自拡張の function 名前空間.
  • SOAP (プロトコル) - Wikipedia

    SOAP(ソープ)は、コンピュータネットワーク内のWebサービスの実装において、構造化された情報を交換するための通信プロトコルの仕様である。拡張性、中立性、独立性を導入することを目的とする。XML-RPCから発展した、XML Webサービスのための、XMLベースのRPCプロトコルである。 メッセージ形式としてXMLインフォメーションセットを使用する。また、メッセージのネゴシエーションおよび伝送はアプリケーション層のプロトコル(多くの場合HTTPまたはSMTP)に依存する。 SOAPにより、全く異なるオペレーティングシステム(例えばWindowsLinux)上で走っているプロセス間でもXMLを使って意思疎通が可能になる。HTTPのようなWebプロトコルは全てのオペレーティングシステムにインストールされて走っているので、SOAPの仕組みを使えば、クライアントはその言語やプラットフォームが何で

    SOAP (プロトコル) - Wikipedia
    mooz
    mooz 2010/07/18
    RPC プロトコル. XML に基づく.
  • XML-RPC - Wikipedia

    XML-RPCとは、遠隔手続き呼出し (RPC) プロトコルの一種であり、エンコード(符号化)にXMLを採用し、転送機構にHTTPを採用している。非常に単純なプロトコルで、少数のデータ型やコマンドだけを定義しているだけであり、その仕様は2枚の紙にまとめられる。これは多くのRPCシステムが膨大な量の規格を規定し、実装に多量のプログラミングを要することに比べると、際立った特徴と言える。 1998年、ユーザーランド・ソフトウェアがマイクロソフトと共同で開発した。その後、これに新たな機能を追加したものがSOAPへと発展した。しかし、SOAP よりも単純で扱いやすいXML-RPCを好む人もいる。 類似の RPCプロトコルとして JSON-RPC がある。 データ型[編集] <array> <data> <value><i4>1404</i4></value> <value><string>Somet

    mooz
    mooz 2010/07/18
    RPC プロトコル. エンコードに XML を使用. 転送には HTTP を採用. 後に SOAP へと発展.
  • E4X traps - ellaneous

    散々ハマった後でようやく原典に当たった。そのメモ。 toString p.innerHTML += <b>NG</b> p.innerHTML += <b>NG</b>.toString() p.innerHTML += <b>OK</b>.toXMLString() XML.prototype.toString = function toString() this.hasSimpleContent() ? this.text().toString() : this.toXMLString(); hasSimpleContent() かどうかで挙動が変わる。 replace <_>OK</_>.replace('*', 'NG') <_>OK</_>.toString().replace('*', 'NG') javascript:alert([<_>OK</_>.replace('*',

    E4X traps - ellaneous
    mooz
    mooz 2010/06/13
    E4X ではまりやすいところ. 罠.
  • https://rephrase.net/days/07/e4x

    mooz
    mooz 2010/06/11
    E4X の使い方まとめ.
  • JSONPath - XPath for JSON

    [edit] [comment] [remove] |2007-02-21| e1 # JSONPath - XPath for JSON A frequently emphasized advantage of XML is the availability of plenty tools to analyse, transform and selectively extract data out of XML documents. XPath is one of these powerful tools. It's time to wonder, if there is a need for something like XPath4JSON and what are the problems it can solve. Data may be interactively found

    mooz
    mooz 2010/05/28
    JSON に適用できる XPath のようなもの.
  • neat sxml

    (html (head (title "sxml")) (body (@ (bgcolor "blue") (text "white")) (center (b "Hello.")))) <html> <head><title>sxml</title></head> <body bgcolor="blue" text="white"> <center><b> Hello.</b></center> </body> </html> 左の SXML を変換すると 右の XML になるということです. 要素は list の car, 内容は cdr, 属性は @ に続く cdr, という感じです. 閉じタグが無い分だけ, コード量も削減できますね. SXML から XML を生成するコードも Oleg さんの site にありますけど, 結構いろいろ複 雑なことやっている上に, 単純に変換

  • E4XとDOM - prog*sig

    マイミクのページから直接「足あと」を消せる、グリースモンキー - IT戦記 人力検索はてなをちょっとだけ便利にするグリモンを作った - Cherenkovの暗中模索にっき Firebugで作るGreasemonkeyスクリプト~入門と実践(From Kanasan.JS) | Blog.37to.net toStringしたものをreplaceで置換してinnerHTML Greasemonkeyによるアプリケーション開発:第2回 Greasemonkeyでカレンダアプリを作ってみる:まずはシンプルに。|gihyo.jp … 技術評論社 toSourceしてinnerHTML E4XのリテラルXMLでの式評価 - 0x廃棄階層 - 統治局 E4X の変数展開 深追い (1) - てっく煮ブログ E4X の変数展開 深追い (2) - てっく煮ブログ E4Xの変数展開を理解 E4XのD

    mooz
    mooz 2010/01/29
    E4X 関連の記事へのまとめ