xml

ruleML - benefits/bad points?

Hi guys, I'm currently looking into ruleML and I was wondering if maybe someone could give me a short list of advantages and disadvantages about it? Thanks ...

Setting the filetype in ASP.net fileupload

Is it possible to limit the asp.net fileupload dialog to view only XML files? (Filer, .xml only) Note: Not to check whether the extension is .xml, but to actually only let the user view xml files in the dialog. ...

Name cannot begin with the ' ' character

I'm parsing some XML in C#. I'm getting it from a database, and so converting it to a MemoryStream before reading it with an XmlTextReader. The problem is that I get this error: Name cannot begin with the ' ' character, hexadecimal value 0x20. Line 1, position 3. Following is my XML and my code for reading it (it's coming out of the data...

Regular expression to match ">", "<", "&" chars that appear inside XML nodes

I'm trying to write a regular expression using the PCRE library in PHP. I need a regex to match only &, > and < chars that exist within string part of any XML node and not the tag declaration themselves. Input XML: <pnode> <cnode>This string contains > and < and & chars.</cnode> </pnode> The idea is to to a search and replace thes...

Adding relative path for an external graphic in a XSL document?

Hi, first of, I don't know much about XSL. I am using a app called DITA to generate pdfs. One of the things it requires is an overwrite of an xsl file; to add custom styling. I am trying to add an external graphic using a relative path. It doesn't work, unless I supply the full path. Does not work: <fo:block text-align="center" width...

All Available Tags in web.config file of asp.net

hi i want the list of all available tags list & desc of xml tags ...

jQuery, XML as a String, and IE

Hello everyone, I just inherited a project where the main navigation menu is currently Flash. They asked if I could switch it to javascript, so I agreed to give it a shot. The navigation structure itself is dynamically generated on the server and new nodes are picked via an ajax call. The return is all XML. To prevent delays on initia...

Trying to read XML file but he is always the same

Hi! I have a xml file that changed when i update some values, and i'm trying to read it from javascript in asp.net. But once i run the project, every time i try to read the xml file, the file is the same from the begining... this is my javascript code that i have in server side script = "function OnClientDragEnd(dock, args)" + ...

XML Dialect for scripting robot tasks

In my next project I will have to implement an automation solution to test a hardware device. basically, the test involves an industrial robotic arm picking a device to be tested, holding it at some specified position and then using a series of other devices like motors and sensors to exercise several areas of the product to be tested. ...

Applying SoapIgnore attribute doesn't take any effect to serialization result

I'm trying to figure out .NET serialization stuff and experiencing a problem. I've made a simple program to test it and got stuck with using attributes. Here's the code: [Serializable] public class SampleClass { [SoapIgnore] public Guid InstanceId { get; set; } } class Program { static void Main() ...

Flex XMLListCollection Iteration Concatenating Collected Values...

I am working in flex builder 3 with an XMLListCollection and have run into this (should be simple) parsing snag... The XMLListCollection Data: <data> <term name="NUMBERS"> <alt_form name="1"/> </term> <term name="LETTERS"> <alt_form name="A"/> <alt_form name="B"/> <alt_form name="C"/> </t...

Calls to successive calls on repeater with XML datasource is not binding new data

I have the following Page_Load function... protected void Page_Load(object sender, EventArgs e) { XmlDataSource1.Data = GetXmlFromFile(Request.QueryString["file"]); XmlDataSource1.DataBind(); Repeater1.DataBind(); } The page in which this Page_Load resides is called by a parent page. Each time this Page_L...

info.plist keys available for iphone app

Are there any info.plist xml keys used in an iphone app that will show up in iTunes 'Get Info' ? ...

Wireframe editor with xml output for GUI generator

We develope with OpenLaszlo framework. The idea is to have a tool to design UI components. The output should be an XML to use as a source for code generation. The tool should be opensource. What do you suggest? Thanks in advance. Note: I was searching previous questions, but I couldn't find any for our needs. ...

Extracting XML with PHP

I know how to use simplexml_load_file to get XML results if the XML format is <bowlcontents> <banana>yellow</banana> <apple>red</apple> </bowlcontents> However, I have some code that is in the format <bowlcontents> <fruit type="banana" skin="yellow" /> <fruit type="apple" skin="red" /> </bowlcontents> and I want to mani...

Saxon 9 parser and indent="no" - How to remove 'pretty-print'?

Setting indent="no" has no effect with Saxon 9. I guess it is optional in the spec; it isn't really a bug or anything with Saxon. Is there any way to remove the "pretty print"? We save off the XML and it is quite a bit bigger with all the indents. ...

Creating random XML entries in Java or Perl

Hello I am looking for a method to insert random XML data in Java (or Perl). <vehicles ID="DJ3RKFF9"> <vehicle> <make>Toyota</make> <model>Yaris</model> <year>2009</year> </vehicle> <vehicle> <make>Ford</make> <model>Taurus</model> <year>2008</year> </vehicle> </vehicles> ...

XML and ServerXMLHTTP problem

Error Type: msxml3.dll (0x80072F0C) A certificate is required to complete client authentication I am sending an XML file to a remote server putUrl =https://www.myweb.com/test/drhandler.php xml_put = "<?xml version=""1.0""?><subscription id=""" & "14" &"""><status>" &"das" & "</status></subscription>" Public Function SendBatch(xml_p...

File-based database asp.net

Is there some kind of simple database system that uses simple text or xml files for data storage? I just need some basic functionality like update,delete, insert, simple constraints and relations. For the project that I have now using SQL Server would be too heavyweight and I have never really liked it anyway. ...

AS3 Loading Workflow: XML First, then Multiple Assets

I am working on my first big Actionscript 3 website and trying to decide on the best loading sequence. I am currently using BulkLoader, since filesize wasn't much of an issue for a larger website, but I am definitely open to other approaches. I am trying to figure out which external assets to measure progress {1 swf, 1 css file, multip...