XSLã§ä½ã£ãå¤æ°ããï¼ãã©ã¹ããã¿ãããªå¦çããããã®ã§ãããåãã人ã¯ããªãã§ããããï¼ ä¾ãåºãã¦èª¬æããã¨ã <xsl:variable name="number" select="0"/> ã§ä½ã£ã$numberã¨ããå¤æ°ã $number++; ãã¦ã <xsl:value-of select="$number" /> ã§ãåºåãããã¨æã£ã¦ãã¾ãã åãã人ããã¾ãããæãã¦ãã ããã ãé¡ããã¾ãm(_ _)m
ä¾ãã°ãã½ã¼ã¹ææ¸ã®ä¸ã«ã http://www.asahi-net.or.jp/~ps8a-okzk/xml/ã¨ããnamespace nameãæã¤namespaceã«å±ããè¦ç´ ãããã¨ãã¾ãã ãã®è¦ç´ ãå¦çããéãã¹ã¿ã¤ã«ã·ã¼ãææ¸ã®ä¸ã§ãã åãnamespaceãæ¥é è¾(åãæ¥é è¾ã§ãªãã¦ãã)ã«çµã³ã¤ããnamespace宣è¨ããªãã¨ã ããã®namespaceã«å±ããfooè¦ç´ ã...ãã¨ããå¦çãã§ãã¾ããã (ã¡ãªã¿ã«ãããã©ã«ãnamespaceã使ããã¨ãã§ãã¾ããã XPathã®ä¸ã§ã¯ããã©ã«ãnamespaceãæå¹ã§ãªãã®ã§ã æ¥é è¾ã«çµã³ä»ããå¿ è¦ãããå ´åãå¤ãã§ã) ã¤ã¾ãXSLTã¹ã¿ã¤ã«ã·ã¼ãææ¸ã§ã¯ã resultææ¸ã§ç¾ããè¦ç´ ãå±æ§ã®ããã®namespace宣è¨ã ãã§ãªãã ã½ã¼ã¹ææ¸ã§ç¾ããè¦ç´ ãå±æ§ã®ããã®namespac
This shop will be powered by Are you the store owner? Log in here
RSSViewer ãµã³ãã«ã¢ããªã±ã¼ã·ã§ã³ã使ç¨ãã¦ã次ã®ãããªãActionScript 㧠XML ãæä½ããå¤ãã®æ©è½ã示ãã¾ãã XML ã¡ã½ããã使ç¨ãã¦ãRSS ãã£ã¼ãå½¢å¼ã® XML ãã¼ã¿ã«ã¢ã¯ã»ã¹ããã XML ã¡ã½ããã使ç¨ãã¦ãããã¹ããã£ã¼ã«ãã§ä½¿ç¨ãã HTML ã®å½¢å¼ã« XML ãã¼ã¿ãæ§æããã RSS å½¢å¼ã¯ãXML ã§ãã¥ã¼ã¹ãåãåãããã«åºã使ç¨ããã¦ãã¾ãã åç´ãª RSS ãã¼ã¿ãã¡ã¤ã«ã®ä¾ã示ãã¾ãã <?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title>Alaska - Weather</title> <link>http://www.nws.noaa.go
â å¤é¨XMLãã¡ã¤ã«ã®èªã¿è¾¼ã¿ å¤é¨ã®XMLãã¡ã¤ã«ãå©ç¨ããã«ã¯ãã¾ãæåã«XMLãã¡ã¤ã«ãèªã¿è¾¼ã¿ãèªã¿è¾¼ã¿å®äºå¾ã«XMLãã¼ã¿ã®è§£æãè¡ãã¾ããXMLãã¡ã¤ã«ã¯å®éã«ã¯ããã¹ããã¡ã¤ã«ãªã®ã§ãé常ã®ããã¹ããã¡ã¤ã«ã¨åæ§ã«URLLoaderã¯ã©ã¹ã使ã£ã¦èªã¿è¾¼ã¿ã¾ãï¼URLLoaderã¯ã©ã¹âp.??ï¼ã ãªããå¤é¨ããã¹ããã¡ã¤ã«ã®èªã¿è¾¼ã¿ã§èª¬æããããã«ãSWFã¨XMLãã¡ã¤ã«ãåããã¡ã¤ã³ã«ãªãå ´åã¯ã»ãã¥ãªãã£ã¨ã©ã¼ã«ãªãã¾ããããã解決ããã«ã¯ã¯ãã¹ãã¡ã¤ã³ããªã·ã¼ãã¡ã¤ã«ãç¸æå´ãµã¼ãã¼ã«ç½®ããã¢ã¯ã»ã¹ã許å¯ããã¦ãããã©ããããã§ãã¯ããå¿ è¦ãããã¾ããï¼ããªã·ã¼ãã¡ã¤ã«ã®ãã§ãã¯âp.??ï¼ ç¨æããXMLãã¡ã¤ã«ã«ã¯XML宣è¨ãã¨ã³ã³ã¼ãæ å ±ãªã©ãå®éã«ã¯å¿ è¦ããã¾ããããã¡ã¤ã«æ¡å¼µåã.xmlã§ã¯ãªã.txtã§ãæ§ãã¾ãããããã¹ãã¨ã³ã³ã¼ãã®åæå¤ã¯Unicod
ææ¥å 容 ä»åã¯ãã¤ã³ã¿ã¼ãããä¸ã«ããå¤é¨ã®ã¤ã¡ã¼ã¸ãã¼ã¿ãFlashã«èªè¾¼ãããã®æ¹æ³ã«ã¤ãã¦å¦ã³ã¾ãã ã¾ãæåã«ãActionScriptã®ããã°ã©ã å ã«ç´æ¥ç»åã®URLãæå®ãã¦ãLoaderã¯ã©ã¹ãç¨ãã¦ç»åãã¡ã¤ã«ãã¤ã³ã¿ã¼ããããããã¦ã³ãã¼ããã¦ã¹ãã¼ã¸ã«è¡¨ç¤ºããæ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ãã 次ã«ãç»åã®è¡¨ç¤ºã®æ¹æ³ã¯ãã®ã¾ã¾ã§ãURLã®æå®ãå¤é¨ã®XMLãã¡ã¤ã«ãç¨ãã¦æå®ããæ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ãããã®XMLãã¡ã¤ã«ããã©ã¡ã¼ã¿ã¨ãã¦å¤é¨ã®ãªã½ã¼ã¹ã«ã¢ã¯ã»ã¹ããæ¹æ³ã¯ãä»å¾ã®WebAPIãç¨ããActionScriptããã°ã©ã ã«ããã¦ã¨ã¦ãéè¦ãªãã¯ããã¯ã¨ãªãã¾ãã è¬ç¾©ã¹ã©ã¤ã Ssaw08 1014View SlideShare presentation or Upload your own. (tags: ssaw as3) PDFå½¢å¼ã§ãã¦ã³ãã¼ã (ssaw0
XMLå ã®è¨è¼å 容ã¯è¦ç´ ã¾ãã¯é ç®æ¯ã«æ å ±ãåå¥ããã¦ããã®ã§ããã°ã©ã ãªã©ã§åçã«è¡¨ç¤ºãããæã«ã¯æå¹ã§ãã FLASHã¯å¤é¨ãã¡ã¤ã«ã¨ãã¦ç¨æããXMLãã¡ã¤ã«ãèªã¿è¾¼ã¿ããã®æååã表示ããããªã³ã¯ãããã¨ãå¯è½ã§ãã 表示ãããæåã¯SWFå ã«ããã®ã§ã¯ãªããå¤é¨ãã¡ã¤ã«ã®XMLãã¼ã¿ã«æè¨ãã¦ãã¾ãã ãã¿ã³ãæ¼ãã¨XMLãã¡ã¤ã«ã§æå®ãã¦ãããªã³ã¯å ãµã¤ãã表示ããã¾ãã
VIEWã«ã¼ãã®å©ç¨è ã§ãã便å©ã«ä½¿ã£ã¦ããã®ã§ãããã£ãã·ã³ã°ãµã¼ãã¹ãå»æ¢ããã¦ãã¾ã£ãããã§ãããã¨ããæãèããã°ã©ãããã®ãè¯ããè¿·ã£ã¦ãã¾ããVIEWã«ã¼ãã§ã¯ãªãä»ã®ãã£ãã·ã³ã°ã«ã¼ããç¨æãããããã®ã¾ã¾VIEWã«ã¼ãã使ãç¶ãããããã©ãããã®ãè¯ãã§ããããã VIEWã«ã¼ãã¯ãã®ã¾ã¾ã«äºåã®ã«ã¼ããç¨æãããã¨ããå§ã VIEWã«ã¼ãã¨ã¯Suicaã¨ä¸ä½ã«ãªã£ãã¯ã¬ã¸ããã«ã¼ããå®æå¸ã®è³¼å ¥ããã£ã¼ã¸ã§ã®ãã¤ã³ããåªéãããå®æä¸ä½åã§ã¨ã¦ã便å©ã¨ããéå¤è ã«ã¿ã¼ã²ããããã¯ã¬ã¸ããã«ã¼ãã§ããJRãæ¥å¸¸ä½¿ããã人ã«ã¨ã£ã¦ã¯é åã®ããã«ã¼ãã¨ãã¦ããã¥ã¼ãé·ã使ããã¦ãã¾ãã JRæ±æ¥æ¬ã®ä¸»è¦ãªé§ ã«è¨ç½®ããã¦ããATï¼ãããã¡ãéè¡ãéè¡ã®ãã£ãã·ã¥ãã£ã¹ãã³ãµã¼ã使ã£ã¦ãã£ãã·ã³ã°ã§ãããã¨ãã¡ãªããã®ã²ã¨ã¤ã§ãããã¨ããã2009å¹´4æ以éã2006å¹´ã®æ¹æ£è²¸éæ¥
Flash ActionScriptã®ã¯ã©ã¹ã«ã¤ã㦠å¤é¨XMLãåå¾ãã¦å¤æ°ã«å ¥ããã¨ããåç´ãªãã®ãä½æããã®ã§ããonLoadã§å®è¡ãããfunctionã¯éåæã§ããããã¯ã©ã¹ãnewããç´å¾ã ã¨å¤ãundefinedã¨ãªã£ã¦ãã¾ãã¾ãã ã©ãããã°åæå¦çãããã¨ãã§ããã§ããããã //ã¿ã¤ã ã©ã¤ã³å´ var myData:getData = new getData(); trace(myData.atai);ã//ããã§undefined //ã¯ã©ã¹å´ class getData { var requestURL:String = "http://localhost/data/data.xml"; var replyData:XML; var atai:String; public function getData() { System.useCodepage = true;
æè¿ã§ã¯ãã¼ã¿ã®ä¿åã»åºåãããéã«ãXMLãå½¢å¼ãé¸æãããã¨ãå¤ããªã£ã¦ãã¾ãããã®XMLå½¢å¼ã®ãã¡ã¤ã«ãFlashã«èªã¿è¾¼ãã§è§£æãï¼å©ç¨ãã¦ã¿ã¾ãããã XMLãã¡ã¤ã«ã®ãã¼ã¿ã§åã°ã©ãã表示 å³1ã¯ããããåã°ã©ãã表示ããã ã¼ãã¼ã§ãããã®åã°ã©ãã®ãã¼ã¿ã¯ï¼å³2ã®ãããªXMLãã¡ã¤ã«ããèªã¿è¾¼ãã§ãã¾ãã å³1ï¼XMLãã¡ã¤ã«ãèªã¿è¾¼ãã ã¼ãã¼ï¼ã¯ãªãã¯ããã¨ã ã¼ãã¼ã表示ãã¾ãï¼ å³2ï¼ãµã³ãã«ã§èªã¿è¾¼ãã§ããXMLãã¡ã¤ã«ãXMLãã¡ã¤ã«ã®å 容ãå¤æ´ããã¨ï¼Flashã ã¼ãã¼ã®å 容ã«åæ ããã¾ã(ãµã³ãã«ã®ãã¦ã³ãã¼ãã¯ãã¡ã) ActionScriptã§å¤é¨ã®ããã¹ãã»ãã¡ã¤ã«ãèªã¿è¾¼ãæ¹æ³ã¨ãã¦ã¯ï¼æ¬é£è¼ã®ç¬¬30åï¼ç¬¬31åã§LoadVarsã¯ã©ã¹ããç´¹ä»ãã¾ãããXMLãã¡ã¤ã«ãèªã¿è¾¼ãå ´åã«ã¯ï¼LoadVarsã¯ã©ã¹ã¨é常ã«ããä¼¼ã使ãæ¹ã§XMLãã¡ã¤ã«ãèªã¿è¾¼ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}