<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0">
  <channel>
    <title>
Altova Mailing List: microsoft.public.xml
    </title>
    <link>http://www.altova.com/</link>
    <description>Altova accelerates application development and data management projects with software and solutions that enhance productivity and maximize results. As an innovative, customer-focused company and the creator of XMLSpy and other leading XML, data administration, UML, and Web services tools, Altova is the choice of over 3 million clients worldwide, including virtually every Fortune 500 company. With customers ranging from vast development teams in the worldâ€™s largest organizations to progressive one-person shops, Altovaâ€™s line of software applications fulfills a broad spectrum of business needs. Altova is an active member of the World Wide Web Consortium (W3C) and Object Management Group (OMG) and is committed to delivering standards-based platform-independent solutions that are powerful, affordable, and easy to use. Altova was founded in 1992 and has headquarters in Beverly, Massachusetts and Vienna, Austria.</description>
    <language>en-us</language>
    <copyright>Copyright Â© 2005, 2006, 2007 Altova GmbH. All rights reserved. Altova, XMLSpy, MapForce, StyleVision, SemanticWorks, SchemaAgent, UModel, DiffDog, and Authentic are trademarks and/or registered trademarks of Altova GmbH in the United States and/or other countries. The names of and reference to other companies and products mentioned herein may be the trademarks of their respective owners.</copyright>
    <pubDate>Tue, 03 Jun 2008 10:00:00 EDT</pubDate>
    <lastBuildDate>Tue, 03 Jun 2008 10:00:00 EDT</lastBuildDate>
    <generator>Authentic RSS Editor, visit www.altova.com for details</generator>
    <managingEditor>pr@altova.com</managingEditor>
    <webMaster>webmaster@altova.com</webMaster>
    <image>
      <url>http://www.altova.com/images/logos/altova_right_120.gif</url>
      <title>ALTOVA</title>
      <link>http://www.altova.com/</link>
      <width>120</width>
      <height>24</height>
      <description>Altova Logo</description>
    </image>

