Displaying 13 results from an estimated 13 matches for "xmltree".
Did you mean:
xmlfree
2007 May 18
1
Trouble compiling XML package
...have gcc version 3.3.3, and libxml2 version 2.6.7. I know this is not
current, but I'm on a machine used and administered by others, and
updating libxml2 would require updating libc, and things get pretty
complicated from there.
Trying to install through R (1.9-0), I eventually get the error:
XMLTree.c: In function `xmlBufferWrite':
XMLTree.c:729: error: void value not ignored as it ought to be
make: *** [XMLTree.o] Error 1
I manually downloaded version 1.8-0 and got the same problem. I took a
look at that part of the code, but do not understand enough to start
tinkering with it. I wa...
2012 Mar 21
1
Trouble installing the XML package
...-DDUMP_WITH_ENCODING=1
-DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1
-DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1
-DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DUSE_R=1 -D_R_=1
-DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1 -I. -DLIBXML2=1 -fpic
-g -O2 -c XMLTree.c -o XMLTree.o
In file included from XMLTree.c:39:
Utils.h:230:2: warning: #warning "Redefining COPY_TO_USER_STRING to
use encoding from XML parser"
XMLTree.c: In function ?R_createXMLNodeRef?:
XMLTree.c:1074: warning: assignment makes integer from pointer without a cast
XMLTree.c: In fun...
2012 Oct 13
0
XML_3.95-0.1.tar.gz does not build on FreeBSD
...URN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DUSE_R=1 -D_R_=1 -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1 -I. -DLIBXML2=1 -I/usr/local/include -fpic -O2 -pipe -O2 -fno-strict-aliasing -pipe -msse3 -Wl,-rpath=/usr/local/lib/gcc46 -c XMLTree.c -o XMLTree.o
In file included from XMLTree.c:40:0:
Utils.h:230:2: warning: #warning "Redefining COPY_TO_USER_STRING to use encoding from XML parser" [-Wcpp]
XMLTree.c: In function 'R_createXMLNodeRefDirect':
XMLTree.c:1056:48: warning: cast from pointer to integer of different s...
2003 Sep 09
1
Building XML package for MacOS X
.../include/libxml2. I use R INSTALL, I get the
following:
R INSTALL -c -l /usr/local/R/library XML_0.94-1.tar.gz
:
:
:
gcc -bundle -flat_namespace -undefined suppress -L/sw/lib -L/usr/local/lib
-o XML.so DocParse.o EventParse.o ExpatParse.o HTMLParse.o RSDTD.o
RUtils.o Utils.o XMLEventParse.o XMLTree.o -lz -lxml2
ld: multiple definitions of symbol _xmlParserError
Utils.o definition of _xmlParserError in section (__TEXT,__text)
/usr/local/lib/libxml2.dylib(libxml2.2.5.9.dylib-master.o) definition of
_xmlParserError
make: *** [XML.so] Error 1
ERROR: compilation failed for package 'XML'...
2003 Oct 09
2
building XML-0.95-1 on MacOS
...I/sw/include/gnome-xml
Link flags: -L/sw/lib -lxml -lz -lz -lxml
Compiling produced the following error:
gcc -bundle -flat_namespace -undefined suppress -L/sw/lib
-L/usr/local/lib -o XML.so DocParse.o EventParse.o ExpatParse.o
HTMLParse.o RSDTD.o RUtils.o Utils.o XMLEventParse.o XMLTree.o
-L/sw/lib -lxml -lz -lz -lxml -lcc_dynamic
ld: multiple definitions of symbol _xmlParserError
Utils.o definition of _xmlParserError in section (__TEXT,__text)
/sw/lib/libxml.dylib(error.lo) definition of _xmlParserError
make: *** [XML.so] Error 1
ERROR: compilation failed for package 'XML...
2003 Jul 30
1
Write XML according to ggobi DTD
Hi,
Has anyone out there written a function to take a data.frame as input
and generate XML that conforms to the DTD for ggobi ("ggobi.dtd")? In
other words, like a simple version of the writeSDML function in the
StatDataML package, but using ggobi.dtd instead of StatDataML.dtd.
It looks easy to write such a function to handle data.frames with only
numeric data, but a bit of work with
2009 Jul 14
1
(simple) xml into data.frame and reverse
...ion? My XML
files are nothing fancy (no child nodes or anything, at least as far
as I can see.
### data.frame
data<- as.data.frame(cbind(c( 0 , 1 ),c( 500 , 300),c(200, 400)))
names(data)<-c("age","0","1")
### converts data.frame into XML
xml <- xmlTree()
xml$addTag("populationsize", close=FALSE)
for (i in 1:nrow(data)) {
xml$addTag("size", close=FALSE)
for (j in names(data)) {
xml$addTag(j, data[i, j])
}
xml$closeTag()
}
xml$closeTag()
# view the result
cat(saveXML(xml))
I put below also an example of...
2010 Jun 22
1
Adding style sheet line to xml output
I'm probably being dense but I can't work out how to add the second
line:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="style.xsl"?>
<catalogue>
...
...
I can get the first line using:
saveXML(xml$value(), prefix='<?xml version="1.0"?>',
2001 Aug 10
2
Stream from HAL2001
My machine is encoding the HAL2001 radio. You could get the Ogg/vorbis
live stream at http://ogg.radiostudio.org:8002/hal2001.ogg
I use the beta4 encoder, if there is a newer one for encoding lower
bitrates, please give me the download link (win32 binary).
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list,
2008 Jul 02
1
Removing or overwriting an XML node
...with my own
newly created subtree:
<?xml version="1.0"?>
<Duncan>
<name a="1" b="xyz">
<first>Duncan</first>
<last>Temple Lang</last>
</name>
</Duncan>
created by e.g.
? library(XML)
tr <- xmlTree("Duncan")
tr$addTag("name", attrs=c(a=1,b="xyz"), close=F)
tr$addTag("first", "Duncan")
tr$addTag("last", "Temple Lang")
tr$closeTag()
cat(saveXML(tr))
And now imagine I want to change <first>Duncan</firs...
2012 May 20
3
dot - comma problem
Dear all
I am trying to use the ODB package to connect to an libreoffice-odb database.
The libreoffice package is german, thus, decimal separator is a comma. However,
I can open the database and upload a it without error,
library(ODB)
db <- odb.open("Test.odb")
but a soon as the "odb.open" command is executed, the decimal separator in R
is changed to comma.
Before
2006 May 18
1
Unnecessary Gem modules loaded under Rails 1.1.2
All,
Rails 1.1.2
Win XP Pro
Rubyful Soup 1.0.4
htmltools 1.0.9
I am terribly confused as to what pulling in a gem does with respect to
how many modules get loaded at runtime.
I am using two gems in my app, Rubyful Soup and htmltools.
RubyfulSoup requires one module from the htmltools gem
(html/sgml-parser).
My app requires the RubyfulSoup gem.
When I started my app, something was causing
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
....34,200,69.23
"2007-02-02",72.2,72.2,72.2,72.2,200,70.06
"2007-02-05",71.76,71.76,71.76,71.76,5100,69.63
"2007-02-06",72.85,72.85,72.85,72.85,3800,70.69
"2007-02-07",72.85,72.85,72.85,72.85,0,70.69'),
as.is=TRUE)
library(XML)
xml <- xmlTree()
xml$addTag("document", close=FALSE)
for (i in 1:nrow(data)) {
xml$addTag("row", close=FALSE)
for (j in names(data)) {
xml$addTag(j, data[i, j])
}
xml$closeTag()
}
xml$closeTag()
# view the result
cat(saveXML(xml))
Paul
zubin wrote:
> Duncan, tha...