The more thoughts go by the more I see that a tool like “Clean XHTML for Word 2003” (the possible sequel to Clean HTML for Word 2000/2002) would only be needed to automate the tagging process of a Word 2003 document. Because once the schema is properly applied, it is only a matter of a few lines of code running through
Selection.Range.XMLNodes to export XHTML. I don’t see making a big commercial deal out of that.
By the way, there was the idea that all I had to do was get a return value from
Selection.Range.XML(True) but this will fire an error when the Selection contains a fragment of XHTML that is not well formed.
So a tool like Clean XHTML would only help users apply XHTML elements through extremely complicated procedures depending heavily on intimate, ongoing knowledge of the Word Object model. Today, I cannot believe that the good people at Microsoft will not improve the Find/Change functionality (to include mapping Word styles to XML elements) in a release in the near future. I do recognize that XML might be kept in the context of “pure” data so mapping XML elements to styles would then be considered stupid—or at best an obscure workaround for an obscure problem.
Maybe it’s a late-night glitch at MSDN but I cannot find anything on the InfoPath SDK. I feel like I am incorrectly blaming myself for this oversight. In the meantime, I am resorting to Google’s cache to pull up “Understanding Fully Trusted Forms” that cannot be found at MSDN:
“For a form to be used, InfoPath must be able to access the form template that the form is based on. When you create a form template, InfoPath creates an entry in the form definition (.XSF) file that contains the URL of the location of the form template. A URL-based form is said to be sandboxed: When a user fills it out, the form is placed in a local cache and denied access to system resources. This type of form inherits its permissions from the domain in which it is opened…However, you can modify a form so that it is based on a Uniform Resource Name (URN) instead, allowing access to system resources. Forms of this type are said to be fully trusted.”
This article goes on to explain how to use REGFORM.EXE to mark a form fully trusted in the context of formalized maintenance and deployment. Since I am just trying to open one form on one machine for informal use without annoying ADO security warnings this is my simplified version:
- Locate REGFORM.EXE. I found my copy under %ProgramFiles%\Microsoft Office 2003 Developer Resources\Microsoft Office InfoPath 2003 SDK\Tools\regform.exe.
- Run REGFORM.EXE MyForm.xsn to generate a Jscript file that will perform the full trust operation (and make a backup file of the original .XSN file).
- Run the Jscript file using CSCRIPT.
For a brutally honest overview of the InfoPath security “model,” see “InfoPath SP1 Security” on David Fries’ Blog. I will continue to look for InfoPath SDK documentation on MSDN. I still think it’s my fault. I can’t imagine professional developers pulling documentation without explanation and not even announcing it on at least one Blog.
I am very impressed and respectful of the WordPress people. As soon as I reach their credits block through modifying the correct selector in my CSS file, I will only begin to recognize their great work. This is a “real” Blog with real respect for typography out of the box. My disappointment with MSN Spaces provoked me to install this product through my web hosting service. A few of the Blog posts that will follow are reproductions of what originally appeared at MSN Spaces. Let’s WordPress!
This just in: I have always disliked the aggressive commercialism at the FeedRoom.com. I categorize their video-based news under ‘News for Corporations’ to distinguish it from ‘News for Human Beings.’ So when I stumbled upon video.msn.com I immediately found a replacement for my corporate news category.
The number one feature of video.msn.com is the play list—the commercial-free play list. I’m sold. For people who want “serious” video news with that UN-centric bent, check out Reuters Television. When you are ready to take your first baby steps off the animal farm, you’ll need Amy Goodman’s Democracy Now! For your video news in our ‘News for Human Beings’ category.
I recognize Dare Obasanjo for prompting me to explore MSN with a renewed interest. They are still trying and I am beginning to see improvement.
This year the parades here in Los Angeles promise something more than synchronized police motorcycle ballet—and I know you suburban kids out there are thinking I am joking. But the inner-city police parade themselves in Martin Luther King Jr. parades based on the assumption that they are aesthetically acceptable entities of community outreach.
Speaking of outreach, Johann Christoph Arnold, his article “Martin, We Need You Now” is online now at kintespace.com.
This is also my eldest son’s birthday. Currently he lives in Hawaii. He is now 15 and does not use the Internet to communicate with his father—but that is another story. Happy birthday, son. Remember your mother on this day for your birth is her day—celebrate her today. And, hey: is Myst Uru finally online?