Tags » Xml

When to Choose SQL and When to Choose NoSQL

Some people make architecture decisions purely based on the loudest consultant:

@xeraa @lukaseder no, we base all our important architectural decisions on # of tweets. It's a Twitter Oriented Architecture ;)

842 more words
Sql

2408 (self in xml)

<root>
<name>
<vorname>matthias</vorname>
<nachname>evering</nachname>
</name>
<anschrift>
<strasse>erlenweg</strasse>
<hausnummer>32</hausnummer>
<plz>32049</plz>
<stadt>herford</stadt>
</anschrift>
<com>
<fon>
<country>+49</country>
<vorwahl>5221</vorwahl>
<nummer>7613628</nummer>
</fon>
<mobile>
<country>+49</country>
<netzvorwahl>179</netzvorwahl>
<nummer>6480206</nummer>
</mobile>
<email>me@evering.eu</email>
<web>www.serverproject.de</web>
</com>
</root>
Experiments

SAX parsing in Perl

  there is an example of sax parsing in CVS: perl_examples/sax_parsing

C#: Parsing a CSPROJ (Project) File Using XPath

Using XPath in C# can be done several different ways through a several built-in libraries, and none of them work unless you are a lot more familiar with the file than would be required in many other languages. 118 more words

Hint/Trick

XML parsing with python

Consider the following xml file:

<?xml version="1.0"?>
 <config version="6.1.0" urldb="paloaltonetworks">
  <mgt-config>
    <users>
      <entry name="admin">
        <phash>********</phash>
        <permissions>
          <role-based>
            <superuser>yes</superuser>
          </role-based>
        </permissions>
      </entry>
    </users>
  </mgt-config>
 </config>

Root of the above xml file is “ 172 more words

Python

LINQ to XML techniques: adding a processing instruction

In this post we saw how to add a declaration to an XML document. A well-formatted XML document starts with a declaration whose main function is to declare formally that the upcoming document is of the XML type. 559 more words

C#

XSDs FTW

I’m a big fan of passing data to and from stored procedures (sprocs) as XML, especially XML that represents a complete object, or a list or hierarchy of objects. 719 more words

Sql Server