<item>
<title>Re: Staging Website - 11/7/2009 4:55:00 PM</title>
<description><![CDATA[<pre>On Wed, 4 Nov 2009 15:26:06 -0800, Jan &lt;Jan@discussions.microsoft.com&gt;
wrote:

&gt;I work for a small company who are currently developing a new website.  I 
&gt;have been uploading properties (text, jpeg images) to the testing site 
&gt;thinking it was the site that would go live.  I have uploaded 120 properties 
&gt;to date.  I have now been told that the developers want to delete all the 
&gt;files I have uploaded on the testing site and will have to upload the same 
&gt;data to the the live site.  I am sure they should be able to copy the files 
&gt;over from the staging (test) site to the new (live) site.  Can anybody give 
&gt;me some advice please?  Thank you.


This is am XML newsgroup. Probably the wrong place to be asking about
internal development lifecycle/release processes I'd guess ;-)

Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2009
http://mvp.support.microsoft.com/mvpfaqs</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000306232.html</link>
</item><item>
<title>Re: How to load xml into an XDocument without indentation - 11/7/2009 12:11:00 PM</title>
<description><![CDATA[<pre>Rahul Aggarwal wrote:

&gt; I am trying to load xml into XDocument using XDocument.Load(filename). 
&gt; The cml in the file is not indented but when the xml gets loaded into 
&gt; the XDocument, it gets indented. The content I am loading is mixed 
&gt; content which causes issues for me. I have looked a lot but have not 
&gt; been able to figure out the answer.
&gt;  
&gt; *XDocument.Load(filename)  is indenting the XML that is being loaded*

Both the Load method and the Save method have options to control 
indendation.

You probably want to use
   XDocument doc = XDocument.Load(filename, LoadOptions.PreserveWhitespace);
and then
   doc.Save(filename, SaveOptions.DisableFormatting);

See http://msdn.microsoft.com/en-us/library/bb387014.aspx and 
http://msdn.microsoft.com/en-us/library/bb387103.aspx

-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000306216.html</link>
</item><item>
<title>How to load xml into an XDocument without indentation - 11/6/2009 4:55:00 PM</title>
<description><![CDATA[<pre>This is a multi-part message in MIME format.

------=_NextPart_000_0016_01CA5F01.E0933430
Content-Type: text/plain;
	charset=&quot;iso-8859-1&quot;
Content-Transfer-Encoding: quoted-printable

Hi,

I am trying to load xml into XDocument using XDocument.Load(filename). =
The cml in the file is not indented but when the xml gets loaded into =
the XDocument, it gets indented. The content I am loading is mixed =
content which causes issues for me. I have looked a lot but have not =
been able to figure out the answer.=20

XDocument.Load(filename)  is indenting the XML that is being loaded

Thanks
Rahul
------=_NextPart_000_0016_01CA5F01.E0933430
Content-Type: text/html;
	charset=&quot;iso-8859-1&quot;
Content-Transfer-Encoding: quoted-printable

&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=3DContent-Type content=3D&quot;text/html; =
charset=3Diso-8859-1&quot;&gt;
&lt;META content=3D&quot;MSHTML 6.00.6000.16915&quot; name=3DGENERATOR&gt;
&lt;STYLE&gt;&lt;/STYLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;Hi,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;I am trying to load xml into XDocument =
using=20
XDocument.Load(filename). The cml in the file is not indented but when =
the xml=20
gets loaded into the XDocument, it gets indented. The content I am =
loading is=20
mixed content which causes issues for me. I have looked a lot but have =
not been=20
able to figure out the answer. &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;&lt;STRONG&gt;XDocument.Load(filename)&amp;nbsp; =
is indenting=20
the XML that is being loaded&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;Thanks&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=3DArial size=3D2&gt;Rahul&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;

------=_NextPart_000_0016_01CA5F01.E0933430--</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000306174.html</link>
</item><item>
<title>Re: Fatal XML Parse Error: Invalid character (Unicode: 0x1D) - 11/6/2009 4:49:00 PM</title>
<description><![CDATA[<pre>Ismo Salonen wrote:
&gt; JR wrote:
&gt;&gt; I apologize up front for not being much of an XML guy.  We are trying 
&gt;&gt; to use a canned solution to send barcode strings via XML.  The canned 
&gt;&gt; solution works fine.  The one issue we are having is that the barcodes 
&gt;&gt; are GS1 compliant meaning we have ASCII character 29 (0x1D) embedded 
&gt;&gt; in our barcodes.  We want these strings to contain the character, but 
&gt;&gt; the parser just doesn't like them.
&gt;&gt;
&gt;&gt; Our heading is as follows:
&gt;&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
&gt;&gt; Anyone know of a means of passing such characters in an XML string?
&gt;&gt;
&gt; 
&gt; Could you use [CDATA] for those parts which use special reserved chars ?

A control characterlike 0x1D is not a special reserved character, it is 
not an allowed character. CDATA sections help to make your data more 
readable as you can use
   &lt;foo&gt;&lt;![CDATA[a &lt; b &amp;&amp; b &lt; c]]&gt;&lt;/foo&gt;
instead of
   &lt;foo&gt;a &amp;lt; b &amp;amp;&amp;amp; b &amp;lt; c&lt;/foo&gt;
but they don't help to put in characters that are not allowed in XML.


-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000306156.html</link>
</item><item>
<title>Re: Fatal XML Parse Error: Invalid character (Unicode: 0x1D) - 11/6/2009 2:34:00 PM</title>
<description><![CDATA[<pre>JR wrote:
&gt; I apologize up front for not being much of an XML guy.  We are trying to use 
&gt; a canned solution to send barcode strings via XML.  The canned solution works 
&gt; fine.  The one issue we are having is that the barcodes are GS1 compliant 
&gt; meaning we have ASCII character 29 (0x1D) embedded in our barcodes.  We want 
&gt; these strings to contain the character, but the parser just doesn't like them.
&gt; 
&gt; Our heading is as follows:
&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; 
&gt; 
&gt; Anyone know of a means of passing such characters in an XML string?
&gt; 

Could you use [CDATA] for those parts which use special reserved chars ?

ismo</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000306144.html</link>
</item><item>
<title>Re: Fatal XML Parse Error: Invalid character (Unicode: 0x1D) - 11/6/2009 12:00:00 PM</title>
<description><![CDATA[<pre>JR wrote:
&gt; I apologize up front for not being much of an XML guy.  We are trying to use 
&gt; a canned solution to send barcode strings via XML.  The canned solution works 
&gt; fine.  The one issue we are having is that the barcodes are GS1 compliant 
&gt; meaning we have ASCII character 29 (0x1D) embedded in our barcodes.  We want 
&gt; these strings to contain the character, but the parser just doesn't like them.
&gt; 
&gt; Our heading is as follows:
&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; 
&gt; 
&gt; Anyone know of a means of passing such characters in an XML string?

XML 1.0 does not allow that character.
I think XML 1.1 allows it if escaped with a character reference
  (e.g. &amp; # x 1 D;, without the spaces). However Microsoft does not have 
parsers that support XML 1.1.

With the Microsoft .NET framework 2.0 or later you should also be able 
to use version=&quot;1.0&quot;, escape the character as shown above and then parse 
it with an XmlReader with XmlReaderSettings where CheckCharacters is set 
to false:

             XmlReaderSettings xrs = new XmlReaderSettings();
             xrs.CheckCharacters = false;

             using (XmlReader xr = XmlReader.Create(&quot;input.xml&quot;, xrs))
             {
                ...
             }


The proper way with XML 1.0 however would be to base64 encode such 
characters, that way you would be able to pass the file around as XML 
1.0 and any XML parser can deal with it.

-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000306138.html</link>
</item><item>
<title>PERTMASTER - 11/5/2009 9:06:00 PM</title>
<description><![CDATA[<pre>http://rapidshare.com/files/176295854/Primavera.Pertmaster.Project.Risk.v8.5.0030-BEAN.rar



Bishan parshotam wrote:

hi - I need Pertmaster...how do I download and where?
09-Jul-07

hi - I need Pertmaster...how do I download and where

*** Sent via Developersdex http://www.developersdex.com ***

Previous Posts In This Thread:

On Monday, July 09, 2007 7:35 AM
Bishan parshotam wrote:

hi - I need Pertmaster...how do I download and where?
hi - I need Pertmaster...how do I download and where

*** Sent via Developersdex http://www.developersdex.com ***

On Friday, November 06, 2009 12:03 AM
jim duville wrote:

PERTMASTER
http://rapidshare.com/files/176295854/Primavera.Pertmaster.Project.Risk.v8.5.0030-BEAN.rar

EggHeadCafe - Software Developer Portal of Choice 
Book Review: C# 3.0 Cookbook [O'Reilly]
http://www.eggheadcafe.com/tutorials/aspnet/59386eb3-3049-46a7-8f07-63fe760096a7/book-review-c-30-cookb.aspx</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000306124.html</link>
</item><item>
<title>PERTMASTER - 11/5/2009 9:04:00 PM</title>
<description><![CDATA[<pre>http://rapidshare.com/files/176295854/Primavera.Pertmaster.Project.Risk.v8.5.0030-BEAN.rar



Bishan parshotam wrote:

hi - I need Pertmaster...how do I download and where?
09-Jul-07

hi - I need Pertmaster...how do I download and where

*** Sent via Developersdex http://www.developersdex.com ***

Previous Posts In This Thread:

On Monday, July 09, 2007 7:35 AM
Bishan parshotam wrote:

hi - I need Pertmaster...how do I download and where?
hi - I need Pertmaster...how do I download and where

*** Sent via Developersdex http://www.developersdex.com ***

EggHeadCafe - Software Developer Portal of Choice 
Database Normalization For Developers
http://www.eggheadcafe.com/tutorials/aspnet/0107750d-ed18-46b7-a695-1283294e3e1c/database-normalization-fo.aspx</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000306123.html</link>
</item><item>
<title>Fatal XML Parse Error: Invalid character (Unicode: 0x1D) - 11/5/2009 2:43:00 PM</title>
<description><![CDATA[<pre>I apologize up front for not being much of an XML guy.  We are trying to use 
a canned solution to send barcode strings via XML.  The canned solution works 
fine.  The one issue we are having is that the barcodes are GS1 compliant 
meaning we have ASCII character 29 (0x1D) embedded in our barcodes.  We want 
these strings to contain the character, but the parser just doesn't like them.

Our heading is as follows:
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; 

Anyone know of a means of passing such characters in an XML string?</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000306107.html</link>
</item><item>
<title>Staging Website - 11/4/2009 3:26:00 PM</title>
<description><![CDATA[<pre>I work for a small company who are currently developing a new website.  I 
have been uploading properties (text, jpeg images) to the testing site 
thinking it was the site that would go live.  I have uploaded 120 properties 
to date.  I have now been told that the developers want to delete all the 
files I have uploaded on the testing site and will have to upload the same 
data to the the live site.  I am sure they should be able to copy the files 
over from the staging (test) site to the new (live) site.  Can anybody give 
me some advice please?  Thank you.</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000306046.html</link>
</item><item>
<title>Re: MSXML Document Load does not return - 11/3/2009 8:13:00 PM</title>
<description><![CDATA[<pre>Adam Becker wrote:
&gt; My application runs as a service using MSXML3.  Typically, it runs
&gt; without any problems, however I occasionally see the call below to
&gt; load hang and never return:

There is an MSDN forum for MSXML
http://social.msdn.microsoft.com/Forums/en-US/msxml/threads/
where you are more likely to get a qualified answer than here as some 
Microsoft employees participate in the forum but not in this group.


-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000305957.html</link>
</item><item>
<title>Re: MSXML Document Load does not return - 11/3/2009 12:35:00 PM</title>
<description><![CDATA[<pre>http://social.msdn.microsoft.com/Forums/en-US/msxml/thread/85b0947c-b2da-4d90-944f-51acc0e9538a</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000305961.html</link>
</item><item>
<title>MSXML Document Load does not return - 11/3/2009 10:27:00 AM</title>
<description><![CDATA[<pre>My application runs as a service using MSXML3.  Typically, it runs
without any problems, however I occasionally see the call below to
load hang and never return:

CComPtr&lt; IXMLDOMDocument&gt; pTempDoc;
hr =3D pTempDoc.CoCreateInstance(__uuidof(FreeThreadedDOMDocument));
=85
hr =3D pTempDoc-&gt;load(varFilePath, &amp;bLoadResult);

The file path is to a URL that is hosted on the local machine.  If I
log on to the machine with the same user that the service is running
as I can access the URL just fine via IE.  SSL is not in the picture.
Nothing appears to have any locks on the file.  Here is a stack trace
of the thread that is hung by this call (from a mini dump:)

00 061edca4 7739bbd1 ntdll!KiFastSystemCallRet
01 061edd00 7739ce36 user32!MsgWaitForMultipleObjectsEx+0xd7
02 061edd1c 6f376d93 user32!MsgWaitForMultipleObjects+0x1f
03 061edd6c 6f376df5 urlmon!FindMimeFromData+0x561
04 061edda8 6f35aeeb urlmon!FindMimeFromData+0x5c3
05 061ede2c 6f35ab49 urlmon!CreateURLMonikerEx2+0xc53
06 061ede70 6f35af82 urlmon!CreateURLMonikerEx2+0x8b1
07 061ede94 72e73718 urlmon!CreateURLMonikerEx2+0xcea
08 061edee0 72e72bdd msxml3!DllCanUnloadNow+0x9c7d
09 061edefc 72e72b26 msxml3!DllCanUnloadNow+0x9142
0a 061edf30 72e729d9 msxml3!DllCanUnloadNow+0x908b
0b 061edf5c 72e6295c msxml3!DllCanUnloadNow+0x8f3e
0c 061edfe0 72e73259 msxml3!DllGetClassObject+0xa2f3
0d 061edffc 72e73141 msxml3!DllCanUnloadNow+0x97be
0e 061ee07c 01a30740 msxml3!DllCanUnloadNow+0x96a6

I have found that if I delete the local user the service runs as and
re-create it, then the problem will go away, however, I=92m not too fond
of this as a solution.  Does anyone know what could cause this or what
I could do to better debug this issue?  I should probably add that
this is not something that I can reproduce at will but I do have a
memory dump of a process that is in this state.

Thanks for any help.</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000305949.html</link>
</item><item>
<title>Re: q) XML Schema and valid XML documents - 11/2/2009 9:04:00 PM</title>
<description><![CDATA[<pre>Andy Dingley wrote:
&gt; On 30 Oct, 17:49, Generic Usenet Account &lt;use...@sta.samsung.com&gt;
&gt; wrote:
&gt;&gt; Wikipedia provides the following definition for valid XML document
&gt;&gt; (http://en.wikipedia.org/wiki/XML):
&gt; 
&gt; I'm normally fairly pro-Wikipedia, but many of the software articles
&gt; are poor, and certainly the XML stuff.
&gt; 
&gt; There's very little need for WP content on technical issues like this,
&gt; as it's well described elsewhere. This also discourages (or fails to
&gt; encourage) the competent WP editors to do anything about the XML
&gt; content. So read those sources, not WP.

Oh dear. It has deteriorated, hasn't it? It used to be much better than 
that. When I have more time...

///Peter</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000305868.html</link>
</item><item>
<title>Re: q) XML Schema and valid XML documents - 11/2/2009 4:09:00 AM</title>
<description><![CDATA[<pre>On 30 Oct, 17:49, Generic Usenet Account &lt;use...@sta.samsung.com&gt;
wrote:
&gt; Wikipedia provides the following definition for valid XML document
&gt; (http://en.wikipedia.org/wiki/XML):

I'm normally fairly pro-Wikipedia, but many of the software articles
are poor, and certainly the XML stuff.

There's very little need for WP content on technical issues like this,
as it's well described elsewhere. This also discourages (or fails to
encourage) the competent WP editors to do anything about the XML
content. So read those sources, not WP.</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200911/msg1000305832.html</link>
</item><item>
<title>Re: q) XML Schema and valid XML documents - 10/30/2009 6:14:00 PM</title>
<description><![CDATA[<pre>In article &lt;cfa21e4e-a46b-4f13-91af-3ab1af2d767b@15g2000yqy.googlegroups.com&gt;,
Generic Usenet Account  &lt;usenet@sta.samsung.com&gt; wrote:

&gt;   it contains a reference to a Document Type Definition (DTD),
&gt;   and that its elements and attributes are declared in that DTD
&gt;   and follow the grammatical rules for them that the DTD
&gt;   specifies.

&gt;There is no reference to XML Schema in the above defintion.

Without additional context, &quot;valid&quot; means &quot;valid according to its
DTD&quot;, and that's how it's defined in the XML spec.  In the context of
XML Schemas, it can of course mean &quot;valid according to a schema&quot;.  If
you want to be less ambiguous, use the term &quot;schema valid&quot; or (since
there are other schema languages) &quot;XML Schema valid&quot;.

-- Richard
-- 
Please remember to mention me / in tapes you leave behind.</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000305657.html</link>
</item><item>
<title>Error from VBA call to WEb service via webservicereferences ver 2.0 - 10/30/2009 5:59:00 PM</title>
<description><![CDATA[<pre>I am getting this error in my running:

'DSHS.SNF.Model.Message.UserMessageFactory' threw an exception. ---&gt;
Application.Messages.File doesn't exist in the Application Settings.

Suggestions?

Bpb</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000305674.html</link>
</item><item>
<title>q) XML Schema and valid XML documents - 10/30/2009 10:50:00 AM</title>
<description><![CDATA[<pre>Wikipedia provides the following definition for valid XML document
(http://en.wikipedia.org/wiki/XML):

   it contains a reference to a Document Type Definition (DTD),
   and that its elements and attributes are declared in that DTD
   and follow the grammatical rules for them that the DTD
   specifies.


There is no reference to XML Schema in the above defintion.  I am
presuming that this is a dated definition for valid XML document and
that an XML document that has an XML Schema associated with it is also
a valid XML document.

Kindly confirm.

Thanks,
Ramesh</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000305652.html</link>
</item><item>
<title>Re: XML to TXT - 10/28/2009 3:34:00 PM</title>
<description><![CDATA[<pre>&quot;Martin Honnen&quot; &lt;mahotrash@yahoo.de&gt; wrote in message 
news:emzQ7MkTKHA.4408@TK2MSFTNGP06.phx.gbl...
&gt; Tom Woods wrote:
&gt;&gt; Sorry for being so vague.  What I would like to do is to read the 
&gt;&gt; XmlDocument line by line and add each line into a memo field.
&gt;&gt;
&gt;&gt; When I use the InnerXml, it's just one long string with no CR/LF.
&gt;&gt;
&gt;&gt; Can this be done?
&gt;
&gt; The XML APIs don't expose XML line by line, rather they expose nodes.
&gt; But you can of course use the normal file IO APIs to read line by line.
&gt;
&gt; And if InnerXml does not give you what you want then you might simply want 
&gt; to set PreserveWhitespace to true before you load your XML document:
&gt;
&gt;   XmlDocument doc = new XmlDocument();
&gt;   doc.PreserveWhitespace = true;
&gt;   doc.Load(&quot;file.xml&quot;);
&gt;   // now doc.OuterXml/InnerXml has any white space the original document 
&gt; contains
&gt;

Wouldn't it be far better and simpler to use XSLT to transform the XML into 
the appropriate format?

-Pete</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000305498.html</link>
</item><item>
<title>Problem viewing XML files in IE - 10/27/2009 7:14:00 PM</title>
<description><![CDATA[<pre>IE8 attempts to download rather than open any XML file I try to display 
(discovered trying to open log file having .xml extension).  Tried and MS 
support and google searches without success.  I need help in restoring IE8 
settings.

Thx
-- 
AlWhit55</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000305451.html</link>
</item><item>
<title>IXMLDOMDocument::Save() with line breaks and indenting? - 10/21/2009 7:09:00 AM</title>
<description><![CDATA[<pre>Hello!

I had same problem with IXMLDOMDocument. It saves xml in huge line.
I found sample that it creates and saves xml document correctly with line breaks and indents.
http://msdn.microsoft.com/en-us/library/ms766497(VS.85).aspx
I used this code and that solved my problem.

Hope, it will helpful for you.



Cartoper wrote:

IXMLDOMDocument::Save() with line breaks and indenting?
30-???-08

How do you use MSXML2::IXMLDOMDocument::save() to include line break
and indents?

Previous Posts In This Thread:

On 29 ???? 2008 ?. 7:20
Martin Honnen wrote:

Re: IXMLDOMDocument::Save() with line breaks and indenting?
Cartoper wrote

I do not think you can get the save method to indent. What you can d
however is run an XSLT transformation to create an indentend document
then save that
The XSLT stylesheet to do

On 30 ???? 2008 ?. 20:31
Cartoper wrote:

IXMLDOMDocument::Save() with line breaks and indenting?
How do you use MSXML2::IXMLDOMDocument::save() to include line break
and indents?

On 2 ???? 2008 ?. 6:50
Sam Hobbs wrote:

A few months ago I asked a similar question and got a similar answer.
A few months ago I asked a similar question and got a similar answer. 
do not remember if there was more information in that thread but I kno
someone suggested use of a separate utility to reformat

EggHeadCafe - Software Developer Portal of Choice 
How To Create a Custom IE8 Accelerator
http://www.eggheadcafe.com/tutorials/aspnet/8ae07577-f1c5-498b-a7da-11c3e7cc2a61/how-to-create-a-custom-ie.aspx</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000305038.html</link>
</item><item>
<title>Re: XML to TXT - 10/16/2009 11:30:00 AM</title>
<description><![CDATA[<pre>Tom Woods wrote:
&gt; Sorry for being so vague.  What I would like to do is to read the 
&gt; XmlDocument line by line and add each line into a memo field.
&gt; 
&gt; When I use the InnerXml, it's just one long string with no CR/LF.
&gt; 
&gt; Can this be done?

The XML APIs don't expose XML line by line, rather they expose nodes.
But you can of course use the normal file IO APIs to read line by line.

And if InnerXml does not give you what you want then you might simply 
want to set PreserveWhitespace to true before you load your XML document:

   XmlDocument doc = new XmlDocument();
   doc.PreserveWhitespace = true;
   doc.Load(&quot;file.xml&quot;);
   // now doc.OuterXml/InnerXml has any white space the original 
document contains


-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304949.html</link>
</item><item>
<title>Re: XML to TXT - 10/15/2009 12:36:00 PM</title>
<description><![CDATA[<pre>Sorry for being so vague.  What I would like to do is to read the 
XmlDocument line by line and add each line into a memo field.

When I use the InnerXml, it's just one long string with no CR/LF.

Can this be done?

Thanks,
Tom


&quot;Martin Honnen&quot; &lt;mahotrash@yahoo.de&gt; wrote in message 
news:eHKbKxXTKHA.4324@TK2MSFTNGP05.phx.gbl...
&gt; Tom Woods wrote:
&gt;&gt; Is there a simple way to take a Xml.XmlDocument and save it as a TXT file 
&gt;&gt; with formatting?
&gt;
&gt; There is a Save method which has an overload that takes a file name:
&gt; http://msdn.microsoft.com/en-us/library/dw229a22.aspx
&gt; That serializes the DOM tree and saves it to a file.
&gt;
&gt; If that is not what you want then please explain in more detail what kind 
&gt; of &quot;formatting&quot; you have in mind.
&gt;
&gt;
&gt; -- 
&gt;
&gt; Martin Honnen --- MVP XML
&gt; http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304940.html</link>
</item><item>
<title>Re: XML to TXT - 10/15/2009 11:46:00 AM</title>
<description><![CDATA[<pre>Tom Woods wrote:
&gt; Is there a simple way to take a Xml.XmlDocument and save it as a TXT file 
&gt; with formatting?

There is a Save method which has an overload that takes a file name:
http://msdn.microsoft.com/en-us/library/dw229a22.aspx
That serializes the DOM tree and saves it to a file.

If that is not what you want then please explain in more detail what 
kind of &quot;formatting&quot; you have in mind.


-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304930.html</link>
</item><item>
<title>XML to TXT - 10/14/2009 3:25:00 PM</title>
<description><![CDATA[<pre>Is there a simple way to take a Xml.XmlDocument and save it as a TXT file 
with formatting?

Thanks,
Tom</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304911.html</link>
</item><item>
<title>Re: How to use VBA and Web Service References add-in to create soap  call with SOAP header authentication Options - 10/12/2009 4:41:00 PM</title>
<description><![CDATA[<pre>On Oct 12, 10:43=A0am, &quot;Gregory A. Beamer&quot;
&lt;NoSpamMgbwo...@comcast.netNoSpamM&gt; wrote:
&gt; Bob Alston &lt;bobals...@gmail.com&gt; wrote in news:b4065d66-39cc-4db5-8659-
&gt; ad8abe276...@k26g2000vbp.googlegroups.com:
&gt;
&gt; &gt; Yes, I am well aware of that. =A0That is exactly my question: =A0HOW to
&gt; &gt; establish that header????
&gt;
&gt; You have two options with SOAP. One is to use setRequestHeader. This
&gt; works for many of the standard header types, like auth headers, content
&gt; type, etc. If this does not help, you often have to move deeper into the
&gt; stack, which is more easily done via a COM component than VBA itself.
&gt;
&gt; If you need to actually edit the envelope rather than headers, then you
&gt; can use the SOAP Toolkit. If this is not working for you, creating the
&gt; XML for the SOAP envelope and message is a latch ditch effort.
&gt;
&gt; Peace and Grace,
&gt;
&gt; --
&gt; Gregory A. Beamer
&gt; MVP; MCP: +I, SE, SD, DBA
&gt;
&gt; Twitter: @gbworld
&gt; Blog:http://gregorybeamer.spaces.live.com
&gt;
&gt; *******************************************
&gt; | =A0 =A0 =A0Think outside the box! =A0 =A0 =A0 =A0 =A0 =A0 |
&gt; *******************************************

Any chance you or someone can post an example of how to set the soap
authentication header via vba?

Bob</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304866.html</link>
</item><item>
<title>Re: How to use VBA and Web Service References add-in to create soap  call with SOAP header authentication Options - 10/12/2009 8:43:00 AM</title>
<description><![CDATA[<pre>Bob Alston &lt;bobalston@gmail.com&gt; wrote in news:b4065d66-39cc-4db5-8659-
ad8abe276f0b@k26g2000vbp.googlegroups.com:

&gt; Yes, I am well aware of that.  That is exactly my question:  HOW to
&gt; establish that header????

You have two options with SOAP. One is to use setRequestHeader. This 
works for many of the standard header types, like auth headers, content 
type, etc. If this does not help, you often have to move deeper into the 
stack, which is more easily done via a COM component than VBA itself.

If you need to actually edit the envelope rather than headers, then you 
can use the SOAP Toolkit. If this is not working for you, creating the 
XML for the SOAP envelope and message is a latch ditch effort.

Peace and Grace,

-- 
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
|      Think outside the box!             |
*******************************************</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304846.html</link>
</item><item>
<title>Re: How to get value of attribute (XPath)? - 10/7/2009 4:10:00 PM</title>
<description><![CDATA[<pre>LJB wrote:
&gt; I've been trying to return the value of an attribute named &quot;server&quot; but keep 
&gt; getting an XPathSelectionIterator. What do I need to change? The following 
&gt; returns &quot;1&quot; which is what I expected.
&gt; Console.WriteLine(nav.Evaluate(&quot;count(//location[@office='JAC'])&quot;));
&gt; I'm thinking it should be something like
&gt; Console.WriteLine(nav.Evaluate(&quot;//location[@office='JAC']/@server&quot;));
&gt; but that doesn't give me the value.

If you want to access a single node you might want to use 
SelectSingleNode instead of Evaluate, that way you get an XPathNavigator 
and can access the Value property e.g.

   XPathNavigator server = 
nav.SelectSingleNode(&quot;//location[@office='JAC']/@server&quot;);
   if (server != null) // XPath found node
   {
     Console.WriteLine(server.Value);
   }
   else // handle case that no node was found
   {
     //
   }


-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304497.html</link>
</item><item>
<title>Re: How to get value of attribute (XPath)? - 10/7/2009 10:40:00 AM</title>
<description><![CDATA[<pre>&quot;Martin Honnen&quot; &lt;mahotrash@yahoo.de&gt; wrote in message 
news:%23VY7Pf1RKHA.4028@TK2MSFTNGP05.phx.gbl...
&gt; LJB wrote:
&gt;&gt; I've been trying to return the value of an attribute named &quot;server&quot; but 
&gt;&gt; keep getting an XPathSelectionIterator. What do I need to change? The 
&gt;&gt; following returns &quot;1&quot; which is what I expected.
&gt;&gt; Console.WriteLine(nav.Evaluate(&quot;count(//location[@office='JAC'])&quot;));
&gt;&gt; I'm thinking it should be something like
&gt;&gt; Console.WriteLine(nav.Evaluate(&quot;//location[@office='JAC']/@server&quot;));
&gt;&gt; but that doesn't give me the value.
&gt;
&gt; If you want to access a single node you might want to use SelectSingleNode 
&gt; instead of Evaluate, that way you get an XPathNavigator and can access the 
&gt; Value property e.g.
&gt;
&gt;   XPathNavigator server = 
&gt; nav.SelectSingleNode(&quot;//location[@office='JAC']/@server&quot;);
&gt;   if (server != null) // XPath found node
&gt;   {
&gt;     Console.WriteLine(server.Value);
&gt;   }
&gt;   else // handle case that no node was found
&gt;   {
&gt;     //
&gt;   }
&gt;
&gt;
&gt; -- 
&gt;
&gt; Martin Honnen --- MVP XML
&gt; http://msmvps.com/blogs/martin_honnen/

THANK YOU. It works perfectly.</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304504.html</link>
</item><item>
<title>How to get value of attribute (XPath)? - 10/7/2009 7:14:00 AM</title>
<description><![CDATA[<pre>I've been trying to return the value of an attribute named &quot;server&quot; but keep 
getting an XPathSelectionIterator. What do I need to change? The following 
returns &quot;1&quot; which is what I expected.
Console.WriteLine(nav.Evaluate(&quot;count(//location[@office='JAC'])&quot;));
I'm thinking it should be something like
Console.WriteLine(nav.Evaluate(&quot;//location[@office='JAC']/@server&quot;));
but that doesn't give me the value.

thanks
LJB</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304480.html</link>
</item><item>
<title>How to save a treeview structure as XML - 10/6/2009 1:18:00 PM</title>
<description><![CDATA[<pre>Hi!
I would like to create an xml stucture using a treeview (inside a VBA Excel 
userform). In the treeview, I can play with node (move, drag and drop, 
increase or decrease the level). I would like to save the treeview structure 
as a xml structure. Is there a way to do that?

In fact, I have an Excel file  that contains a lot of information and I want 
to create a Text Editor using an XML structure. A Word document will be 
generated according to the XML structure when the report is generated. The 
data of the .xml will be stored inside Excel cell's to avoid using multiple 
files.

Any help will be very appreciated.
Thank you!
Alex
-- 
Alex St-Pierre</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304422.html</link>
</item><item>
<title>Re: How to use VBA and Web Service References add-in to create soap  call with SOAP header authentication Options - 10/5/2009 5:34:00 PM</title>
<description><![CDATA[<pre>On Sep 30, 11:30=A0am, &quot;Gregory A. Beamer&quot;
&lt;NoSpamMgbwo...@comcast.netNoSpamM&gt; wrote:
&gt; Bob Alston &lt;bobals...@gmail.com&gt; wrote innews:3ffe669c-22df-4689-9fa0-6a9=
ce28f3662@k4g2000yqb.googlegroups.com:
&gt;
&gt; &gt; Please take a look at my post on microsoft.public.xml.soap
&gt;
&gt; &gt;http://groups.google.com/group/microsoft.public.xml.soap/browse_thread/
&gt; &gt; thread/560a8c872cf5de96#
&gt;
&gt; With VBA, using XmlHttp, you have to set up your own authentication heade=
r.
&gt; Here is a stack overflow question that hits on the issue:
&gt;
&gt; http://stackoverflow.com/questions/1358550/xmlhttp-request-basic-
&gt; authentication-issue
&gt;
&gt; --
&gt; Gregory A. Beamer
&gt; MVP; MCP: +I, SE, SD, DBA
&gt;
&gt; Twitter: @gbworld
&gt; Blog:http://gregorybeamer.spaces.live.com
&gt;
&gt; *******************************************
&gt; | =A0 =A0 =A0Think outside the box! =A0 =A0 =A0 =A0 =A0 =A0 |
&gt; *******************************************

Yes, I am well aware of that.  That is exactly my question:  HOW to
establish that header????

Bob</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304350.html</link>
</item><item>
<title>Re: getUserData - 10/4/2009 12:14:00 PM</title>
<description><![CDATA[<pre>Thanks a lot!
:-((( I need to get this done in MSXML for now :-(((
Argh.


Martin Honnen schrieb:
&gt; J&#252;rgen Ullmann wrote:
&gt; 
&gt;&gt; In Xerces XML library I have the getUserData function.
&gt;&gt; Does anybody perhaps know what MS'es function (MSXML2) for this is 
&gt;&gt; called?
&gt;&gt;
&gt;&gt; http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-getUserData
&gt; 
&gt; MSXML is very much W3C DOM Level 1 Core/XML with proprietary extensions 
&gt; like createNode or selectNodes/selectSingleNode to deal with namespaces.
&gt; 
&gt; I am not aware of way to attach user data to MSXML nodes.
&gt; 
&gt; If you move to the .NET world then LINQ to XML provides a way to 
&gt; annotate LINQ to XML nodes/objects:
&gt; http://msdn.microsoft.com/en-us/library/system.xml.linq.xobject.addannotation.aspx 
&gt; 
&gt; http://msdn.microsoft.com/en-us/library/system.xml.linq.xnode.annotation.aspx 
&gt; 
&gt; I think that is similar to the W3C DOM Level 3 user data.
&gt;</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304246.html</link>
</item><item>
<title>Re: getUserData - 10/4/2009 11:58:00 AM</title>
<description><![CDATA[<pre>J&#252;rgen Ullmann wrote:

&gt; In Xerces XML library I have the getUserData function.
&gt; Does anybody perhaps know what MS'es function (MSXML2) for this is called?
&gt; 
&gt; http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-getUserData

MSXML is very much W3C DOM Level 1 Core/XML with proprietary extensions 
like createNode or selectNodes/selectSingleNode to deal with namespaces.

I am not aware of way to attach user data to MSXML nodes.

If you move to the .NET world then LINQ to XML provides a way to 
annotate LINQ to XML nodes/objects:
http://msdn.microsoft.com/en-us/library/system.xml.linq.xobject.addannotation.aspx
http://msdn.microsoft.com/en-us/library/system.xml.linq.xnode.annotation.aspx
I think that is similar to the W3C DOM Level 3 user data.

-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304245.html</link>
</item><item>
<title>getUserData - 10/3/2009 10:12:00 PM</title>
<description><![CDATA[<pre>Hello all!

In Xerces XML library I have the getUserData function.
Does anybody perhaps know what MS'es function (MSXML2) for this is called?

http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-getUserData

Thanks a lot!
J&#252;rgen Ullmann</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304206.html</link>
</item><item>
<title>Re: SVG DOM - 10/1/2009 4:39:00 PM</title>
<description><![CDATA[<pre>&gt;&gt; It seems the intended way to reuse LINQ to XML classes is the annotation 
&gt;&gt; feature:
&gt;&gt; http://blogs.msdn.com/mikechampion/archive/2006/08/17/705278.aspx
&gt;
&gt;    This seems fine enough. And possibility to &quot;inject methods&quot; through 
&gt; extensions seems very helpful as well (an example shown in 
&gt; http://blogs.msdn.com/mikechampion/archive/2006/09/10/748408.aspx).
&gt;    However after few small code experiments I came to a conclusion that it 
&gt; might not be enough. I considered adding classes with SVG DOM-like 
&gt; properties as annotations to the XElements. An example is the base IDL 
&gt; SVGElement which contains attributes &quot;id&quot; and &quot;xmlbase&quot; (referring to &quot;id&quot; 
&gt; element attribute and &quot;xml:base&quot; element attribute). I changed it to an 
&gt; SvgElement class with Id and XmlBase properties. But then natural question 
&gt; occurs: should those be get only or get/set? In the IDL's SVGElement they 
&gt; are get/set (with some restrictions).  If I was to support the setting how 
&gt; would I do that? I considered constructing my SvgElement with XElement (to 
&gt; which it referrers) given during construction and not only reading 
&gt; appropriate data but also storing the XElement to be able latter to set 
&gt; the data in setters.

    There is yet another solution. Instead of adding annotation data I could 
use extension methods. To continue the example I could make GetId and SetId 
extension methods for XElement. This could be generalized to other functions 
and attributes defined in SVG DOM. (Functions and attributes for more 
specific SVG elements could just check at the beginning whether the &quot;this&quot; 
XElement is the required one.)
    However again there are some drawbacks. First attributes no longer can 
be mapped to properties as there are no &quot;extension properties&quot; (pity, as I 
like properties very much). I have to have Set* and Get* methods. But this 
is a minor issue. A more important one is that the values returned by 
functions will have to be computed each time anew since the extension 
methods do not have any &quot;memory&quot;. I might want to make some kind of cache in 
the class defining the extension method this however seems quite complex (to 
update the cache upon value change) and will be hard to control (so that the 
cache does not grow to large storing xml trees already unused).
    So after all I think that DOM-like extending System.Xml.Linq classes is 
kind of hard if at all possible.

    Adam Badura</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200910/msg1000304047.html</link>
</item><item>
<title>Re: SVG DOM - 9/30/2009 8:51:00 PM</title>
<description><![CDATA[<pre>&gt; It seems the intended way to reuse LINQ to XML classes is the annotation 
&gt; feature:
&gt; http://blogs.msdn.com/mikechampion/archive/2006/08/17/705278.aspx

    This seems fine enough. And possibility to &quot;inject methods&quot; through 
extensions seems very helpful as well (an example shown in 
http://blogs.msdn.com/mikechampion/archive/2006/09/10/748408.aspx).
    However after few small code experiments I came to a conclusion that it 
might not be enough. I considered adding classes with SVG DOM-like 
properties as annotations to the XElements. An example is the base IDL 
SVGElement which contains attributes &quot;id&quot; and &quot;xmlbase&quot; (referring to &quot;id&quot; 
element attribute and &quot;xml:base&quot; element attribute). I changed it to an 
SvgElement class with Id and XmlBase properties. But then natural question 
occurs: should those be get only or get/set? In the IDL's SVGElement they 
are get/set (with some restrictions).  If I was to support the setting how 
would I do that? I considered constructing my SvgElement with XElement (to 
which it referrers) given during construction and not only reading 
appropriate data but also storing the XElement to be able latter to set the 
data in setters.
    All fine but what if the user copies XElement? The annotation is not 
copied. (And even if I would find a way to copy it it would still be 
incorrect as internal XElement reference would be to the original XElement.) 
Also if user adds a new XElement to the tree I have very poor means to 
detect it to be able to add appropriate annotation.
    Do you have any suggestions to work around this?

    Adam Badura</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303974.html</link>
</item><item>
<title>Re: How to use VBA and Web Service References add-in to create soap call  with SOAP header authentication Options - 9/30/2009 9:30:00 AM</title>
<description><![CDATA[<pre>Bob Alston &lt;bobalston@gmail.com&gt; wrote in
news:3ffe669c-22df-4689-9fa0-6a9ce28f3662@k4g2000yqb.googlegroups.com: 

&gt; Please take a look at my post on microsoft.public.xml.soap
&gt; 
&gt; http://groups.google.com/group/microsoft.public.xml.soap/browse_thread/
&gt; thread/560a8c872cf5de96# 


With VBA, using XmlHttp, you have to set up your own authentication header. 
Here is a stack overflow question that hits on the issue:

http://stackoverflow.com/questions/1358550/xmlhttp-request-basic-
authentication-issue

-- 
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
|      Think outside the box!             |
*******************************************</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303964.html</link>
</item><item>
<title>How to use VBA and Web Service References add-in to create soap call  with SOAP header authentication Options - 9/28/2009 1:34:00 PM</title>
<description><![CDATA[<pre>Please take a look at my post on microsoft.public.xml.soap

http://groups.google.com/group/microsoft.public.xml.soap/browse_thread/thread/560a8c872cf5de96#</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303828.html</link>
</item><item>
<title>Re: SVG DOM - 9/28/2009 1:05:00 PM</title>
<description><![CDATA[<pre>Adam Badura wrote:
&gt;    Maybe I misread some part of the documentation or don't know C# well 
&gt; enough but some functions and properties don't seem to be overridable. 
&gt; For example XElement.Add 
&gt; (http://msdn.microsoft.com/en-us/library/bb354061.aspx). Also for 
&gt; example XDocument.Load is static rather then virtual so to construct my 
&gt; own classes during loading XML I would have to provide in XMyDocument a 
&gt; function MyLoad for example.
&gt;    Or are there any examples of inheriting from X* classes?

It seems the intended way to reuse LINQ to XML classes is the annotation 
feature:
http://blogs.msdn.com/mikechampion/archive/2006/08/17/705278.aspx

-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303791.html</link>
</item><item>
<title>Re: SVG DOM - 9/28/2009 12:46:00 PM</title>
<description><![CDATA[<pre>Maybe I misread some part of the documentation or don't know C# well 
enough but some functions and properties don't seem to be overridable. For 
example XElement.Add 
(http://msdn.microsoft.com/en-us/library/bb354061.aspx). Also for example 
XDocument.Load is static rather then virtual so to construct my own classes 
during loading XML I would have to provide in XMyDocument a function MyLoad 
for example.
    Or are there any examples of inheriting from X* classes?

    Adam Badura

&quot;Martin Honnen&quot; &lt;mahotrash@yahoo.de&gt; wrote in message 
news:ezUYzGCQKHA.4244@TK2MSFTNGP06.phx.gbl...
&gt; Adam Badura wrote:
&gt;&gt;    I want to implement classes for SVG DOM as described in SVG 
&gt;&gt; Specification. However I don't want to reimplement entire XML DOM because 
&gt;&gt; firstly it is a lot of work and secondly this would make using them with 
&gt;&gt; existing code harder (when compared to using System.Xml classes). I 
&gt;&gt; preferred System.Xml.Linq classes since I do not require strict 
&gt;&gt; conformance to DOM specification and I think X* classes are much easier 
&gt;&gt; to use. However it seems that those classes were not meant to be 
&gt;&gt; inherited from. So what are the options? What do you think I should do?
&gt;
&gt; Can you explain why you think that those &quot;classes were not meant to be 
&gt; inherited from&quot;?
&gt; XElement
&gt; http://msdn.microsoft.com/en-us/library/system.xml.linq.xelement.aspx
&gt; for instance is certainly not sealed/final.
&gt;
&gt;
&gt; -- 
&gt;
&gt; Martin Honnen --- MVP XML
&gt; http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303787.html</link>
</item><item>
<title>Re: SVG DOM - 9/28/2009 11:55:00 AM</title>
<description><![CDATA[<pre>Adam Badura wrote:
&gt;    I want to implement classes for SVG DOM as described in SVG 
&gt; Specification. However I don't want to reimplement entire XML DOM 
&gt; because firstly it is a lot of work and secondly this would make using 
&gt; them with existing code harder (when compared to using System.Xml 
&gt; classes). I preferred System.Xml.Linq classes since I do not require 
&gt; strict conformance to DOM specification and I think X* classes are much 
&gt; easier to use. However it seems that those classes were not meant to be 
&gt; inherited from. So what are the options? What do you think I should do?

Can you explain why you think that those &quot;classes were not meant to be 
inherited from&quot;?
XElement
http://msdn.microsoft.com/en-us/library/system.xml.linq.xelement.aspx
for instance is certainly not sealed/final.


-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303784.html</link>
</item><item>
<title>SVG DOM - 9/28/2009 11:14:00 AM</title>
<description><![CDATA[<pre>I want to implement classes for SVG DOM as described in SVG 
Specification. However I don't want to reimplement entire XML DOM because 
firstly it is a lot of work and secondly this would make using them with 
existing code harder (when compared to using System.Xml classes). I 
preferred System.Xml.Linq classes since I do not require strict conformance 
to DOM specification and I think X* classes are much easier to use. However 
it seems that those classes were not meant to be inherited from. So what are 
the options? What do you think I should do?

    Adam Badura</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303783.html</link>
</item><item>
<title>Re: Trying to send XML document via XMLHTTP Open and Send methods - 9/26/2009 7:50:00 AM</title>
<description><![CDATA[<pre>On Sep 25, 3:27=A0pm, &quot;Bob Barrows&quot; &lt;reb01...@NOyahoo.SPAMcom&gt; wrote:
&gt; Bob Alston wrote:
&gt; &gt; I keep getting the error: =A0-2147024809 =A0(80070057) =A0The parameter=
 is
&gt; &gt; incorrect
&gt;
&gt; &gt; Here is the XML text:
&gt;
&gt; &gt; &lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;utf-8&quot;?&gt;
&gt; &gt; &lt;soap12:Envelope xmlns:xsi=3D&quot;http://www.w3.org/2001/XMLSchema-instance=
&quot;
&gt; &lt;snip&gt;
&gt; &gt; &lt;/soap12:Envelope&gt;
&gt;
&gt; &gt; Here is my VBA code:
&gt;
&gt; &gt; Private Sub Command2_Click()
&gt; &gt; =A0 =A0 Dim XMLConnectString As String
&gt;
&gt; &gt; =A0 =A0 Dim XMLResponseText As String
&gt; &gt; =A0 =A0 Me.Responsetext =3D &quot;&quot;
&gt; &gt; =A0 =A0 XMLConnectString =3D Me.fld
&gt; &gt; =A0 =A0 'Create the xmlhttp object
&gt; &lt;snip&gt;
&gt; &gt; =A0 =A0 Call xmlhttp.send(XMLConnectString)
&gt;
&gt; &lt;snip&gt;
&gt; &gt; The error line is: =A0 =A0Call xmlhttp.send(XMLConnectString)
&gt;
&gt; &gt; Hopefully this is something simple.
&gt;
&gt; Oh wait ... you can't pass a string. You have to pass an xmldocument:
&gt; dim xmlSend as msxml2.domdocument
&gt; set xmlsend =3D new msxml2.domdocument
&gt; xmlsend.loadxml XMLConnectString
&gt; Call xmlhttp.send(xmlsend)
&gt;
&gt; I suggest you use &quot;msxml2.&quot; rather than &quot;Microsoft.&quot; to avoid xml parser
&gt; version issues.
&gt; And it doesn't really make a lot of difference but I only use
&gt; CreateObject in vbscript ... this definietly comes under the heading of
&gt; &quot;personal preference&quot;.
&gt;
&gt; --
&gt; HTH,
&gt; Bob Barrows- Hide quoted text -
&gt;
&gt; - Show quoted text -

Thank you.  that was it.  I cannot send a string.
I used

    Dim xmldoc
    Set xmldoc =3D CreateObject(&quot;Microsoft.xmldom&quot;)
    xmldoc.loadxml (XMLConnectString)

Bob</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303687.html</link>
</item><item>
<title>Re: Trying to send XML document via XMLHTTP Open and Send methods - 9/25/2009 4:27:00 PM</title>
<description><![CDATA[<pre>Bob Alston wrote:
&gt; I keep getting the error:  -2147024809  (80070057)  The parameter is
&gt; incorrect
&gt;
&gt; Here is the XML text:
&gt;
&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&gt; &lt;soap12:Envelope xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
&lt;snip&gt;
&gt; &lt;/soap12:Envelope&gt;
&gt;
&gt; Here is my VBA code:
&gt;
&gt; Private Sub Command2_Click()
&gt;     Dim XMLConnectString As String
&gt;
&gt;     Dim XMLResponseText As String
&gt;     Me.Responsetext = &quot;&quot;
&gt;     XMLConnectString = Me.fld
&gt;     'Create the xmlhttp object
&lt;snip&gt;
&gt;     Call xmlhttp.send(XMLConnectString)
&gt;
&lt;snip&gt;
&gt; The error line is:    Call xmlhttp.send(XMLConnectString)
&gt;
&gt; Hopefully this is something simple.

Oh wait ... you can't pass a string. You have to pass an xmldocument:
dim xmlSend as msxml2.domdocument
set xmlsend = new msxml2.domdocument
xmlsend.loadxml XMLConnectString
Call xmlhttp.send(xmlsend)


I suggest you use &quot;msxml2.&quot; rather than &quot;Microsoft.&quot; to avoid xml parser
version issues.
And it doesn't really make a lot of difference but I only use
CreateObject in vbscript ... this definietly comes under the heading of
&quot;personal preference&quot;.

-- 
HTH,
Bob Barrows</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303635.html</link>
</item><item>
<title>Re: Trying to send XML document via XMLHTTP Open and Send methods - 9/25/2009 4:21:00 PM</title>
<description><![CDATA[<pre>Bob Alston wrote:
&gt; I keep getting the error:  -2147024809  (80070057)  The parameter is
&gt; incorrect
&gt;
&gt; Here is the XML text:
&gt;
&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&gt; &lt;soap12:Envelope xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
&lt;snip&gt;
&gt; &lt;/soap12:Envelope&gt;
&gt;
&gt; Here is my VBA code:
&gt;
&gt; Private Sub Command2_Click()
&gt;     Dim XMLConnectString As String
&gt;
&gt;     Dim XMLResponseText As String
&gt;     Me.Responsetext = &quot;&quot;
&gt;     XMLConnectString = Me.fld
&gt;     'Create the xmlhttp object
&lt;snip&gt;
&gt;     Call xmlhttp.send(XMLConnectString)
&gt;
&lt;snip&gt;
&gt; The error line is:    Call xmlhttp.send(XMLConnectString)
&gt;
&gt; Hopefully this is something simple.

Does XMLConnectString contain the xml you initially posted?

-- 
HTH,
Bob Barrows</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303634.html</link>
</item><item>
<title>Trying to send XML document via XMLHTTP Open and Send methods - 9/25/2009 12:28:00 PM</title>
<description><![CDATA[<pre>I keep getting the error:  -2147024809  (80070057)  The parameter is
incorrect

Here is the XML text:

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;soap12:Envelope xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:soap12=&quot;http://
www.w3.org/2003/05/soap-envelope&quot;&gt;
  &lt;soap12:Header&gt;
    &lt;CMBHSAuthenticationHeader xmlns=&quot;http://www.dshs.state.tx.us/
cmbhs/&quot;&gt;
      &lt;CMBHSUserName&gt;SClinician1&lt;/CMBHSUserName&gt;
      &lt;CMBHSPassword&gt;D$h$..125&lt;/CMBHSPassword&gt;
    &lt;/CMBHSAuthenticationHeader&gt;
  &lt;/soap12:Header&gt;
  &lt;soap12:Body&gt;
    &lt;DownloadDocument xmlns=&quot;http://www.dshs.state.tx.us/cmbhs/&quot;&gt;
      &lt;Parameter&gt;
        &lt;ParentOrganizationNbr&gt;2&lt;/ParentOrganizationNbr&gt;
        &lt;OrganizationNbr&gt;3&lt;/OrganizationNbr&gt;
        &lt;FromDate&gt;09/10/2009 4:03:11&lt;/FromDate&gt;
        &lt;ToDate&gt;09/23/2009 10:05:05&lt;/ToDate&gt;
        &lt;DownloadType&gt;1&lt;/DownloadType&gt;
      &lt;/Parameter&gt;
    &lt;/DownloadDocument&gt;
  &lt;/soap12:Body&gt;
&lt;/soap12:Envelope&gt;

Here is my VBA code:

Private Sub Command2_Click()
    Dim XMLConnectString As String

    Dim XMLResponseText As String
    Me.Responsetext = &quot;&quot;
    XMLConnectString = Me.fld
    'Create the xmlhttp object
    Dim xmlhttp
    Set xmlhttp = CreateObject(&quot;Microsoft.XMLHTTP&quot;)
    'Open a connection and send a request to the server in the form of
an XML fragment
    Call xmlhttp.Open(&quot;POST&quot;, &quot;http://cmbhstrn.dshs.state.tx.us/
cmbhswebservice/service/downloadservice.asmx&quot;, False)

    Call xmlhttp.send(XMLConnectString)


    'Create an xml document object, and load the server's response
    Dim xmldoc
    Set xmldoc = CreateObject(&quot;Microsoft.XMLDOM&quot;)
    xmldoc.async = False
    'Note: the ResponseXml property parses the server's response,
responsetext doesn't
    'xmldoc.loadxml (xmlhttp.responsexml)
    Me.Responsetext = xmlhttp.Responsetext
    Exit Sub
End Sub

The error line is:    Call xmlhttp.send(XMLConnectString)

Hopefully this is something simple.</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303629.html</link>
</item><item>
<title>[ANN] XMLmind XML Editor 4.5 - 9/25/2009 10:03:00 AM</title>
<description><![CDATA[<pre>XMLmind is happy to announce the version 4.5 of XMLmind XML Editor.
    _____________________________________________

XMLmind XML Editor Personal Edition 4.5 can be downloaded from
http://www.xmlmind.com/xmleditor/download.shtml

Professional Edition users, please upgrade using this form:
http://www.xmlmind.com/store/download.php

(The above form is usually accessed through
http://www.xmlmind.com/xmleditor/upgrade.html.)
    _____________________________________________

v4.5 (September 24, 2009): DITA support is now
bundled in XMLmind XML Editor. This support has
been greatly enhanced. It is now as comprehensive
as DocBook support in XMLmind XML Editor. Most of
the enhancements come from XMLmind DITA Converter.

   XMLmind DITA Converter (ditac for short)
   allows to convert the most complex DITA 1.1
   documents to production-quality XHTML 1.0, XHTML
   1.1, HTML 4.1, Java[tm] Help, HTML Help, PDF,
   PostScript[r], RTF (can be opened in Word 2000+),
   WordprocessingML (can be opened in Word 2003+),
   Office Open XML (.docx, can be opened in Word
   2007+), OpenOffice (.odt, can be opened in
   OpenOffice.org 2+).

   XMLmind DITA Converter is free, open source,
   software licensed under the very liberal terms
   of the Mozilla Public License version 1.1.

   More information in http://www.xmlmind.com/ditac/
    _____________________________________________

More information in
http://www.xmlmind.com/xmleditor/changes.html

--
XMLmind XML Editor Information List
xmleditor-announce@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-announce</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303587.html</link>
</item><item>
<title>[ANN] First release of XMLmind DITA Converter - 9/24/2009 9:25:00 AM</title>
<description><![CDATA[<pre>XMLmind is happy to announce the first release of
XMLmind DITA Converter.

XMLmind DITA Converter, which is open source software,
can be freely downloaded from:

http://www.xmlmind.com/ditac/download.shtml
________________________________________________

XMLmind DITA Converter v1.0 (September 23, 2009)

XMLmind DITA Converter (ditac for short) allows to
convert the most complex DITA 1.1 documents to
production-quality XHTML 1.0, XHTML 1.1, HTML 4.1,
Java[tm] Help, HTML Help, PDF, PostScript[r], RTF (can
be opened in Word 2000+), WordprocessingML (can be
opened in Word 2003+), Office Open XML (.docx, can
be opened in Word 2007+), OpenOffice (.odt, can be
opened in OpenOffice.org 2+).

XMLmind DITA Converter has been developed in order
to be integrated in the following XMLmind
commercial products:
   * XMLmind XML Editor,
   * XMLmind XSL-FO Converter.

As such, XMLmind DITA Converter is professionally
developed software, well tested, well documented
and well supported.

XMLmind DITA Converter is free, open source,
software licensed under the very liberal terms of
the Mozilla Public License version 1.1.

All this makes XMLmind DITA Converter a very
serious alternative to using the DITA Open
Toolkit.

More information in http://www.xmlmind.com/ditac/.


_______________________________________________
ditac-support mailing list
ditac-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/ditac-support</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303512.html</link>
</item><item>
<title>Creating simple XSL's for particular columns out of XSD Schema - 9/22/2009 3:38:00 PM</title>
<description><![CDATA[<pre>I want to create xpath query files (xsl) that will transform xml data into 
columnar format (flat files) so that I can load them into the database.
However, having trouble.... mostly do to the fact I simple forgot how to 
deal with xsl's.

Can somebody point me a GUI (free or trial based) tool that will take XSD 
Schema as input and will allow me to pick fields and its output will be a 
short xsl file, just like the one below.  I have a good idea how the table 
sctructure is or should be.  Database, SQL Server 2008, created the table, 
but it wants &quot;annotated&quot; xsd for loading the data into multiple tables. 
Whatever that is - I already hate this direct load into the database.

So, for practical purposes, extracting data into multiple flat files with 
delimeters is good enough.
Can I get some advice about which tool to use.  Altova has so many of 
them..... when you want something quick in the XML world, it turns into a 
scientific R&amp;D project.

I installed their MapForce..... and then what..... cannot figure it out for 
the life of me.
Imported the XSD file..... and there is nothing intuitive there.....lots of 
menu's and button.
Need to find a simple way of doing this.

&gt;&gt;&gt;&gt;&gt;Sample....xsl file that I want to create
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xsl:stylesheet version=&quot;1.0&quot; 
xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; 
xmlns:fo=&quot;http://www.w3.org/1999/XSL/Format&quot;&gt;
&lt;xsl:output method=&quot;text&quot; /&gt;

&lt;xsl:param name=&quot;delimiter&quot; select=&quot; '|' &quot;/&gt;

&lt;xsl:template match=&quot;/VTM&quot;&gt;
&lt;xsl:apply-templates/&gt;
&lt;/xsl:template&gt;

&lt;xsl:template match=&quot;/*/*&quot;&gt;
&lt;xsl:value-of select=&quot;FIELD1&quot;/&gt;
&lt;xsl:value-of select=&quot;$delimiter&quot;/&gt;
&lt;xsl:value-of select=&quot;FIELD3&quot;/&gt;
&lt;xsl:value-of select=&quot;$delimiter&quot;/&gt;
&lt;xsl:value-of select=&quot;FIELD6&quot;/&gt;
&lt;xsl:text&gt;&amp;#xa;&lt;/xsl:text&gt;
&lt;/xsl:template&gt;
&lt;xsl:template match=&quot;text()&quot; /&gt;

&lt;/xsl:stylesheet&gt;</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303422.html</link>
</item><item>
<title>29632222 - 9/17/2009 1:21:00 AM</title>
<description><![CDATA[<pre>You are required to be a member to post replies.  After logging in or becoming a member, you will be redirected back to this page.



Posted as a reply to:

Casmate pro 6.52

Dear Sir/ Madam

I am urgenntky trying to aquire the complete working version of Casmate
pro 6.52

Please advise if you can help and the cost.

I am based in South africa

*** Sent via Developersdex http://www.developersdex.com ***

EggHeadCafe - Software Developer Portal of Choice 
WCF Workflow Services Using External Data Exchange
http://www.eggheadcafe.com/tutorials/aspnet/3d49fa0d-a120-4977-842a-6dafb17b6d74/wcf-workflow-services-usi.aspx</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000303047.html</link>
</item><item>
<title>Anybody have a Use Case for valid MOSS xml? - 9/16/2009 11:31:00 AM</title>
<description><![CDATA[<pre>I need a use case [.rss|.xml] file to prove or disprove MOSS can generate 
valid XML when generating RSS web feeds.</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000302999.html</link>
</item><item>
<title>Re: Office 2007 RibbonX (XML) Validation - 9/13/2009 8:20:00 AM</title>
<description><![CDATA[<pre>Hello Greg,

u'll find a link to the 'Office Custom UI Editor' in the following article:
http://openxmldeveloper.org/archive/2009/08/07/7293.aspx
...Contains both Office 2007 and Office 2010 custom UI schemas ...
You have to add the schemas to the envirmonment of your xmlEditor.
eg in VisualStudio put them to ~Program Files\Microsoft Visual Studio 
9.0\Xml\Schemas

hth
WilliB


&quot;Greg Maxey&quot; &lt;gmaxey@mIKEvICTORpAPAsIERRA.oSCARrOMEOgOLF&gt; schrieb im 
Newsbeitrag news:eLdE8raLKHA.3424@TK2MSFTNGP02.phx.gbl...
&gt; Hello,
&gt;
&gt; I think this is my first post in this group.  I am a self-proclaimed idiot 
&gt; when it comes to XML, so please be gentle.
&gt;
&gt; The little that I do know about XML have been gathered in my novice 
&gt; accomplishments using the Office 2007 CustomUI Editor (Editor) to write 
&gt; XML that customizes the Microsoft Word Ribbon.  The Editor has some 
&gt; significant drawbacks from other editors (Find and Replace, Search, Column 
&gt; Mode) such as UltraEdit.
&gt;
&gt; The one thing that the Editor can do that others don't seem to do as well 
&gt; is &quot;validate&quot; the XML written againts a file called customUI.xsd that 
&gt; comes with the Editor.  For example, if I had a line
&gt;
&gt; &lt;button idMso=&quot;FileOpen&quot; size=&quot;gigantic&quot; /&gt;
&gt;
&gt; The Editor validator would alert on &quot;gigantic&quot; with the following error:
&gt;
&gt; The size attribute is invalid.  The value 'gigantic' is invalid according 
&gt; to its datatype. 
&gt; 'http://schemas.microsoft.com/office/2006.01/customui:ST_SizeUI' - The
&gt; Enumeration Contraint Failed
&gt;
&gt; I have opened customUI.xsd and it looks like other files that I have seen 
&gt; that where called schemas.  UltraEdit has this feature called &quot;XMLlint&quot; 
&gt; which supposedly validates XML files against some criteria.  It has about 
&gt; 25 different check options and a &quot;Parse&quot; command.  The options closest to 
&gt; a schema that I see is &quot;Use a WC3XML schema for validation&quot; and then a 
&gt; text field to enter the path of the file.
&gt;
&gt; When I run the XMLlint validator, I am getting a bunch of reported errors 
&gt; that are not reported using the CustomUI Editor and the one important 
&gt; errro (&quot;gigantic&quot;) is not reported at all.
&gt;
&gt; Can anyone give me any help or ideas on how a Office customUI file is 
&gt; validated when using a 3rd party XML editor like UltrEdit?
&gt;
&gt; Thanks.
&gt;
&gt;
&gt; -- 
&gt; Greg Maxey
&gt;
&gt; See my web site http://gregmaxey.mvps.org
&gt; for an eclectic collection of Word Tips.
&gt;
&gt;</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000302764.html</link>
</item><item>
<title>Re: Office 2007 RibbonX (XML) Validation - 9/12/2009 7:46:00 PM</title>
<description><![CDATA[<pre>&quot;Greg Maxey&quot; &lt;gmaxey@mIKEvICTORpAPAsIERRA.oSCARrOMEOgOLF&gt; wrote in message news:eLdE8raLKHA.3424@TK2MSFTNGP02.phx.gbl...

&gt; Can anyone give me any help or ideas on how a Office customUI file is
&gt; validated when using a 3rd party XML editor like UltrEdit?


I don't know the answer to your question but it helped me learn
more about  XML Schema Definition Language (XSD).

E.g. this page and its MSDN related links are all readable.

http://msdn.microsoft.com/en-us/library/aa468549.aspx

(Microsoft search for
    xml schema
)

I won't tell you all the weird searches I tried before
I refined my understanding enough to find this.   ; )


FWIW

Robert Aldwinckle
---</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000302749.html</link>
</item><item>
<title>Re: Attributes to end element - 9/11/2009 1:47:00 PM</title>
<description><![CDATA[<pre>nakutts wrote:
&gt; Hi..
&gt; I am trying to add an attribute to the end element.I believe that
&gt; attributes
&gt; to the end element are allowed in the extensions provided to xml.
 &gt; ...

What are &quot;the extensions provided to xml&quot;?

Anyway, what's relevant is the XML spec, and that one doesn't allow 
attributes on end tags.

BR, Julian</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000302657.html</link>
</item><item>
<title>Attributes to end element - 9/11/2009 4:32:00 AM</title>
<description><![CDATA[<pre>Hi..
I am trying to add an attribute to the end element.I believe that
attributes
to the end element are allowed in the extensions provided to xml.
Can anyone provide me information on what options i  have to add to
the schema
to enable this?

I am trying to calculate the CRC of a xml file and write it to xml as
the attribute
of the end element.
Thanks in advance
Bhavana</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000302656.html</link>
</item><item>
<title>Re: Please help getting data out of this XmlElement - 9/9/2009 3:31:00 AM</title>
<description><![CDATA[<pre>Hi,

The answer turned out to be quite simple:

object.&quot;#text&quot;

Thanks again.

&quot;Martin Honnen&quot; wrote:

&gt; molipha wrote:
&gt; 
&gt; &gt; I'm writing a powershell script and inspecting the xml objects through the 
&gt; &gt; console.
&gt; 
&gt; I am not familiar with the API or object model Powershell exposes for 
&gt; XML manipulation.
&gt; 
&gt; -- 
&gt; 
&gt; 	Martin Honnen --- MVP XML
&gt; 	http://msmvps.com/blogs/martin_honnen/
&gt;</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000302539.html</link>
</item><item>
<title>Re: Please help getting data out of this XmlElement - 9/8/2009 6:48:00 PM</title>
<description><![CDATA[<pre>molipha wrote:

&gt; I'm writing a powershell script and inspecting the xml objects through the 
&gt; console.

I am not familiar with the API or object model Powershell exposes for 
XML manipulation.

-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000302531.html</link>
</item><item>
<title>Re: Please help getting data out of this XmlElement - 9/8/2009 4:03:00 PM</title>
<description><![CDATA[<pre>molipha wrote:

&gt; I have this xml:
&gt; &lt;image order=&quot;3&quot;&gt;
&gt;    &lt;xsi:location xsi:type=&quot;xs:anyURI&quot;&gt;
&gt;       file:///images/image.jpg
&gt;    &lt;/xsi:location&gt;
&gt;    &lt;caption&gt;
&gt;       A lovely photo
&gt;    &lt;/caption&gt;
&gt; &lt;/image&gt;

What you have posted is not well-formed XML with namespace, the prefix 
'xsi' needs to be bound to a URI.

&gt; I can set var y = image.location and the console shows that I have this 
&gt; object:
&gt; 
&gt;  xsi : http://www.w3.org/2001/...
&gt;  type : xs:anyURI
&gt; #text : file:///D:/images...
&gt; 
&gt;                                
&gt; 
&gt; I can get xsi and type parameters no problem simply using a dot reference 
&gt; but y.#text sure don't work and I can't seem to come up with a work-around.

Which API in which programming language exactly do you use?

-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/</pre>]]></description>
<link>http://www.altova.com/list/microsoft.public.xml/200909/msg1000302527.html</link>
</item>

</channel>
</rss>
