Learn more about XML here...
2004 Dec 30
4251 of 4530 | Monitoring the XML Parsing and Loading Process - Notes Of XML DOM (part2) - The readyState property of DOMDocument object can give direct feedback on the reading processes. The following list its possible values:
State
Short Description
Long Description
1
Loading
Preparing to read the XML file. Did not try yet.
2
Loaded
Reading and parsing the XML file. Object model still not available.
3
Interactive
Part of the XML file successfully parsed and read in. Object model partically available for read only.
4
Completed
Loading of the XML file has been completed, successfully or unsuccessfully.
When reading an XML file successfully, the readyState property goes through all four states: 1,2,3, and 4. Otherwise, the readyState property ma......
4252 of 4530 | Oh no you didn`t just start that thread... - NOTE: I started to write this post when it was highlighted to me that Mike Champion had pulled from an earlier comment on XML-DEV how cool it be do have a coding competition, with some very specific names paired up as possible crowd pleasers.I`m ALL for it! But,You do realize that you are asking for a "list" of reasons why XSLT 2.0 ROCKS! over 1.0 from a group of functionally minded religous fanatics who apparently happen to be masochistically natured as well! ;)) You think were gonna stop when we`ve beaten any and all existing .NET based technologies, Java, base at the transformations game, using XSLT 1.0 Ummm, did I mention the massachists part alreadyMerry Christmas to you all!Looking f......
4253 of 4530 | Parsing the XML DOM - Notes Of XML DOM (part1) - For a long time, I can only read and write XML, and I don`t know how to parse it. Recently, I found a good place to learn XML and relative technology, that is www.w3schools.com. When I follow the tutorial, I take some notes and test what I`ve learned. However, I find it difficult to remember all stuff once, so I divide them into serveral parts.
What is DOM
The XML Document Object Model (DOM) is a programming interface for XML documents. It defines the way an XML document can be accessed and manipulated. The DOM represents a tree view of the XML document. The documentElement is the top-level of the tree. This element has one or many childNodes that represent the ......
4254 of 4530 | XML DOM Parser Errors - Notes Of XML DOM (part3) - The DOMDocument`s parseError property returns an IXMLDOMParseError object that contains information about the last parsing error. The object`s properties are:
errorCode: Code number of the error. A zero value means there was no error. Numbers are negative numbers close to the smallest integer allowed.
filepos: The absolute file position where the error occurred.
line: The line number where the error occurred.
linepos: The character position within the line where the error occurred.
reason: Explains the reason of the error.
srcText: The full text of the line where the error occurred.
url: The URL of the XML file where the last parsing error occurred.
Now, create......
4255 of 4530 | Zero-click design-time validation of XML in VS: the XmlValidate custom tool - Have you ever wanted you could just save an XML file and have a custom tool tell you what`s the output of its validation with a schema (or set of schemas) just as it would be at runtime using the XmlValidatingReader Go ahead and download the Mvp.Xml.Design installer, and you can have that. Just assign to a file the custom tool "Mvp.Xml.XmlValidate" and set in the Custom Tool Namespace property a semi-colon separated list of schema files (either relative to the file location or with absolute path) and you`re done. Everytime you modify the XML file and save it, the associated .txt file will tell you what the outcome of the validation is. You can investigate other tools offered by the Mvp.Xml......
2004 Dec 29
4256 of 4530 | Building a XUL Date Picker with XBL - Using XML as a language for defining classes (or more often "behaviors") is hardly new. The behavior components within Internet Explorer, which first utilized many of the same design patterns now used by XBL, working in much the same fashion - by assigning a CSS behavior property to an external "class" definition written in some form of markup you could turn an HTML object into a much more sophisticated object. However, such behaviors have not seen much usage until comparatively recently with both the emergence of Firefox as a world class browser and with the use of sXBL within SVG. These behaviors are not only useful add-ons ... in many cases they actually define many of the "core" XUL (th......
4257 of 4530 | My recent post to XML-DEV - To all of you who don`t subscribe or pay attention to XML-DEV here is a copy of my very first post to that list in regards to the up and coming xameleon project....
4258 of 4530 | Software-Marketing 101: Fear of the "What if..." sells many more copies than does "Whats that" - Eyes, wallets wide open to XML traffic woes in 2005Want to send software sales through the roofStep 1: Create fear by showcasing the absolute worst case scenario.Step 2: Write a software application or build a piece of hardware that fixes that problem before it ever becomes one....
4259 of 4530 | Viewing the Raw Xml for RSS Bandit Newspaper Views Using an Identity Transformation - Ok, the title is a mouthful, but it addresses a concern with the new alpha version of RSS Bandit. As of the current build, the feature to view the raw XML before it is rendered by the stylesheet is no longer there.
However, here is an identity transformation you may use. Just copy this to the templates sub folder of your RSS Bandit installation. You can then go to the Display menu (via Tools | Options) and select the Identity.fdxsl for your stylesheet. Afterwards, view any feed and then view source to see the raw XML. ...
4260 of 4530 | What good is a war when there`s nothing left to fight about - XML.com: XQuery`s NicheHas the time come to finally give rest to the XQvsXT debate I might find myself *GRASPING* for filler content while I figure out what else to fill its empty void with but the fact that even after watching and in many ways participating in this debate via comments and post I learned more from this weeks XML-DEV column than I learned all week in actually reading the posts.Thanks Edd!...
4261 of 4530 | XML Code Sample Picks of the Day - A new entry with this same title will be created and used each day to add an ongoing list of cool code samples I stumble upon throughout my day of development plunder, err, pleasure. Given the title they will tend to be XML-based samples but some may be more specific to Java or C#, or Python, Ruby, and Tcl and Tk as I am now learning a bit of, etc... with only light mention of XML anywhere in the post, if at all. So, in other words, a lot of these posts might be outside the box-model a but ;) But to know that there are actually other boxes out there and not just boxes but baskets, and globes, and pyramids a plenty to fulfill with power and dignity the role each technology was designed to......
4262 of 4530 | XML Data Islands In Practice - What is an XML data island
A data island is an XML document that exists within an HTML page. It allows you to script against the XML document without having to load it through script or through the tag. Almost anything can be in a well-formed XML document can be inside a data island.
The element marks the beginning of the data island, and its ID attribute provides a name that you can use to reference the data island.
Load the document into a Data Island
The XML for a data island can be either inline:
TheServerSide.com http://www.theserverside.com/ TheServerSide.com-News, Patterns, Reviews, Discussions, Articles, Books Java-Channel ......
4263 of 4530 | XML Tourist: Mapping and Markup, Part 2 - In the final part of his XML Tourist column`s exploration of GML, John E. Simpson introduces us to the component schema parts as well as to some GML software. ...
2004 Dec 28
4264 of 4530 | A cool little feature I`ve been using on other projects and will soon will be adding here - Query Links on the WebIn response to Bob DuCharme`s latest post here is one method of one-to-many linking that I started using in a clients project and plan to start implementing on this site as well as use it as a major feature in a reference project soon to be released.The idea is to simply use a XML definition file that has a particular phrase, word, object, person, or web site reference to search for in an antry and subsequently add a pop-up list of possible links associated with this match. For example, to showcase all of the...[NOTE: In going through this there are some obvious issues that come when taking code from a system built in 100% client-side XSLT and another that is not. e.g......
4265 of 4530 | Bear with me on this.... read the following paragraph, memorize the general meaning, close your eyes, and... - Think.This is the paragraph:"I think the way forward is to focus on what it does that nothing else does well -- querying XML stores -- and not promoting it as an alternative to existing, more mature technologies."Do you have it memorized If not, here are the key phrases:...
4266 of 4530 | O/R redux - One of the big conversations that has been going on for some time in the Java world is how prescriptive container frameworks such as EJB and Spring should be. It is fairly well known, that for O/R mapping frameworks the same conversation exists since O/R persistence is really just one (albeit complicated) service that can be provided by a container. The Java folks like to refer to POJO versus non-POJO solutions. Inside Microsoft, when discussing O/R we talk about POCO (Plain old CLR objects) and prescriptive versus non-prescriptive. Ignoring the details of implementing the various frameworks (IoC etc), its really all the same discussion. The POCO/ POJO concept is fairly straight forw......
2004 Dec 27
4267 of 4530 | welcomes Uche Ogbuji, Mike Brown, EXSLT.org and subsequent contributors, 4Suite.org via the Fourthought Corporation, and Saxonica, Ltd. to the "Legends of the XSLT Community" - In what is an obvious oversight of inidividuals and organizations who should have been listed from the beginning would like to welcome the following individuals and organizations to the "Legends of the XSLT Community".Uche OgbujiMike BrownEXSLT.org4suite.org via FourthoughtAlthough Dr. Kay has always been listed, Saxonica has not. So in addition to the above I would also like to welcome Saxonica, Ltd. as a very deserved member of this list of inidividuals and now entities who make up this exclusive list of XML and XML Transformations professionals and organizations.I plan to follow-up this post in the coming weeks with specifics to why each member of the "Legends of the XSLT Community" de......
4268 of 4530 | 10 things to change in your thinking when building REST XML Protocols - Do not think in terms of programming languages, XML is a data format. It is NOT a serialization of programming language structures so don`t treat it as such. In REST based systems you`re moving and manipulating data, you`re not making method calls against a remote object. The fact programming languages......
4269 of 4530 | Revolution postponed - Infoconomy has an article looking at the slow growth of Native XML Databases. It`s pretty obvious at this point that the technology hasn`t really caught on and based on the way the database companies market, I can`t say it`s surprising. It`s really too bad, as when I look at projects......
4270 of 4530 | W3C Issues XInclude 1.0 as a W3C Recommendation; XInclude Makes It Easier to Create Reusable Content (Business Wire) - W3C Issues XInclude 1.0 as a W3C Recommendation; XInclude Makes It Easier to Create Reusable Content (Business Wire): "http://www.w3.org--(BUSINESS WIRE)--Dec. 20, 2004--Strengthening the XML family, the World Wide Web Consortium (W3C) has published XML Inclusions (XInclude) Version 1.0 as a W3C Recommendation. XInclude 1.0 provides a method for merging multiple......
4271 of 4530 | XML and XSLT used to create the alphabetically sorted and individual/entity separated listing - For those interested I’ve posted the quick and dirty XSLT along with the XML source in which I used to create the new “Legends of the XSLT Community” listing with proper sorting and seperation of individuals and entitities. There are some obvious problems with this code. First, by using the “quick and dirty” sort method of:“G. Ken Holman” is sorted via “Ken” instead of “Holman” and “George Christian Bina” by Christian instead of “Bina”. I doubt this is going to cause any major rumblings in the community but obviously this is a problem if you were to use this code to do your own sorting.I also prefer to separate out the formatting, in this case HTML elements and CSS classes, in a separate......
2004 Dec 26
4272 of 4530 | Pobre Mark - The Grinch (the watch, not Mark) Apparently Mark`s ongoing saga with this "SmartWatch" is just that: ongoing. I remember when he walked into my office earlier this year and showed me his nice, new, shiny watch and the fact that with the press of a button (or two), he could figure out when/where his next meeting was. This single feature made me an instant fan. Forget the news, the weather, my horoscope, and whatever useless pieces of information they think is interesting on a 1-inch display. All I wanted to know was the time and location of my next meeting. Initally, I balked at the price of the watch in combination with subscription requirement. Then Mark`s watch went out. After the f......
4273 of 4530 | XIncludes takes advantage of existing XML technologies - LinuxElectrons - W3C Issues XInclude 1.0 as a W3C RecommendationNothing new or exciting in this post but it does bring out the the fact that XInclude was specifically designed to take advantage of existing XML standards. You might be saying "uh, yeah, thanks for making the obvious even more obvious." But what is obvious to you may not be to someone else who is new to what has become a plethora of "X"-based technologies so I figured it was worth a post. That and the XML/XSLT-related news at the moment is thin (at best) so I figured something was better than nothing :DFrom the piece:XInclude 1.0 takes advantage of the XML Information Set (Infoset), and merges XML information sets. Therefore......
2004 Dec 25
4274 of 4530 | Pobre Mark - The Grinch (the watch, not Mark) Apparently Mark`s ongoing saga with this "SmartWatch" is just that: ongoing. I remember when he walked into my office earlier this year and showed me his nice, new, shiny watch and the fact that with the press of a button (or two), he could figure out when/where his next meeting was. This single feature made me an instant fan. Forget the news, the weather, my horoscope, and whatever useless pieces of information they think is interesting on a 1-inch display. All I wanted to know was the time and location of my next meeting. Initally, I balked at the price of the watch in combination with subscription requirement. Then Mark`s watch went out. After the f......
2004 Dec 24
4275 of 4530 | OASIS Technical Committee Advances Business Transaction Protocol (BTP) Specification - OASIS has announced the approval of "Business Transaction Protocol" (BTP) Version 1.1 as a Committee Draft. Version 1.1 represents a revision of BTP V1.0 in the light of feedback and implementation experience. BTP is a carrier-neutral protocol designed to allow coordination of application work between multiple autonomous, cooperating participants. BTP defines the protocol in terms of abstract messages schematized in XML, along with an optional SOAP binding....
2004 Dec 23
4276 of 4530 | A Quiet Welcome Before the Yuletide Embers - Seasons greetings and salutations. My name is Kurt Cagle. Some of you know me from my writings - books on XML related technologies such as SVG, XForms, and the like, the Metaphorical Web blog, not to mention unnumerable rambling posts to various newsgroups over the years or articles in technical journals. A few may have met me at conferences, wending my rather portly, shabby bulk down that odd silence that all conferences no matter how well attended, seem to acquire (mayhaps too much padding). Others of you I may have never had the pleasure of meeting or talking to, even in writing, but I hope to be able to do so through this particular blog - Understanding XML....
4277 of 4530 | Coverage of XML technologies in this Mono article - apcmag.com: .NET for LinuxA Novell IdeaAlthough Novell doesn`t actually own Mono, it has taken stewardship of the project and will be using Mono technologies extensively within its product line. The company`s first deliverable is iFolder 3, an open source file sharing and synchronisation tool written entirely in Mono. An enterprise version will add better security.---Ok, I`m not one who can complain about the use of cheezy titles but... Well, its a good article anyway....
2004 Dec 22
4278 of 4530 | Xalan C++ 1.9 - Cafe con Leche XML News and Resourcesvia Eliotte Rusty Harold...
4279 of 4530 | XML Support in SQL Server 2005 has no dependency on http.sys - A recent blog post claimed that the native XML support in SQL Server 2005 has a dependency on http.sys and thus is only available on Win 2003 Server or Win XP/SP2. This is incorrect. XML has no such dependency and should be available on all platforms where SQL Server 2005 is supported. Only the HTTP/SOAP component has such a dependency....
2004 Dec 21
4280 of 4530 | Dave Remy, Introducing myself - Hi everyone, My name is Dave Remy (call me Rem or Remy), I am a new Program Manager for the Microsoft XML team working with Soumitra and others that will be posting on this blog. I wrote up a too long version of my bio on my nascent blog. Here is the somewhat shorter version that was sent out to the Microsoft team when I started a few months ago ... I am coming to Microsoft from BEA (actually my office was just down the road in Kirkland) where I was the Development Lead for XMLBeans. XMLBeans is an XML/Java binding technology that lets Java developers work with XML in a java friendly typed way but also get to the underlying XML (and back) whenever needed. One of the things I was inv......
4281 of 4530 | Mike Champion speaks to Kurt Cagle`s recent post on Entropy - In a recent post to XML-DEV Michael Champion speakes to Kurt Cagles latest post on his blog (or is ihis blog or.. well, eventually you`ll find out why took on a striking and sudden resemblence to the Metaphorical Web yesterday. Unfortunately I forgot to put a tape in the camera and there`s no after-the-fact coverage of his live performance... I`ll tell you what, that man has rug-cutting skills like none I have ever seen!!! `) More soon... Moving forward in this post Mike states:"We had a classically xml-devish thread back in October about theimplications of Shannon`s information theory for XML. I must say Ididn`t understand much of that thread, but Kurt Cagle has anintriguing entry......
4282 of 4530 | Take 2: Chaos and XML - When I wrote the last post, I didn`t realize at the time that I was running about a 102 F temperature, and would end up spending the next three days in bed with alternating bouts of chills and sweating, talking in my sleep - it was not one of the more pleasant weekends I`ve ever spent. While the underlying concept of measuring complexity is sound, I erred on the definition of entropy. Entropy is not a measure of the number of states in a given system configuration, but rather a measure of the change in the number of states in a configuration over time - in a non-self organizing system, the potential number of states increases, consequently becoming more disorganized (or more properly, conve......
4283 of 4530 | Working Draft: SPARQL Variable Binding Results XML Format - 2004-12-21: The RDF Data Access Working Group has released the First Public Working Draft of the SPARQL Variable Binding Results XML Format. The SPARQL query language (pronounced "sparkle") offers developers and end users a way to write and to consume search results across a wide range of information such as personal data, social networks and metadata about digital artifacts like music and images. SPARQL also provides a means of integration over disparate sources. Visit the Semantic Web home page. (News archive)...
4284 of 4530 | X12 EDI: It`s Not Dead Yet - Not so fast. X12 isn`t dead yet. In fact, in many respects, X12 is still the best choice for electronic data interchange today. XML is making great progress toward being a good alternative, but we aren’t there yet. ...
4285 of 4530 | XML, Blogs, and Publishing Tools - ARNnet | Ephox snares new partner to spread Web authoring tool...
4286 of 4530 | You gotta love Perl! - Add RSS feeds to your Web site with Perl XML::RSS: Builder AU: Architect: Web ServicesProper processing of XML data feeds such that they validate properly before being published is something of extreme importance, especially when you consider that these sources of information have in many ways become our own personal search service in which we have come to rely upon for access to the most recent data on the web. Feeds that don`t validate can not be properly processed and as such the data in many ways is somewhat useless, if accessible at all.Have you Validated Your Feed TodayAnother GREAT link to ensuring you`re web server is sending the proper mime-type with the content it is serving. Ma......
2004 Dec 20
4287 of 4530 | Apache XML Security (Java) 1.2 - The Apache XML Security development team has released version 1.2 Final. It has been improved for better speed, memory utilization, and easier JCE integration. "Please remember to verify the signatures of the files you download using the keys found on the project site to verify integrity of the package." ...
4288 of 4530 | IBM discovers native XML databases - IBM`s `hybrid` database faces alpha test (CIOL): "This new database can handle native as well as XML data and will be available in its beta form sometime next year. NEW DELHI: IBM has handed over its newly developed hybrid database to a team of alpha testers. Said an online report."......
4289 of 4530 | W3C Issues XInclude 1.0 as a W3C Recommendation; XInclude Makes It Easier to Create Reusable Content - http://www.w3.org--(BUSINESS WIRE)--Dec. 20, 2004--Strengthening the XML family, the World Wide Web Consortium (W3C) has published XML Inclusions (XInclude) Version 1.0 as a W3C Recommendation. XInclude 1.0 provides a method for merging multiple XML documents into a single composite document.XInclude Brings Standard Program Functionality to XMLMany programming languages provide an inclusion mechanism to support the use of modular content. Once an inclusion mechanism is established, programmers can then write applications that are more powerful. Markup languages, of course, often have need of such a mechanism....
4290 of 4530 | W3C Launches Graphics Activity - W3C is pleased to announce the relaunch of the Graphics Activity. The Scalable Vector Graphics Working Group is chaired by Chris Lilley (W3C) and is chartered through 30 September 2006. The SVG Working Group develops the SVG language for describing two-dimensional graphics and graphical applications in XML, including profiles for desktops, mobile devices and printers. Participation is open to W3C Members. Visit the SVG home page....
4291 of 4530 | XInclude goes W3C Recommendation! -
Hey, what a surprise from the W3C! XInclude 1.0 has been published as W3C Recommendation today. That was fast! Less than 3 months in Proposed Rec status - and here it is, XInclude 1.0 - another standard XML Core technology.
I was about to release XInclude.NET version conforming to the September`s XInclude spec tomorrow. So it`s just in time. As far as I see no significant changes were instroduced, so couple days for aligning, fixing documentation - and then expect new release of the Mvp.Xml library (including Common, XInclude.NET and XPointer.NET modules) and then nxslt.exe update.
For those unfamiliar with XInclude, take a look at my MSDN article "Combining XML Documents with XInc......
4292 of 4530 | XInclude Is a W3C Recommendation - 2004-12-20: The World Wide Web Consortium today released XML Inclusions (XInclude) Version 1.0 as a W3C Recommendation. Strengthening the XML family, XInclude provides a generic method for merging XML documents into a single composite document. It contributes to efficient content management at the enterprise level. XInclude uses existing XML constructselements, attributes and URI references. Read the press release and testimonials and visit the XML home page. (News archive)...
4293 of 4530 | XML Inclusions (XInclude) Version 1.0 Published as a W3C Recommendation - "XML Inclusions (XInclude) Version 1.0" has become a final W3C Recommendation. Produced by members of the W3C XML Core Working Group, XInclude provides a generic method for merging XML documents into a single composite document using existing XML constructs (elements, attributes, and URI references). Because it merges XML information sets, XInclude can be used with any version of XML, XML Schema, XSLT, and other applications such as SVG and VoiceXML 2.0....
2004 Dec 19
4294 of 4530 | Architecture of the World Wide Web, Volume One
-
W3C at last published the "Architecture of the World Wide Web, Volume One" as W3C Recommendation. It was cooked in long hot discussions by Web heavyweights and geeks. Here is what`s that about:
This document describes the properties we desire of the Web and the design choices that have been made to achieve them. It promotes the reuse of existing standards when suitable, and gives guidance on how to innovate in a manner consistent with Web architecture.
That`s a must reading for all developers working with Web, XML and URIs. We can make the Web a better place by following principles, constraints and practices defined in that document.
It`s 47 printed pages and I had no ......
4295 of 4530 | Could someone get the door please, it`s Microsoft... - mikechampion`s weblogAs I`m sure we are all aware by now Mike Champion has taken a position with Microsoft acting as what seems to be a filter for XML technologies: determining the good, the bad, the indifferent, and that in which should be bashed with a shovel and buried before it trys to procreate into nastier little versions of its nasty little self. I`m sure we all have our own opinions as to which XML-language variant/mutant we would choose as the first "bash and bury" victim but the truth of the matter is that opinions and reality rarely match up when it comes to language use and adoption. History has proven this so many times I wonder why we still feel our opinions matter and furth......
4296 of 4530 | Food for thought - brought to us by the legendary Oleg Tkachenko - Would you like to see XSLT1.1 + EXSLT in .NET2As an official member of the "Legends of the XSLT Community" I generally tend to pay attention and respect what Oleg has to say in regards to XML/XSLT and related technologies. As an official Microsoft XML MVP Microsoft obviously tends to feel the same way... and for good reason: The facts are plain and simple: The man knows what he`s talking about.I definitely have some comments I want to make in regards to Oleg`s "idea". But I think I need some time to let his thoughts sink in a bit and then offer a follow-up post once they have. I will say one thing though... Do you think Oleg might know something we don`t Going back to the MS XML MV......
4297 of 4530 | Further comments from Mike Champion - While I still find it amazing that Mike has found his way to my little tiny corner of the Blogosphere to comment on some of my posts I am grateful that he has none-the-less. For further clarification of Mike`s role on the XML Webdata team as well as an understanding to how he feels that we as a development community can best represent our desires for future XML technology support visit his recent comments on my earlier "Could someone get the door..." post.As mentioned in several of his posts Mike is desirous to hear from the community. If you have comments you feel appropriate to direct his way you can find a place to do just that right here.Thanks Mike!...
4298 of 4530 | TopXML has built the XML News Reblogger -
Another good XML Learning Resource TopXML has
built the XML News Reblogger.
As quoted here on
their Website:
“Reblogger is a free aggregator service provided by TopXML.
We collect XML blog items four times a day from around the web, so that you can view
all the most interesting and most useful news right here in our reblogger. Enjoy
View the blogs
and feeds we fetch...”
...
4299 of 4530 | TopXML has built the XML News Reblogger -
Another good XML Learning Resource TopXML has
built the XML News Reblogger.
As quoted here on
their Website:
“Reblogger is a free aggregator service provided by TopXML.
We collect XML blog items four times a day from around the web, so that you can view
all the most interesting and most useful news right here in our reblogger. Enjoy
View the blogs
and feeds we fetch...”
...
2004 Dec 18
4300 of 4530 | Test files available - The test XML files and XSLT file used to build them are available here. I will be using these files with an updated test suite and post it as soon as its done. Once built I will rerun the tests from my previous "Alternative to Meunchian Method" post and post the results when complete. I will also provide an explanation to the XSLT file I built to create the various test output files and add a new post with the details a bit later. In the mean time, enjoy! :)...