Google Groups Home
Help | Sign in
XMLLoad of HTML namespace
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
John Bridges  
View profile
 More options Mar 26, 9:57 pm
From: "John Bridges" <john.brid...@gmail.com>
Date: Wed, 26 Mar 2008 18:57:06 -0700
Local: Wed, Mar 26 2008 9:57 pm
Subject: XMLLoad of HTML namespace
New build of AfterGRASP is up for download:

http://www.aftergrasp.com/download/agsetup_20080326.exe

--------------------------------------------------------------------------- -
Wed, 26 March 2008

New code in XMLLOAD which looks for use of a HTML namespace, if used
then the tags are built into any content. It identifies that it is
an HTML namespace by looking for the letters "html" without a period
in the XML NameSpace URL. For instance, Microsoft when saving Excel XML
spreadsheets uses the URL "http://www.w3.org/TR/REC-html40".

An crude example of what it did before, vs now:

 <Data xmlns="http://www.w3.org/TR/REC-html40">
  New <B>C30</B> Car</Data>

Previously, this would have been loaded as

 test["Data"][0] = "New "
 test["Data"][1]["B"] = "C30"
 test["Data"][2] = " Car"

Now it's loaded as:

 test["Data"] = "New <B>C30</B> Car"

This code required some modification to the LIBXML2 library (to expose
the Node writing function, and call it), which will reduce the likelyhood
(or at least frequency) of future updates to the LIBXML2 source code
used in AfterGRASP.

--------------------------------------------------------------------------- -


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google