This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > March 2005 > MSXML 5.0?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author MSXML 5.0?
Mark

2005-03-16, 7:03 pm

Hi...

I've been seeing a few scattered references to MSXML 5.0, but it's almost
like it's been hidden. One page says that it's intended for use only with
Office 2003.

I found another page taking about new features for 5, 4, and 3, and under
5.0 it lists mostly schema related new features.

Anyone used MSXML 5.0 in a general sense? How does it perform compared to
4.0, for example?

Thanks
_mark

Kevin Yu [MSFT]

2005-03-17, 4:31 am

Hi Mark,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need a comparison of MSXML 5.0 and
MSXML 4.0. If there is any misunderstanding, please feel free to let me
know.

According to MSDN documents, the following is a high-level summary of
features new to MSXML that were introduced with MSXML 5.0.

1. XML Digital Signature
MSXML 5.0 introduced support for XML digital signatures, allowing you to
sign and verify XML data in DOM documents, DOM nodes, or SAX streams. For
more information, see XML Digital Signatures.

2. Validation of DOM nodes
In earlier versions of MSXML, only full DOM documents could be validated.
MSXML 5.0 now provides the ability to validate a single DOM node as an XML
document fragment against the currently loaded DTD, schema, or schema
collection. For more information, see the validateNode method.

3. Import DOM nodes
MSXML 5.0 provides the means to clone a node from one DOM document, so it
can be added later into another DOM document using the appendChild method.
For more information, see the importNode method.

4. Additional second-level DOM properties
With MSXML 5.0, more second-level DOM properties have been introduced that
enable you to use the setProperty and getProperty methods to more closely
monitor or configure settings that affect XML parsing behavior. For more
information, see Second-level DOM Properties.

5. Modified support for handling inline schemas
MSXML 5.0 now includes new options in the DOM and SAX APIs that allow for
support of inline XSD schemas. For more information, see Using Inline
Schemas (XSD).

MSXML 5.0 just added some new features to MSXML 4.0, and fixed some bugs.
You can try to check the following link for more information:

http://msdn.microsoft.com/library/d...-us/xmlsdk/html
/xmmscxmlwhatsnew.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Mark

2005-03-17, 6:44 pm

Hi Kevin...

Thanks for responding. I already read the "What's new?" document, but it
seemed to me that it was much more new-feature oriented than anything else.
For example, the section for MSXML 4.0 didn't talk about the better use of
memory (over v 3.0), the faster dom parsing, or the considerable speed
improvements in xsl processing.

Those are the kinds of things I was wondering about between 5.0 and 4.0.
Inline schema I probably won't use. ImportNode and node validation are both
nice, but what would really push me to kick the tires on 5.0 would be
speed/memory improvements.

Not that it's easy to get ahold of 5.0. Seems like there's a strong desire
*not* to ship it for general usage.

Thanks
-mark


"Kevin Yu [MSFT]" wrote:

> Hi Mark,
>
> First of all, I would like to confirm my understanding of your issue. From
> your description, I understand that you need a comparison of MSXML 5.0 and
> MSXML 4.0. If there is any misunderstanding, please feel free to let me
> know.
>
> According to MSDN documents, the following is a high-level summary of
> features new to MSXML that were introduced with MSXML 5.0.
>
> 1. XML Digital Signature
> MSXML 5.0 introduced support for XML digital signatures, allowing you to
> sign and verify XML data in DOM documents, DOM nodes, or SAX streams. For
> more information, see XML Digital Signatures.
>
> 2. Validation of DOM nodes
> In earlier versions of MSXML, only full DOM documents could be validated.
> MSXML 5.0 now provides the ability to validate a single DOM node as an XML
> document fragment against the currently loaded DTD, schema, or schema
> collection. For more information, see the validateNode method.
>
> 3. Import DOM nodes
> MSXML 5.0 provides the means to clone a node from one DOM document, so it
> can be added later into another DOM document using the appendChild method.
> For more information, see the importNode method.
>
> 4. Additional second-level DOM properties
> With MSXML 5.0, more second-level DOM properties have been introduced that
> enable you to use the setProperty and getProperty methods to more closely
> monitor or configure settings that affect XML parsing behavior. For more
> information, see Second-level DOM Properties.
>
> 5. Modified support for handling inline schemas
> MSXML 5.0 now includes new options in the DOM and SAX APIs that allow for
> support of inline XSD schemas. For more information, see Using Inline
> Schemas (XSD).
>
> MSXML 5.0 just added some new features to MSXML 4.0, and fixed some bugs.
> You can try to check the following link for more information:
>
> http://msdn.microsoft.com/library/d...-us/xmlsdk/html
> /xmmscxmlwhatsnew.asp
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>
>

Kevin Yu [MSFT]

2005-03-18, 4:26 am

Hi Mark,

As far as I can get, there isn't an official comparison on performance
issues between versions of MSXML currently. Let's wait and see if any
community members have any suggestions. Sorry that I couldn't provide help
on this.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews