<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Olen Onnellinen 2 &#187; XML</title>
	<atom:link href="http://blog.magellanic.net/archives/category/xml/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.magellanic.net</link>
	<description>さまようITエンジニア「こしあん」の日記です。システム開発から資格試験、ゲーム、ライトノベルまで何でもありの雑記。</description>
	<lastBuildDate>Fri, 30 Jul 2010 05:06:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>XMLを設計するときに考えること</title>
		<link>http://blog.magellanic.net/archives/115</link>
		<comments>http://blog.magellanic.net/archives/115#comments</comments>
		<pubDate>Mon, 10 Nov 2008 12:12:51 +0000</pubDate>
		<dc:creator>koshian</dc:creator>
				<category><![CDATA[XML]]></category>
		<category><![CDATA[SAX]]></category>

		<guid isPermaLink="false">http://blog.magellanic.net/?p=115</guid>
		<description><![CDATA[				XMLの話。
				SAXでパースしていると、結構面倒なことになるのが、要素の内容を取得する処理です。
				こんなの。
				
				
				&#160;&#60;tag&#62;この文字列を取得したい&#038; [...]]]></description>
			<content:encoded><![CDATA[				<p>XMLの話。</p>
				<p>SAXでパースしていると、結構面倒なことになるのが、要素の内容を取得する処理です。<br />
				こんなの。</p>
				<div class="src">
				<ol class="hl-main">
				<li>&nbsp;<span class="hl-brackets">&lt;</span><span class="hl-reserved">tag</span><span class="hl-brackets">&gt;</span><span class="hl-code">この文字列を取得したい</span><span class="hl-brackets">&lt;/</span><span class="hl-reserved">tag</span><span class="hl-brackets">&gt;</span></li>
				</ol>
				</div>
				<p>まあこれはシンプルな要素なのでたいしたことないのですが、要素が子要素を持ったりと複雑になってくるとめんどいのです。<br />
				パーサの選択も重要ですが、XMLのスキーマ設計も大切ですよ、と。</p>
				<p>反省しました。</p>
				<p>【参考】<br />
				<a href='http://www.ogis-ri.co.jp/otc/hiroba/technical/UML2XML/'>UML による XML 設計ガイド</a><br />
				<a href='http://www.ibm.com/developerworks/jp/xml/library/x-xjavaforum6.html'>XML と Java 技術: 基本に戻る</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.magellanic.net/archives/115/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
