General Programming |
Author |
Message |
x-smile Guest
|
Posted: Wed Aug 23, 2006 5:56 pm Post subject: XML |
|
|
Dabbling/Learning: XML on Windows sans .Net/Java
"Does anyone have opinions on freeware XML editors and validators for
Windows in a pre-.Net environment? In other words are there any good
tools for those who aren't users of the recent Visual Studio releases?" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Sep 13, 2006 6:11 pm Post subject: |
|
|
CodeProject: PugXML - A Small, Pugnacious XML Parser
"Presented is a small, fast, non-validating DOM XML parser, contained in a
single header, having no dependencies other than the standard C libraries,
and <iostream> (KERNEL32.DLL with WIN32). This XML parser segments a
given string in situ (like strtok), performing scanning/tokenization, and
parsing in a single pass." |
|
Back to top |
|
|
Marko Guest
|
Posted: Mon Sep 25, 2006 4:58 pm Post subject: |
|
|
JoS: XML and illegal chars?
"Today I've tried to create a document put a pound sign (£) in the body,
now when word opens it tells me that its an illegal XML character." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Mon Oct 02, 2006 12:15 pm Post subject: |
|
|
DevX Forums: Use of XML in C++
"There is a version of lex/yacc free for download on the Web (just look
for pargen.zip) which creates c/C++ code." |
|
Back to top |
|
|
XNote Kapetan
Joined: 16 Jun 2006 Posts: 532
|
Posted: Wed Nov 08, 2006 9:00 am Post subject: |
|
|
Does XML Suck?
"Why XML is Technologically Terrible, but You Have to Use It Anyway" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Jun 28, 2007 12:16 am Post subject: |
|
|
What Is the Resource Description Framework?
"At the simplest level, the Resource Description Framework (RDF) is an
XML-based language to describe resources. While the definition of 'resource'
can be quite broad, let's begin with the common understanding of a resource
as an electronic file available via the Web. Such a resource is accessed
through a Uniform Resource Locator (URL)" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Jan 26, 2008 11:34 pm Post subject: |
|
|
The XML C parser and toolkit of Gnome
"Libxml2 is the XML C parser and toolkit developed for the Gnome project
(but usable outside of the Gnome platform), it is free software available
under the MIT License.
Libxml2 is known to be very portable, the library should build and work
without serious troubles on a variety of systems (Linux, Unix, Windows,
CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, ...)" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Fri Feb 08, 2008 6:49 pm Post subject: |
|
|
Slashdot: The Future of XML
"How will you use XML in years to come? The wheels of progress turn
slowly, but turn they do. The outline of XML's future is becoming clear.
The exact timeline is a tad uncertain, but where XML is going isn't. XML's
future lies with the Web, and more specifically with Web publishing.
'Word processors, spreadsheets, games, diagramming tools, and more
are all migrating into the browser. This trend will only accelerate in the
coming year as local storage in Web browsers makes it increasingly
possible to work offline. But XML is still firmly grounded in Web 1.0
publishing, and that's still very important.'" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Mon Feb 18, 2008 10:46 pm Post subject: |
|
|
Slashdot: Tim Bray on the Birth of XML, 10 Years Later
"Tim Bray posts a lengthy blog on the birth of XML, formalized as 1.0 in
Feb 1998. 'XML is ten years old today. It feels like yesterday, or a lifetime.
I wrote this that year (1998). It's really long. The title was originally Good
Luck and Internet Plumbing but the filename was "XML-People" and I decided
I liked that better. I never got around to publishing it, so why not now?'" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sun Feb 24, 2008 5:21 pm Post subject: |
|
|
JoS: SIMPLEST xml parser, C or C++
"I am looking for the SIMPLEST, yet BUG-FREE implementation of
NON-VALIDATING XML parser. I simply want to read and write a
lengthy settings file." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Mar 13, 2008 1:34 am Post subject: |
|
|
More on libxml2 at CodeGuru:
Libxml2: Everything You Need in an XML Library
"Libxml2 is the XML parser and toolkit written in the C language and is freely
available for integration into your apps via the easy-to-digest MIT License.
Libxml2 was originally developed for the Gnome project, but doesn't have
any dependencies on it or even the Linux platform. This tool is known to be
highly portable and is in use by many teams on Linux, Unix, Win32/Win64,
Cygwin, MacOS, MacOS/X, and most other platforms, ..." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Mar 20, 2008 2:09 am Post subject: |
|
|
JoS: How to manipulate xml's, the right way?
"Did anyone modified xml and didnt feel like he was writing a script?
Is there a nice, correctly designed, and readble way to edit xml?" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Apr 10, 2008 9:48 am Post subject: |
|
|
gtk+forum: reading more than one entry from an xml file into a treeview
"I am working with glade, gtktreeview and libxml.
I am attaching my code below. please tell me what code i can use to be
able to access the other contacts in the xml file and then be able to show
them in the tree view." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu May 01, 2008 11:22 pm Post subject: |
|
|
W3C - XML in 10 points
"XML, XLink, Namespace, DTD, Schema, CSS, XHTML ... If you are new to
XML, it may be hard to know where to begin. This summary in 10 points
attempts to capture enough of the basic concepts to enable a beginner to
see the forest through the trees. And if you are giving a presentation on
XML, why not start with these 10 points?" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue May 13, 2008 12:33 am Post subject: |
|
|
Jeff Atwood: XML: The Angle Bracket Tax
"Everywhere I look, programmers and programming tools seem to have
standardized on XML. Configuration files, build scripts, local data storage,
code comments, project files, you name it -- if it's stored in a text file and
needs to be retrieved and parsed, it's probably XML." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Jun 06, 2009 12:18 am Post subject: |
|
|
xmlsoft.org- Libxml2 set of examples
"Libxml2 is known to be very portable, the library should build and work
without serious troubles on a variety of systems (Linux, Unix, Windows,
CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, ...)" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Jun 20, 2009 9:38 pm Post subject: |
|
|
reddit - Erik Naggum's wonderful rant about XML
"There are some things in life that you do not do if you want to be a moral
being and feel proud of what you have accomplished." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Wed Aug 02, 2017 10:13 am Post subject: |
|
|
fhoerni - XSLT processing with xsltproc
"This article shows how to use XSLT style sheets to create HTML documents
out of XML data files.
The processing is done with the xsltproc tool.
The XML file contains the data.
The XSLT file tells how the data is to be displayed.
One XSLT file may be used to process several XML files and generate as many
HTML pages, with similar graphical presentation." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Dec 14, 2017 2:39 pm Post subject: |
|
|
so - What's the difference between text/xml vs application/xml for webservice response
"If an XML document -- that is, the unprocessed, source XML document -- is
readable by casual users, text/xml is preferable to application/xml. MIME user
agents (and web user agents) that do not have explicit support for text/xml
will treat it as text/plain, for example, by displaying the XML MIME entity as
plain text. Application/xml is preferable when the XML MIME entity is unread-
able by casual users." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Jul 23, 2019 2:20 pm Post subject: |
|
|
XMLSec - XML Security Library
"XML Security Library is a C library based on LibXML2. The library supports
major XML security standards:
* XML Signature
* XML Encryption
* Canonical XML (part of the LibXML2)
Exclusive Canonical XML (part of the LibXML2)" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Sun Jun 06, 2021 4:29 pm Post subject: |
|
|
[xml] iterating through an XML document?
"For using libxml2 in an own program i'd like to know how to:
- test if a node has a content or not
- test what attributes (or properties?) a node has" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Sun Jun 06, 2021 4:42 pm Post subject: |
|
|
xmlsoft.org - Index of /sources/win32
"Libxml2 is the XML C parser and toolkit developed for the Gnome project (but
usable outside of the Gnome platform), it is free software available under the
MIT License."
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Sat Jun 12, 2021 9:42 am Post subject: |
|
|
so - libxml2 error with namespaces and xpath
"The context for the XPATH query is independent of the namespace qualifiers
in the xml document. The default namespace forces all child tags into a
namespace; they don't require qualification in the document but must be
qualified in the xpath query."
Code: | xmlXPathRegisterNs(context, BAD_CAST "new", BAD_CAST "http://www.example.com/new"
xmlChar *xpath = (xmlChar*) "/new:book/new:section1";
|
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Mon Jun 14, 2021 6:03 pm Post subject: |
|
|
so - libxml2 get xsd validation errors
"where we can clearly see that the xmlErrorPtr which is returned by the
function xmlGetLastError() clearly contains information about the filename
and the line number and the column number.
char * file : the filename
int line : the line number if available
...
int int2 : error column" |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Thu Jun 24, 2021 7:11 pm Post subject: |
|
|
git - SXML: A Small XML parser written in C
"Inspired by the clean API design used by the JSON parser JSMN, SXML has
the same design goal and features for XML parsing. Go read about JSMN's
Philosophy and Features to get an idea of how it differs to other parsers..." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Thu Feb 15, 2024 5:56 pm Post subject: |
|
|
so - How do I include libxslt in my iPhone app?
"Basically you have to build libxslt statically and change the symbol names so
they don't match the ones that Apple looks for. All symbols xsltFoo() must be
changed to zsltFoo(). Also the name of the library itself must be changed from
libxslt.a to libzslt.a."
https://gitlab.gnome.org/GNOME/libxslt/-/releases
git - libxslt build for iOS projects
so - Version of XSLT in iPhone
"When you download the latest .tar.gz file all you need to include into your
project for the first time are:
config.h
libxslt/*.h
libxslt/*.c
But config.h and libxslt/xsltconfig.h don't exist just yet. They have the .in
suffix. You will need to either run the ./configure script or if that isn't
working straight out of the box for you then cheat like I did."[/i] |
|
Back to top |
|
|
|