Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从Android中的服务器读取和解析解析器内的PDF文件URL?
我不太明白你想说什么。也许情况是您有一个 PDF 文件,并且 PDF 中有一些内部 URL,您正试图通过 XML 解析来访问它们?
如果是这种情况,我认为您不能这样做,因为首先 PDF 文件类似于“压缩签名”表单,您无法访问内容(与 .txt 文件不同)。而且我很确定您不能使用 XML 解析来解析 PDF 文件。
另一种解决方案是搜索和下载一些用于处理 PDF 文件的第三方应用程序。
我使用这些代码将我的方法隐藏在我的 XML(WSDL) 文件中:
<xsl:template match="wsdl:operation[@name = 'GetCityWeatherByZIP']" /> <xsl:template match="wsdl:message[@name