<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'XML input format'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=XML+input+format&amp;orTags=0</link><description>Search results matching tag 'XML input format'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Invalid Character </title><link>http://forums.iis.net/p/1158222/1906063.aspx#1906063</link><pubDate>Sun, 07 Jun 2009 10:46:50 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1906063</guid><dc:creator>cci</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>&lt;p&gt;I am trying to use LP to output a webservice response to csv. It has worked on several occasions, but in one case I get an error message that there is an invalid character in the text output.&amp;nbsp; What would LP consider an invalid character?&lt;/p&gt;</description></item><item><title>Asking LogParser to do the impossible</title><link>http://forums.iis.net/p/1145902/1851114.aspx#1851114</link><pubDate>Wed, 14 Feb 2007 12:41:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1851114</guid><dc:creator>LogParser User : StanL</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>&lt;P&gt;Generating an xsd validation file is easily accomplished in .NET with a DataSet Object. You can use XMLExport in Access 2003 but that is specific to Access Tables; then there is SQLXMLOLEDB which only worls with SQL Server.&lt;/P&gt;&lt;P&gt;Prior to .NET, the MsPersit provider permitted creating .xml files from either disconnected or&amp;nbsp;fabricated recordsets. The xsdtest.xml [attached] is persisted from a fabricated recordset. Microsoft has an xsd.exe utility that will output an xsd file for an xml file, but hiccups badly if passed the xsdtest.xml - that is because persisted recordsets have their own schema embedded.&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;&lt;BR&gt;cSQL = "SELECT * into&amp;nbsp;c:\temp\xsdtest1.xml FROM c:\temp\xsdtest.xml" &lt;BR&gt;oLog = CreateObject("MSUtil.LogQuery")&lt;BR&gt;oLog.maxParseErrors = 100&lt;BR&gt;oInput = CreateObject("MSUtil.LogQuery.XMLInputFormat")&lt;BR&gt;oOut = CreateObject("MSUtil.LogQuery.XMLOutputFormat.1")&lt;BR&gt;oOut.structure=4&lt;BR&gt;oOut.rootName="Input"&lt;BR&gt;oOut.schematype=1&lt;BR&gt;oOut.filemode=1&lt;BR&gt;oLog.ExecuteBatch(cSQL, oInput, oOut)&lt;/P&gt;&lt;P&gt;will output xsdtest1.xml which can be parsed by xsd.exe - but the results do not reflect the 'fields' [xsdtest.xsd]. I've played around with the&amp;nbsp;output settings, and admit it gets over my Pooh Brain... but the goal is [hopefully] admirable - 'for any database structure persisted as a recordset, create a basic&amp;nbsp;xsd validation file w/out .NET i.e. VB. VBA or scripting code.&lt;/P&gt;&lt;P&gt;Hope this makes sense&lt;img src='images/emotions/blink.gif' height='20' width='20' border='0' title='Blink' align='absmiddle'&gt; Stan&lt;/P&gt;</description></item><item><title>RE: xml schema files | persisted recordset xml</title><link>http://forums.iis.net/p/1145858/1854995.aspx#1854995</link><pubDate>Fri, 05 Jan 2007 10:53:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1854995</guid><dc:creator>LogParser User : DEinspanjer</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>Um.. you are welcome to.. &lt;img src='images/emotions/smile.gif' height='20' width='20' border='0' title='Smile' align='absmiddle'&gt;</description></item><item><title>RE: xml schema files | persisted recordset xml</title><link>http://forums.iis.net/p/1145858/1855010.aspx#1855010</link><pubDate>Tue, 02 Jan 2007 19:39:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1855010</guid><dc:creator>LogParser User : StanL</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>Oh, I see that it does after all. I have no problem with persisted XML Recordsets, but could use some help clarifying a query for an xsd schema. I would like to post a sample xsd and querystring w/output. Stan</description></item><item><title>xml schema files | persisted recordset xml</title><link>http://forums.iis.net/p/1145858/1851070.aspx#1851070</link><pubDate>Mon, 01 Jan 2007 23:48:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1851070</guid><dc:creator>LogParser User : StanL</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>&lt;P&gt;Can LogParser handle thgese types of input?&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;</description></item><item><title>MetaBase output</title><link>http://forums.iis.net/p/1145773/1850985.aspx#1850985</link><pubDate>Thu, 16 Nov 2006 09:48:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1850985</guid><dc:creator>LogParser User : TPJ</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>I need some help getting the right info out af the metabase&lt;br&gt;&lt;br&gt;It has to look the original IIS&lt;br&gt;&lt;br&gt;http://www.fumle.com/IIS.JPG&lt;br&gt;&lt;br&gt;But i need the Homedir, Logdir, but i cant the info in the way i want it.&lt;br&gt;When i do it, it gets look like this &lt;br&gt;&lt;br&gt;http://www.fumle.com/Metabase.JPG&lt;br&gt;&lt;br&gt;but i want it en equal rows, how to do this ?&lt;br&gt;Anybody that can write me an query that return the right info and put into to an database&lt;br&gt;&lt;br&gt;I would appreciate this very much</description></item><item><title>RE: XML Input Format Parameters</title><link>http://forums.iis.net/p/1145802/1854797.aspx#1854797</link><pubDate>Fri, 03 Nov 2006 16:25:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1854797</guid><dc:creator>LogParser User : DEinspanjer</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>:/ Now that I see more of what you are trying to do, I have to go back to my original statement that LP isn't well designed for this type of XML input.&lt;br&gt;However, you can easily use a straight XSL solution to get the output you are looking for.&lt;br&gt;Here is an example XSL that you can invoke using msxsl:&lt;br&gt;msxsl AUDIT_02242003_07.xml audit_xml_to_csv.xsl prog_id='AU0001N' -o output.csv</description></item><item><title>RE: XML Input Format Parameters</title><link>http://forums.iis.net/p/1145802/1854839.aspx#1854839</link><pubDate>Fri, 03 Nov 2006 14:07:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1854839</guid><dc:creator>LogParser User : VBProEd</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>&lt;FONT size=1&gt;Select &lt;FONT color=#006400&gt;/&lt;/FONT&gt;HDR&lt;FONT color=#006400&gt;/&lt;/FONT&gt;USR_ID&lt;FONT color=#006400&gt;/&lt;/FONT&gt;@v &lt;B&gt;&lt;FONT color=#0000ff&gt;AS &lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;UserID&lt;FONT color=#006400&gt;, /&lt;/FONT&gt;HDR&lt;FONT color=#006400&gt;/&lt;/FONT&gt;WK_STATION_ID&lt;FONT color=#006400&gt;/&lt;/FONT&gt;@v &lt;B&gt;&lt;FONT color=#0000ff&gt;AS &lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;WorkStationID&lt;FONT color=#006400&gt;, /&lt;/FONT&gt;HDR&lt;FONT color=#006400&gt;/&lt;/FONT&gt;TRANS_ID&lt;FONT color=#006400&gt;/&lt;/FONT&gt;@v &lt;B&gt;&lt;FONT color=#0000ff&gt;AS &lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;TransID&lt;FONT color=#006400&gt;, /&lt;/FONT&gt;HDR&lt;FONT color=#006400&gt;/&lt;/FONT&gt;FETCH_DTM&lt;FONT color=#006400&gt;/&lt;/FONT&gt;@v &lt;B&gt;&lt;FONT color=#0000ff&gt;AS &lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;DateTime &lt;B&gt;&lt;FONT color=#0000ff&gt;from &lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;c:\Audit_Log\AUDIT_02242003_07&lt;FONT color=#006400&gt;.&lt;/FONT&gt;xml &lt;B&gt;&lt;FONT color=#0000ff&gt;where &lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT color=#006400&gt;/&lt;/FONT&gt;HDR&lt;FONT color=#006400&gt;/&lt;/FONT&gt;ONLINE_PROG_ID&lt;FONT color=#006400&gt;/&lt;/FONT&gt;@v &lt;FONT color=#006400&gt;= &lt;/FONT&gt;&lt;FONT color=#ff0000&gt;'AU0001N'&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size=1&gt;(12 rows affected)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=1&gt;Query time : 00:00:01.4110379&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=1&gt;Display time : 99ms&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=1&gt;&lt;FONT color=#1111ff&gt;I have also attached my sample XML file to this post.&amp;nbsp; This query can find 12 rows yet no data ever appears in the window matching the where clause.&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;</description></item><item><title>RE: XML Input Format Parameters</title><link>http://forums.iis.net/p/1145802/1854795.aspx#1854795</link><pubDate>Thu, 02 Nov 2006 23:26:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1854795</guid><dc:creator>LogParser User : DEinspanjer</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>can't tell you without the query you used and maybe some longer sample data.</description></item><item><title>RE: XML Input Format Parameters</title><link>http://forums.iis.net/p/1145802/1854794.aspx#1854794</link><pubDate>Thu, 02 Nov 2006 16:53:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1854794</guid><dc:creator>LogParser User : VBProEd</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>[QUOTE User="LogParser User : VBProEd"]Quote: I'm very happy to hear you were able to figure out a query that gives you the data you need. Just so you know, the @ symbol is actually an indicator that the word after it (v in this case) is an attri...[/QUOTE] &lt;br /&gt;&lt;P&gt;Maybe I responded too quickly.&amp;nbsp; When I selected the USR_ID in the query and used it in the WHERE clause, it would show up in the results window.&amp;nbsp; However, as soon as I entered additional select values, no data would appear in the results window.&amp;nbsp; Where did I go wrong?&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description></item></channel></rss>