XSL/XSLT (558レス)
XSL/XSLT http://medaka.5ch.io/test/read.cgi/php/999654569/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
462: nobodyさん [sage] 2006/07/11(火) 20:46:36 ID:??? a and b http://medaka.5ch.io/test/read.cgi/php/999654569/462
463: nobodyさん [] 2006/07/12(水) 09:47:10 ID:CjrVtdTv <Arguments> <Argument Name="Service" Value="" /> <Argument Name="AssociateTag" Value="test" /> <Argument Name="ItemPage" Value="1" /> </Arguments> xsl:value-of selectを使って、testの値だけ抜き出したいのですが、 どのように書けばいいんでしょうか? http://medaka.5ch.io/test/read.cgi/php/999654569/463
464: nobodyさん [sage] 2006/07/12(水) 11:36:40 ID:??? たまたま弄ってた所だから特別に教えてやる Arguments/Argument[@Name='AssociateTag']/@Value 入門書くらい買え ちがってたらゴメンネ http://medaka.5ch.io/test/read.cgi/php/999654569/464
465: nobodyさん [] 2006/07/13(木) 16:00:41 ID:Lxav0c83 >>464 どうもありがとうございます。 うまくいきました! http://medaka.5ch.io/test/read.cgi/php/999654569/465
466: nobodyさん [] 2006/07/13(木) 17:27:49 ID:Lxav0c83 document関数は外部のサイトも取得できるんでしょうか? http://medaka.5ch.io/test/read.cgi/php/999654569/466
467: nobodyさん [sage] 2006/07/13(木) 18:25:06 ID:??? やってみよう! わからなかったら聞いてみよう! わかったことはみんなに知らせよう! いけ! http://medaka.5ch.io/test/read.cgi/php/999654569/467
468: nobodyさん [] 2006/07/14(金) 20:02:42 ID:BpYZj7V/ がんばって見た結果、たぶんできるっぽいです。 ところで <xsl:for-each select="document('http://test.xml') 見たいにurlを入力したとき、urlに=だとか&だとかが入っているとエラーが出てしまいます。 どうやって書けばいいんでしょうか? http://medaka.5ch.io/test/read.cgi/php/999654569/468
469: nobodyさん [] 2006/07/14(金) 21:29:08 ID:MY15XHq0 &は&だったかな。?だったかもしれない。 =はそのままでよかった気がする。 ttp://www.ne.jp/asahi/minazuki/bakera/html/reference/charref http://medaka.5ch.io/test/read.cgi/php/999654569/469
470: nobodyさん [sage] 2006/07/14(金) 21:30:47 ID:??? すまん、参照がともに変換されてしまったorz 示したURLのページをもとにがんばってくれ。 http://medaka.5ch.io/test/read.cgi/php/999654569/470
471: nobodyさん [] 2006/07/14(金) 23:47:41 ID:BpYZj7V/ >>470 ありがとうございます http://medaka.5ch.io/test/read.cgi/php/999654569/471
472: nobodyさん [age] 2006/07/22(土) 10:37:07 ID:??? xml文章の中から、ユーザー側から入力した条件を元に、 検索して結果を表示するようなことは、xslのみで実現するのは可能でしょうか? postができなそうなのでやっぱり不可能でしょうか? http://medaka.5ch.io/test/read.cgi/php/999654569/472
473: nobodyさん [sage] 2006/07/23(日) 00:28:31 ID:??? xslのみ の意味がわからない http://medaka.5ch.io/test/read.cgi/php/999654569/473
474: nobodyさん [sage] 2006/07/23(日) 00:29:42 ID:??? >>472 CGIでやるなら、いまのところCGIからXSLTプロセッサを呼び出すしかない。 http://medaka.5ch.io/test/read.cgi/php/999654569/474
475: 472 [sage] 2006/07/23(日) 09:47:44 ID:??? >>474 やっぱそうなりますよね。 xml文章中の特定の語句を検索して表示するような、 スクリプトが紹介されていたので、 postができれば検索システムも作れるそうだなと思った次第です。 >>473 xslって簡易プログラミング言語みたいなものだと思っていたので、 変な言い方だったらすみません。 http://medaka.5ch.io/test/read.cgi/php/999654569/475
476: nobodyさん [] 2006/07/24(月) 14:48:21 ID:uSZzoH8+ 文字列をエンコードする関数って どんなのがありますか? http://medaka.5ch.io/test/read.cgi/php/999654569/476
477: nobodyさん [sage] 2006/07/25(火) 01:05:04 ID:??? postされたデータを使ってXSLTを作り変換すれば? xsl:if の test 部分をpostされたデータにすれば出来そうな気がする http://medaka.5ch.io/test/read.cgi/php/999654569/477
478: nobodyさん [] 2006/08/02(水) 19:55:15 ID:qF5sPr3L document関数でurlを指定するとき、xsl:variable nameはつかえないんでしょうか? <xsl:variable name="●●">○○.xml</xsl:variable> <xsl:for-each select="document($●●)/▲▲/■■"> </xsl:for-each> こんな感じで入力すると、$●●に○○.xmlが入らずに $●●のままなんですが・・・ http://medaka.5ch.io/test/read.cgi/php/999654569/478
479: nobodyさん [] 2006/08/02(水) 20:13:17 ID:qF5sPr3L >>478 すいません自己解決しました。 http://medaka.5ch.io/test/read.cgi/php/999654569/479
480: nobodyさん [sage] 2006/08/06(日) 02:13:08 ID:??? >>479 自己解決したら、解決法かけや http://medaka.5ch.io/test/read.cgi/php/999654569/480
481: nobodyさん [sage] 2006/08/17(木) 06:59:21 ID:??? すみません、XML で特定の条件に一致する要素だけにちょっとした変更を 加えたいのですが、それ以外の要素を無変換で出す処理はどう書けば良いの でしょうか? 例えば XML 中の password という要素の内容をマスクする場合: <xsl:template match="/"> <xsl:apply-templates /> </xsl:template> <xsl:template match="*"> <xsl:choose> <xsl:when test="name(.)='password'"> <password>****</password> </xsl:when> <xsl:otherwise> <xsl:element name="(ここはどうすれば?)"> <xsl:for-each select="@*"> <xsl:attribute name="(ここはどうすれば?)"><xsl:value-of select="." /></xsl:attribute> </xsl:for-each> <xsl:apply-templates select="node()" /> </xsl:element> </xsl:otherwise> </xsl:choose> </xsl:template> http://medaka.5ch.io/test/read.cgi/php/999654569/481
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 77 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.008s