For using a 3rd party library, I need a w3c DOM Document. However, creating the xml nodes is easier in Scala. So I'm looking for a way for converting a scala xml element to w3c dom. Obviously, I can serialize to a string and parse it, but I'm looking for something more performant.
...
So far all the XML / XSLT I've worked with takes an XML document and transforms it to a standalone HTML webpage using an XSLT file.
In my web application, I'm using a web service to retrieve the XML document, which I need to render and make human-readable, and then insert that formatted content into a content placeholder in my master pa...
I was wondering if this is possible, I'm not looking for code, i just want to be pointed in the right direction - php, asp or javascript. I have an xml file:
<?xml version="1.0" encoding="utf-8"?>
<Groups>
<Group>
<groupNum></groupNum>
<purgeGroup></purgeGroup>
<DupeRecs>
<DupeRec>
...
I have a valid XML file being read by the following .NET C# windows service.
The tag in question (u1_000) is absolutely in the element:
<book id="u1_000" category="xyz">
Is there some reason the GetElementById() does not find the Book element with the tag? - thanks
XmlDocument doc = new XmlDocument();
doc.Load("C:\\j.xml");
XmlEleme...
I need to save content that containing newlines in some XML attributes, not text.
The method should be picked so that I am able to decode it in XSLT 1.0/ESXLT/XSLT 2.0
What is the best encoding method?
Please suggest/give some ideas.
...
For a simple rss reader, I am storing the results of queries in a client side (google gears) database.
So, myapp.php?query=xyz is stored in one column, and the result xml is stored in the next column.
Then, when myapp.php?query=xyz is requested, I first attempt to load from the cached content in the second column.
I need to figure ...
I am trying to use a function from SOAP, which will fetch details about a specific news item. The problem is that I don't get the expected results, just a a strange error. I am using the built-in SOAP client in PHP5.
My error is:
Fatal error: Uncaught SoapFault
exception: [Client] SOAP-ERROR:
Encoding: External reference
'ht...
Somehow I can't read an XML file with very simple structure in my PowerShell script. The XML file is generated by "Microsoft Log Parser Toolkit" and I want to load its contents into a database.
The script is very simple:
$datalist=[xml] (gc ".\users.xml");
foreach ($ROW in $datalist.ROOT.ROW) {
Write-host $ROW.CompName;
}
The...
I want to transform a large xml file to sql statements with xslt. For example I have the author tag.
<author>Evans, Jim; Henderson, Mike; Coyier, Alan</author>
I have a column for last_name and first_name, so Evans, Henderson and Coyier should go to last_name and so on.
How can I pick them out of the tag and put it into sql statement...
Greetings gurus,
I need a database solution that satisfies:
1: Custom-formated output from queries.
2: Custom functions integrated into queries.
Some implementations of XQuery with update facility might suite my needs.
However, I'm unsure of their performance when it comes to thousands (and maybe millions) of records of various nesting...
We are developing an application and it demands storing data in XML coz it will be used by another application.
now question is would it be possible to restrict access to that xml file. and make it readable only through our application? if yes.. how to do it?
...
I have a requirement to build an MS Word 2007 plugin that provides a button which when clicked uploads the Word document to a webservice as XML.
So far this doesn't seem to be all that problematic but the customer has the additional requirement that they want the XML to be meaningful. They are recording formatted text but want certain a...
Hi,
is it possible to completely stop eclipse from line wrapping XML and HTML files? It is easy to do this i.e. for java files, but I couldn't find similar settings for XML and HTML files.
Thanks in advance.
...
i have to do a webapp where the user designs a diagram using javascript and then can export it to an xml (the connections between the boxes). is there anything available?
...
I have xml like this
<categories>
<category>
<Loc>India</Loc>
<Loc>US</Loc>
<Loc>Spain</Loc>
<type>A</type>
<type>B</type>
<Cat>unknown</Cat>
<SubCat>True</SubCat>
</category>
</categories>
In my xsl when i m doing
<xsl:for-each select="categories/category">
All locations:<xsl:value-of select="Loc"/>
A...
Hi I am having a problem with a c# WebService, it was working fine but suddenly it stopped working, I am getting this error:
Unhandled Exception: System.InvalidOperationException: There is an error in XML document
System.InvalidOperationException: 'Big' is not a valid value for Sources
Sources is an enum, so I went to my wsdl an it was...
Hi,
I'm trying to get Flex and OpenX working together. I can get the ads to work when I view the site on a Mac using Firefox or Safari. But, if I use a PC with IE, I get error #1090 which is an XML parser failure.
Apparently, there is malformed XML. How do I check the XML that OpenX produces? What's the best way to find the nasty node...
I am currently working on a software to control aMule status of my server through the iPhone,
i created a socket that spits out xml which should be parsed out, but because NSXMLParser is event-drive, i'm having problems in understanding how this could work...
I thought of this type of XML structure, if you have ideas of a better way to s...
The Xml example in the go docs is broken. Does anyone know how to make it work? When I compile it, the result is:
xmlexample.go:34: cannot use "name" (type string) as type xml.Name in field value
xmlexample.go:34: cannot use nil as type string in field value
xmlexample.go:34: too few values in struct initializer
Here is the relevant c...
We have a java widget that does some basic parsing on arbitrary xhtml documents, and we've been using jTidy to clean them up before processing.
For a couple of reasons (which are outside the scope of this particular question,) we're looking to replace jTidy with a different library.
Can anyone recommend something? We're looking for so...