Questions tagged [xml]

Extensible Markup Language

Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards.

Source: wikipedia

Official W3C page

137 questions
10
votes
2 answers

How to filter windows event log with wildcard?

According to the document here, the asterisk wildcard is supported and hence it should work in eg. *[EventData[Data[@Name='TargetUserName'] ='User1*']] but I cannot get any wildcard filter to work - has anyone been able to do this?
A_L
  • 203
  • 1
  • 2
  • 5
9
votes
2 answers

IIS 7.5 (Express) applicationhost.config: Can a virtualDirectory's physicalPath be a relative path?

I'm configuring a site in applicationhost.config for IIS 7.5 Express:
stakx
  • 195
  • 1
  • 7
8
votes
3 answers

Is it possible to create a generalized configuration file for installing Windows features using PowerShell?

I'm currently trying to automate the build of a VM running Windows Server 2012 R2. At the moment the challenge is automating the addition of roles and features. Within the roles and features wizard there is an option to export an XML configuration…
8
votes
2 answers

Logstash parsing xml document containing multiple log entries

I'm currently evaluating whether logstash and elasticsearch are useful for our use-case. What I have is a log file containing multiple entries which is of the form ... ...
dualed
  • 388
  • 1
  • 2
  • 14
8
votes
5 answers

Utility to LOGICALLY compare two xml files?

Right now we are attempting to build gold configurations for our environment. One piece of software that we use relies on large XML files to contain the bulk of its configuration. We want to take our lab environment, catalog it as our "gold…
Matthew
  • 2,666
  • 8
  • 32
  • 50
6
votes
1 answer

Open .xml attachments in "default program" instead of Internet Explorer

Disclaimer I posted this question on Super User without any responses, but I am working on a domain and want to change many computers as an administrator, so I believe it is also on topic here. Question On Windows 7 and Outlook 2013, attachments…
thunderblaster
  • 203
  • 1
  • 3
  • 12
6
votes
6 answers

Permanently removing Microsoft XPS Document Writer pseudoprinter object?

For reasons unknown, a great many of the (Windows XP SP3) computers I manage have recently started creating a new pseudoprinter object, called Microsoft XPS Document Writer, seemingly out of nowhere. This is a problem, because for some users…
eleven81
  • 417
  • 6
  • 13
  • 29
6
votes
1 answer

Windows 7 unattended install and disk/partition wiping

Im currently having a problem when trying to setup an unattended install of windows 7. When the hard drive has no partitions the install goes fine. However if the hard drive has any existing partitions, it throws up an error message saying it can't…
Chris
  • 61
  • 1
  • 2
5
votes
1 answer

PHP 5.6 undefined function xml_parser_create

I have a new php 5.6 installation and get the following error from my application: Fatal error: Call to undefined function xml_parser_create() But libxml seems to be OK? phpinfo about libxml is: libXML support active libXML Compiled Version …
5
votes
2 answers

update XML from the command line [windows]

I have a few applications which store their config files in XML format. For a regular application, using a text based config, I could update a value easily enough by using perl, or sed, or awk, or any one of a million tools. I'm looking for…
Mikeage
  • 2,731
  • 6
  • 26
  • 37
4
votes
1 answer

how to force Nginx to override header?

I'm trying to display my sitemaps. Browsers display my sitemap index as xml but treat post sitemaps as plain text. I tried to override content type with below configuration but it didn't help. location ~ \.xml$ { proxy_hide_header…
Hasan Tıngır
  • 153
  • 1
  • 3
  • 9
4
votes
3 answers

Replacing a string in an XML with Powershell causes MALFORMED XML

I have a rather large XML file that I need to replace some connection strings within. I use the following code to replace the strings: $temp = Get-Content .\bigxmlfile.xml $temp.replace("STRING1","STRING2") | out-file .\bigxmlfile.xml -force This…
JustAGuy
  • 629
  • 3
  • 18
  • 35
4
votes
1 answer

Modify MDT wizard to automate computer naming

Situation: I am imaging new systems using MDT Lite-Touch. I am trying to customize the wizard to automate the naming of new systems so that they include a prefix "AG-", a department code which is selected from a drop-down box in the wizard…
Jeramy
  • 193
  • 1
  • 7
3
votes
3 answers

Event Log > Filter Current Log > XML > where EventData contains text

I'm trying to search through the windows event log for anything where the event data contains the string TCP Provider, error: 0 as part of a longer error message. To do this I created the code below:
JohnLBevan
  • 1,134
  • 7
  • 20
  • 44
3
votes
3 answers

Working with Event Logs in Powershell

I have trying to analyze records from the Windows Security log and having a bit of difficulty getting specific values out of some of the logon/logoff events. Let's take a look at a specific example - here's the XML of one of the log entries.
pk.
  • 6,413
  • 1
  • 41
  • 63
1
2 3
9 10