Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XML

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> General Programming
General Programming  
Author Message
x-smile
Guest





PostPosted: Wed Aug 23, 2006 5:56 pm    Post subject: XML Reply with quote

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

PostPosted: Wed Sep 13, 2006 6:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Marko
Guest





PostPosted: Mon Sep 25, 2006 4:58 pm    Post subject: Reply with quote

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: 3136
Location: Europe

PostPosted: Mon Oct 02, 2006 12:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
XNote
Kapetan


Joined: 16 Jun 2006
Posts: 532

PostPosted: Wed Nov 08, 2006 9:00 am    Post subject: Reply with quote

Does XML Suck?

"Why XML is Technologically Terrible, but You Have to Use It Anyway"
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu Jun 28, 2007 12:16 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Sat Jan 26, 2008 11:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Sun Jan 27, 2008 7:31 pm    Post subject: Reply with quote

James Clark: XML Resources

"Expat (XML Parser Toolkit), a library for XML parsing in C. This is the parser
being used to add XML support to Netscape 5 and Perl. There are answers
to some frequently asked questions about expat. There's also a useful
article on expat at XML.com."


There's also an excellent article about expat on XML.com by Clark Cooper.

See version 2.0 at SourceForge.net - The Expat XML Parser.
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Fri Feb 08, 2008 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Mon Feb 18, 2008 10:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Sun Feb 24, 2008 5:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu Mar 13, 2008 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu Mar 20, 2008 2:09 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu Apr 10, 2008 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu May 01, 2008 11:22 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Tue May 13, 2008 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Sat Jun 06, 2009 12:18 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Sat Jun 20, 2009 9:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Sun Aug 26, 2012 2:22 am    Post subject: Reply with quote

http://www.reddit.com/r/programming/comments/ysywo/the_essence_of_xml_is_this_the_problem_it_solves/

The essence of XML...
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Wed Aug 02, 2017 10:13 am    Post subject: Reply with quote

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
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu Dec 14, 2017 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Tue Jul 23, 2019 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Sun Jun 06, 2021 4:29 pm    Post subject: Reply with quote

[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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Sun Jun 06, 2021 4:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Sat Jun 12, 2021 9:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Mon Jun 14, 2021 6:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Thu Jun 24, 2021 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Thu Feb 15, 2024 5:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> General Programming All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group