I want to do something that does a browser, when it loads the web page, I want the customer Be able to request XML page The client then receives the XML page, saves it, and then reads the file to see if it needs any more file / resources ... etc ... as long as all the resources needed for the XML page are client Not on the machine
Customer is running Java I probably want to process XML with XSLT to handle open, save, and http requests.
Example customer receives this XML file
& lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt ;? Xml-stylesheet type = "text / xsl" href = "optimus.xsl"? & Gt; & Lt; Just name = "happy fun" & gt; & Lt; Image image = "red.gif" /> & Lt; / Bus & gt;
So I want the customer to process the file, realize that requesting files from server with optimus.xsl and red.gif. Which java does.
I can get the attributes with the picture / @ image XSLT. But I can not read "xml-stylesheet" with xslt template match = "processing-instruction ('xml -stylesheet '), respectively, it is & lt; Can process processing instructions with xsl:
Comments
Post a Comment