document

Can XHTML nest more XHTML?

It's legal to nest SVG documents inside XHTML documents; but is it legal to nest XHTML documents inside other XHTML documents in the same fashion? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <title>Sup</title> </head> <body...

Custom Document Library

Hello, I'm trying to create a Custom Document Library in Visual Studio 2008 and VSeWSS. The Document Library should have two custom coullums. One I have and the other one is killing me. The one I have holds a reference to a proyectId that I assing thru QueryString and the Event Handler. The one I need is a KeyWord Collumn, so when th...

Java document parsing over internet using POST

I've looked all around and decided to make my own library for accessing the EVE API. Requests are sent to a server address such as /account/Characters.xml.aspx. Characters.xml.aspx requires two item be submitted in POST and then it returns an XML file. So far I have this but it does not work, probably becuase I am using GET instead of...

what's the right tool/way to auto generate java client code by a given wsdl file (document literal wrapped style)

I tried the tool wsdl2java from axis2, but looks something wrong with the XML Java class binding, so when making the call, a ADBException (adb binding used) will be thrown out. can someone kindly tell the bet tool/way to generate can-work client code from such style of wsdl file (standard .net style:document literal wrapped)? Thanks. ...

NSFileManager - Copying Files at Startup

Hi, I need to copy a few sample files from my app's resource folder and place them in my app's document folder. I came up with the attached code, it compiles fine but it doesn't work. All the directories I refer to do exist. I'm not quite sure what I am doing wrong, could someone point me in the right direction please? NSFileManager*ma...

Twitter RSS feed, [domdocument.load]: failed to open stream:

hi i'm using the following: <?php $doc = new DOMDocument(); $doc->load('http://twitter.com/statuses/user_timeline/XXXXXX.rss'); $arrFeeds = array(); foreach ($doc->getElementsByTagName('item') as $node) { $itemRSS = array ( 'title' => $node->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node->getEl...

measuring similarity between documents using jaccard coefficient

hi i m finding similarity between documents ....nd to measure that i used jaccard coefficient...i did like dis D1=(8,0,0,1) where 8,0,0,1 are the tf-idf scores of the terms t1, t2, t3 , t4 D2=(7,0,0,0) jaccard coefficient= dotproduct(d1,d2) / |d1|+|d2|-dotproduct(d1,d2) and the answer comes out to be " -1.367931 "...what does i...

what triggers "new" when document is published in a document library

Whenever I upload a document in the document library, it says new. What is the timeframe of the "newness" of that document. Also, can that timeframe be controlled? ...

Any C#/VB.NET sample projects on developing ActiveX Documents(?) to be hosted by MS Word 2000-2010?

Hi All -- Do you know about any helpful C#/VB.NET sample projects on developing ActiveX Documents(?) to be hosted by MS Word 2000-2010? I mean a C#/VB.NET sample project having ActiveX Document project/solution sources, which can be compiled, built and registered, and then ActiveX Document instance inserted inline several times into an...

Quality for images in LaTeX documents

Hey all, What are some of the pointers that I need to follow if I want to have good quality images in a LaTeX document. These images are mostly screenshots of an software application or flow charts. Below are two such images. Flow Chart Screenshot Thanx Ladislav ...

How do I produce a clean listing of APIs for Android SDK?

Kinda like in the format of a class-dump result but in Java, I already have the Android.jar file and I would like to dump a clean listing of classes and methods for each .class file. How do I do this? p.s. HTML documents seem too messy and hard to parse. ...

Strange problem with UIDocumentInteractionController

I don't know what wrong with this code but everytime when I run the app, after the Menu is shown, the app crash. NSString * path = [[NSBundle mainBundle] pathForResource:@"tung" ofType:@"doc"]; UIDocumentInteractionController *docController = [UIDocumentInteractionController interactionControllerWithURL:[NSURL fileURLWithPath:p...

How do I check for the existence of an external file with XSL?

I've found a lot of examples that reference Java and C for this, but how do I, or can I, check for the existence of an external file with XSL. First, I realize that this is only a snippet, but it's part of a huge stylesheet, so I'm hoping it's enough to show my issue. <!-- Use this template for Received SMSs --> <xsl:template name=...

IPhone: how to have read the linenumber/contents of a doc

hi, I want to read the line number like a word doc in my iphone application. I tried using the webUI controller for displaying the doc but could not find any ways for reading the contents/line number. Is there any widget using which i can read the contents/page of the page. TIA ...

What's the most concise cross-browser way to access an <iframe> element's window and document?

I'm trying to figure out the best way to access an <iframe> element's window and document properties from a parent page. The <iframe> may be created via JavaScript or accessed via a reference stored in an object property or a variable, so, if I understand correctly, that rules out the use of document.frames. I've seen this done a number...

Is there a b5paper japanese style in latex?

My thesis is written in b5j documentclass style. \documentclass[b5j,twoside,12pt]{report} I have a paper that is appended at the end. However this is written in b5paper style as an article. \documentclass[12pt,b5paper,twoside]{article} How do I get the paper to follow the japanese style? Havent found any b5paperj options in the ge...

How do you set a "Document class" from an SWC in Flash CS4?

I have an SWC with a class called Content. I want to set it as the "Document Class" in Flash. However, after setting up the SWC in the .fla, I am receiving an error message saying that "A definition for the document class could not be found in the classpath,..." Setting up the direct class folder works fine, but I need to distribute this...

Sharepoint tools for document version control

Does anyone know of any tools for extending the functionality of Sharepoint's existing version control system for Office documents? It'd be great to be able to do branching/merging, or to store versions as "deltas" off the previous to cut down on storage used. Any suggestions at all would be helpful. Thanks in advance! ...

Shared Documents on sub-site

I would like to show the Shared Documents on a sub-site of a main site. I have a main site with multiple sub-sites, and I would like to show the Shared Documents library of the Main site on every sub-site below it on their 'home' pages. I have tried adding Shared Documents as a web part, but of course that only shows the Shared Documen...

How to make Finder 'Open With' work for my application (XCode, OS X)?

I have created an application that is capable of playing audio files. This in itself works fine, and so does drag&drop from finder to my application. What I would like as well, is that people can use my application from Finder using the Open With menu (or even allow them to set my application as default for a certain file type) After a...