XSL/XSLT (558レス)
XSL/XSLT http://medaka.5ch.io/test/read.cgi/php/999654569/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
533: nobodyさん [sage] 2009/04/17(金) 04:58:20 ID:??? 自宅サーバ用に XSLT サーブレット作ったんで良かったら使ってください。 sourceforge.jp でソース公開してます。 http://www.koiroha.org/kwt/xsl/index.xhtml http://medaka.5ch.io/test/read.cgi/php/999654569/533
534: nobodyさん [] 2010/01/11(月) 13:37:58 ID:x+0DsgF/ 保守 http://medaka.5ch.io/test/read.cgi/php/999654569/534
535: nobodyさん [age] 2010/01/14(木) 11:50:46 ID:??? 良スレ上げ (∩´∀`)∩ http://medaka.5ch.io/test/read.cgi/php/999654569/535
536: nobodyさん [] 2010/08/26(木) 10:38:32 ID:CJC7O04v <良スレ:age /> 既に前レスから半年、ここ、まだ誰かいるかなぁ XSLTで、例えば元データにaltタグが無ければ変換をエラーにするといったことは出来るのでしょうか? 簡易html-lintとして使えると嬉しいっす http://medaka.5ch.io/test/read.cgi/php/999654569/536
537: nobodyさん [sage] 2010/08/26(木) 13:46:34 ID:??? そういうのはXMLバリデータの仕事なんじゃ http://medaka.5ch.io/test/read.cgi/php/999654569/537
538: nobodyさん [sage] 2012/02/29(水) 07:12:13.10 ID:??? 質問です。 ?のような構造のXMLがあり、 ?に従うデータが?のような形できます。 ?において、Aは親で、BはAの子、 CはBの子となっており、?のような形に変換したいです。 このときxsltではどのようにかけばよろしいでしょうか? ???のイメージは次レスで書きます。 http://medaka.5ch.io/test/read.cgi/php/999654569/538
539: nobodyさん [age] 2012/02/29(水) 07:12:37.26 ID:??? -----------?---------- <choice> <element type="A"> <element type="B"> <element type="C"> <choice> -----------?----------- <A> <B> <C> <C> <B> <B> <C> -----------?----------- <A> <B> <C></C> <C></C> </B> <B></B> <B> <C></C> </B> </A> http://medaka.5ch.io/test/read.cgi/php/999654569/539
540: nobodyさん [sage] 2012/03/04(日) 02:16:44.31 ID:??? いまいち何がやりたいんだかよく分からないけど XMLじゃないデータ (2) をXMLであるデータ (3) に変換したいってこと? だったらそれはXSLTの仕事ではない http://medaka.5ch.io/test/read.cgi/php/999654569/540
541: nobodyさん [] 2012/09/13(木) 16:58:26.02 ID:2LiGXsgg xmlのツリーに、いくつものbookDescriptionがあります。 <table> <bookDescription> <bookCode> <price>100<price> </bookCode> <title>X</title> 〜〜〜 </bookDescription> </table> な感じで、bookDescriptionをpriceでascendingで表示したいと思います。 xsltで<xsl:sort select="bookCode/price" order="ascending"/>を入れるとエラーが出でしまいます。 http://medaka.5ch.io/test/read.cgi/php/999654569/541
542: nobodyさん [] 2012/09/13(木) 16:59:36.50 ID:2LiGXsgg <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <html> <xsl:apply-templates /> </html> </xsl:template> <xsl:template match="table"> <body> <h2>Test</h2> <xsl:apply-templates/> </body> </xsl:template> <xsl:template match="bookDescription"> <!--<xsl:sort select="bookCode/price" order="ascending"/>--> </xsl:template> <xsl:template match="bookDescription"> <table border="1"> <tr> <td><xsl:value-of select="bookCode"/></td> <td><xsl:value-of select="title"/></td> </tr> </table> <br /> </xsl:template> </xsl:stylesheet> どうすればいいのでしょうか? http://medaka.5ch.io/test/read.cgi/php/999654569/542
543: nobodyさん [sage] 2012/09/14(金) 01:56:17.60 ID:??? にーとがひまつぶしに実験したので間違えてる可能性大ですが こう書くとエラー無くそれらしく表示されました <xsl:template match="table"> <body> <h2>Test</h2> <xsl:apply-templates> <xsl:sort select="bookCode/price" order="ascending"/> </xsl:apply-templates> </body> </xsl:template> http://medaka.5ch.io/test/read.cgi/php/999654569/543
544: nobodyさん [] 2012/09/14(金) 06:24:33.02 ID:B4mrueCy >>543 無事できました。 ありがとうございます。 http://medaka.5ch.io/test/read.cgi/php/999654569/544
545: nobodyさん [sage] 2014/01/15(水) 12:22:25.95 ID:??? XSL/XSLT http://medaka.5ch.io/test/read.cgi/php/999654569/545
546: nobodyさん [sage] 2014/01/22(水) 10:21:56.60 ID:??? XSL http://medaka.5ch.io/test/read.cgi/php/999654569/546
547: nobodyさん [] 2014/06/29(日) 13:39:21.42 ID:dCDFM+DD ◎2chスレッド勢いランキングサイトリスト◎ ★+ニュース板 ・ 2NN (推薦) ・ 2chTimes ★+ニュース板新着 ・ 2NN新着 ・ Headline BBY ・ unker Headline ★+ニュース板その他 ・ Desktop2ch ・ 記者別一覧 ★全板 ・ 全板縦断勢いランキング (推薦) ・ スレッドランキング総合ランキング ・ ログ速 ★全板実況込み ・ 2勢 (推薦) ・ READ2CH ・ i-ikioi ※ 要タイトル名検索 ※ 2chブラウザ併用推奨 http://medaka.5ch.io/test/read.cgi/php/999654569/547
548: nobodyさん [sage] 2014/07/31(木) 09:58:51.14 ID:??? ぬるぽ http://medaka.5ch.io/test/read.cgi/php/999654569/548
549: nobodyさん [age] 2015/01/24(土) 00:21:23.20 ID:??? XSL/XSLT http://medaka.5ch.io/test/read.cgi/php/999654569/549
550: nobodyさん [sage] 2015/01/24(土) 02:05:19.28 ID:??? 俺が当初に言ったとおり、 糞な技術だったよなこれw http://medaka.5ch.io/test/read.cgi/php/999654569/550
551: nobodyさん [] 2015/12/04(金) 21:00:28.84 ID:3kTScjwO 会社で使ってるんだけど、 これ覚えてて需要あるかな? 自分、ただのプログラマ http://medaka.5ch.io/test/read.cgi/php/999654569/551
552: nobodyさん [sage] 2017/08/02(水) 11:25:11.01 ID:??? テンプレート各種あるが、たいがいデータベース操作まで書けちゃうよな。 この現状を一言で言うと、PHP化。 マジアホかと思う。 統一的にテンプレートはXSLTだけで良くないか? 分離がわりと明確。 資格があるからスタッフの最低限能力を保てる。 少なくともこれらのメリットがある。 デメリットは、「&」とかかな。 しかし、資格があるから、ここらへんのマークアップの初歩くらいはクリアできている人を雇えるわけで、問題無いか。 http://medaka.5ch.io/test/read.cgi/php/999654569/552
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 6 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.008s