<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ditahack</author_name>
  <author_url>https://blog.hatena.ne.jp/ditahack/</author_url>
  <blog_title>文書遊戯</blog_title>
  <blog_url>https://ditahack.hatenadiary.org/</blog_url>
  <categories>
    <anon>DITA</anon>
  </categories>
  <description>原因はわかりませんが、ワークアラウンドはわかりました。 修正前 &lt;xsl:when test=&quot;$collectionType&quot;&gt; 修正後 &lt;xsl:when test=&quot;string-length($collectionType)&gt;0&quot;&gt; 修正前のコードは、$collectionTypeの値が空文字列ならば、条件式がfalseに評価されるはずです。しかし、なぜか$collectionTypeの値が空文字列でも条件式がtrueになって、この条件式のブロックのコードが実行されます。 修正後のコードでは、$collectionTypeの文字列長をみて、文字列長が0のときにこの条件式のブロックが実行…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fditahack.hatenadiary.org%2Fentry%2F20090408%2F1239195285&quot; title=&quot;自己レス：XSLTで変数の値が正しく設定されない - 文書遊戯&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-04-08 21:54:45</published>
  <title>自己レス：XSLTで変数の値が正しく設定されない</title>
  <type>rich</type>
  <url>https://ditahack.hatenadiary.org/entry/20090408/1239195285</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
