タグ

XSLTに関するfacetのブックマーク (2)

  • Using AWS and XSLT to create JSON | Amazon Web Services

    AWS News Blog Using AWS and XSLT to create JSON It is always interesting to see how a developer’s background, experiences, and the contents of their “mental toolkit” come together in unique approaches to problem solving and creative thinking. Here’s an example of what I am talking about. Alan Taylor of Kokogiak.com has been building applications with AWS since the early days, starting out with his

    Using AWS and XSLT to create JSON | Amazon Web Services
  • SIXTY-SIXとかいうの #2

    Amazon E-Commerce Service 4.0は「"」や「'」をそのまま返してくれる(XML的にはまぁOKなんだけど)ので、場合によってはそれらを適切に扱ってやらないとまずかったりします。PerlなりRubyなりでやる場合は大して面倒でもなんでもないのですが、XSLTでどうにかしようとするとなかなか厄介。厄介なのでSIXTY-SIXではこの仕様に由来するバグを放置していたわけですが、どうにかできそうだということを理解したので、ItemSearchをJSONで整形するXSLスタイルシートを修正してみました。 「'」のエスケープは、translate()では出来ないので、 <xsl:template name="replace"> <xsl:param name="str"/> <xsl:param name="from">&#39;</xsl:param> <xsl:param

    SIXTY-SIXとかいうの #2
    facet
    facet 2005/10/09
  • 1