XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Neal WaltersSubject: XML Compare
Author: Neal Walters
Date: 01 Aug 2006 11:27 AM
In the XML Compare (Tool Show Differences In), provide an option to compare only element/attribute names (i.e. do not compare the values of the data). Sometimes I need to compare a new "bad" xml against an older xml that I know works. It's usually an element missing or something like that which causes deserialization problems or a "null reference" down the road.

Also, I'm not sure how you match namespaces, i.e. whether a p2: and a p3: will match if the p2: and p3: are defined as the same namespace.

Thanks,
Neal

Posttop
Ivan PedruzziSubject: XML Compare
Author: Ivan Pedruzzi
Date: 02 Aug 2006 01:03 AM
>In the XML Compare (Tool Show
>Differences In), provide an
>option to compare only
>element/attribute names (i.e.
>do not compare the values of
>the data). Sometimes I need
>to compare a new "bad" xml
>against an older xml that I
>know works. It's usually an
>element missing or something
>like that which causes
>deserialization problems or a
>"null reference" down the
>road.


If you don't need to compare text nodes un-check "Compare text node" in the toolbar.


>Also, I'm not sure how you
>match namespaces, i.e. whether
>a p2: and a p3: will match if
>the p2: and p3: are defined as
>the same namespace.


The toolbar toggle "Compare namespace using URI" is what you are looking for.


Ivan Pedruzzi
Stylus Studio Team

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.