1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | <script type= "text/javascript" src= "http://xdoc.sinaapp.com/xdoc.js" ></script> <script type= "text/javascript" > var xdoc = { "paper" : { "margin" : "24" }, "back" : { "fillImg" : "#@f40" }, "body" : { "sizeType" : "autosize" , "items" : [ { "Class" : "para" , "items" : [ { "Class" : "chart" , "width" : "600" , "height" : "400" , "type" : "word" , "fontName" : "" , "href" : "{3}" , "sql" : "select ${a/text()} tag," + " trim(replace(${span/text()},\'x\')) active," + " ${a/@href} href" + " from ${xpath(body/div[3]/div[1]/div[2]/ul/li)}" } ] } ] } }; XDoc.run(xdoc, "pdf" , { "_xdata" : "http://www.oschina.net/question/tags" }); </script> |
聯(lián)系客服