I have an XSLT Transformer in Java (actually its Apache FOP rendering to PDF) where I have already set a custom URIResolver (for 'servlet-context:' URIs).
Now I need to use another URIResolver in addition (a CatalogResolver for caching DTDs).
Do I need to write my own URIResolver now that calls either of the two or is there a better w...
I have a legacy binary file format containing records that we have to convert and serve to other parts of our system as XML. To give a sense of the data sizes, a single file may be up to 50 megs with 50,000 or more records in it. The XML conversion I have to work with blows this particular file up by a factor of 20 to nearly a gig.
...
I am writing an XSLT transformation in which I wish to use the Replace function to do a regex match and replace.
However, Visual Studio 2008 reports that
'replace()' is an unknown XSLT function.
The bit of code itself is:
<xsl:otherwise>
<td style="border: solid 1px black; background-color:#00CC66;">
<xsl:variable...
So I'm trying to parse some XML, the creation of which is not under my control. The trouble is, they've somehow got nodes that look like this:
<ID_INTERNAL_FEAT_FOCUSED_EXPERTISE_(MORNINGSTAR) />
<ID_INTERNAL_FEAT_FOCUSED_EXPERTISE_(QUARTERSTAFF) />
<ID_INTERNAL_FEAT_FOCUSED_EXPERTISE_(SCYTHE) />
<ID_INTERNAL_FEAT_FOCUSED_EXPERTISE_(TR...
Without going into too much detail we are looking to use XML as meta-data to describe constraints on properties (This is a cutdown example and XSD did not support our proposed complex model), there are two options being considered, which of the following XML strucutures makes better sense?
Option 1)
<?xml version="1.0" encoding="us-asc...
If I have 50,000-100,000 product skus with accompanying information, including specifications and descriptions, that needs to be updated on a regular basis (at least once a day), is XML the best way to go as a data interchange format? The application is written in PHP, and I'm thinking SimpleXML to PHP's native MySQL calls (as opposed to...
I have identical objects in both a c# server app and a java client app. The server XML serializes these objects and makes them available through a REST service. The java app downloads the data in XML format. What is the best way to deserialize the xml data to my java objects? I am currently using Java org.w3c.dom classes to parse the ...
Ok so heres my problem, i have to read in a list of data from an xml file which i have done, now i have to load up the title from each peice of data into the tableView's list, now this is where i need my help, ok with in my view did load method i create the connection in order to connect to the server i need to, that works fine, now my p...
I have a class that I want to include in a GWT module. Unfortunately, it has a method that has functionality unsupported by GWT (it uses Class.isInstance in case you're curious). I do not use this method in my GWT application, but other non-GWT apps use this method, so I cannot simply remove it. Is there a way to exclude this method i...
I would like to know if there are any xml coding standards.
<?xml version="1.0"?>
<overlay id="tutorboy-toolbar-Overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<toolbox id="navigator-toolbox">
<toolbar id="tutorboy-toolbar-Toolbar"
toolbarname="TutorBoy Toolbar"
...
EDIT See my solution below /EDIT
I have a Visual Studio solution with two projects.
Project 1 (call it ReferencedProject) contains an XML schema file (ReferencedSchema.xsd).
Project 2 (call it MainProject) contains ReferencedProject as a reference. MainProject also has a schema file (MainSchema.xsd).
MainSchema.xsd contains the foll...
I added a folder to the Code Snippets Manager, opened the Parent.snippet file for use as a template, edited it as below, and saved it to my "XML Snippets" folder.
Now, whenever I try to use a snippet, the editor inserts a comment (<!-- -->) instead of the snippet contents... FOR ANY snippet, the VS2008 original snippets, my snippet - do...
There are a lot of tutorials that teach on how to validate XML against a schema. But now I want to validate XML syntax only, not against the schema. Meaning I just want to check whether the XML is well-form, that whether there are closing or opening tag that is not done properly.
Is there anyway I can do that in .Net?
...
So I have a plist structured string, that get dynamically (not from the file system). How would I convert this string to a NSDictionary.
I've tried converting it NSData and then to a NSDictionary with NSPropertyListSerialization, but it returns "[NSCFString objectAtIndex:]: unrecognized selector sent to instance 0x100539f40" when I att...
I have a XSLT 1.0 file to transform a XML file using XSLT 1.0. It works fine with IE 6.0, Firefox 3.0.11. However, PHP 5.2.6 XSL XSLTProcessor (providing XSLT 1.0) and Qt C++ QXmlQuery (providing only XSLT 2.0) give blank output.
I'm thinking of 2 ways:
Convert it to XSLT 2.0
Extract Firefox part to parse.
I prefer the 1st one. Plea...
How to pass information in this flow:
Flash(AS3) -> PHP, using XML -> Database(mysql)
Can anyone write a simple code for that?
Thanks.
...
I'm getting the error in the title occasionally from a process the parses lots of XML files.
The files themselves seem OK, and running the process again on the same files that generated the error works just fine.
The exception occurs on a call to XMLReader.parse(InputStream is)
Could this be a bug in the parser (I use piccolo)? Or is ...
I want to create a file using Objective-C, which stores the data comes from XML. I also have to do basic functions of read and write into that file. How can I do this?
...
In Visual Studio 2005 the XSD compiler was in the SDK/v2.0 directory. In Visual Studio there is only a SDK/v3.5 directory has gone and so too has the xsd.exe compiler. Where has it gone?
Tony
...
%a = ( "KEY" => {
"p1" => 1 , [1223],
"p1" => 2 , [2323],
"p1" => 3 , [2353],
}
);
I want to generate a structure like this. I have tried with this code:
@array = ( 1223 , 2323 ,2353 );
$count = 0;
foreach my $i (@array) {
$a{"KEY"} => { "p1" ...