xml

how to use like keyword in sql query

I have a sql query shown below i want to use the variables streetname, keyword1,radius and perform the sql query using like keyword but their is some problem with query syntax can anyone help protected void CreateXML(string keyword1, string streetname, string lat, string lng, string radius) { SqlConnection con = new SqlCon...

jQuery XML parsing in IE8

I have some XML that I am parsing in jQuery. <payload> <value key="VehicleMake"> <value key="description">Aeon</value> <value key="code">18</value> </value> <value key="VehicleMake"> <value key="description">Alfa Romeo</value> <value key="code">120</value> </value> </payload> In all br...

how to address this variable in xml using axes...

I need to get the following values out of the xml below. I've snipped it for brevity, it goes on quite some way. I need to extract: operator name ppm rolling ppm ia my xslt stylesheet, but i dont know how to correctly address the elements. <?xml version="1.0" encoding="UTF-8"?> <nr:RTPPMDataMsgV1 owner="Network Rail" timestamp="2010...

Xml schema - define child elements 0-* in any order

I want to define a xml schema where the element Connectors have 0-* child elements. Either Sequence, Association or Message in any order and 0 to many times. I.e. <Connectors> <Sequence /> <Association /> <Message /> <Sequence /> <Sequence /> <Message /> <Message /> <Association /> </Connectors> I tried...

How to branch a SAX parser depending on the first known tag.

I'm having hard times parsing multiple different XML files on Android using the built-in SAX parser. Nate and Aron Saunders have helped me with the right approach to this problem but I struggle in implementing it. You can read about it here. http://stackoverflow.com/questions/3583876/how-to-parse-different-xml-files-using-sax-on-androi...

simile timeline. problem with XML file

Hi guys! I was searching through the web how to do time lines. I found this one that I like: http://www.simile-widgets.org/timeline/ So I try to follow their tutorial, which can be found here: http://simile.mit.edu/wiki/How_to_Create_Timelines I following the tutorial so the code is the same but here it goes: <script> var tl;...

xslt transformation

hi! i have an xml like this: <Ownership_Shareholders_S> <Ownership_Shareholders> <CUSTOMER_31>A</CUSTOMER_31> <PERCENT_NAME_OF_OWNERS_32>40%</PERCENT_NAME_OF_OWNERS_32> </Ownership_Shareholders> <Ownership_Shareholders COLL_ID="1"> <CUSTOMER_31>A</CUSTOMER_31> <PER...

Timeout expired. Problem in Exporting xml to sql server 2008 data table - .net

Hi All, I am exporting xml data to sql server 2008 database. .net code: http://stackoverflow.com/questions/3600091/how-to-pass-xml-from-c-to-a-stored-procedure-in-sql-server-2008 Query to insert: http://stackoverflow.com/questions/3606649/querying-a-xml-in-sql-server-2008 Everthing is working fine if the file size is small. Now the ...

How to insert one xmldom object to a node of another xmldom object in javascript

How do I insert one xmldom object to a node of another xmldom object in javascript? Thanks in advance ...

Generating java classes from xsd files

Hi, I have got a xsd files from some thirdparty which used to be with "include" and not "import". I am using these xsd file to generate java files, using jaxb. The initial xsd structure resulted in output in which same classe were included in different packages. for example, if two packages were generated, "aa" and "bb", both included th...

Problem: sporadic NPE when using XALAN transformer to return HTTP response

Hi, In my tomcat server, I'm trying to return an XML response by writing the response to the servlet's output stream, using a XALAN identity transformer. The XML is valid, but from time to time I'm getting a NPE inside the transformer: WARNING java.lang.NullPointerException at org.apache.xalan.transformer.TransformerIdentityImpl.c...

Xsl find all the node that have then name like the value of an other node

How I can find with Xsl all the node that have then name like the value of an other node Like these: <root> <data1> <subdata1> ... <selectThese></selectThese> ... </subdata1> </data1> <nodesetFind> <node1>selectThese</node1> </nodesetFind> </root> the result: <selectThese>...

how to use django models in XML?

Hi again, I have a simile timeline built and I want to use the data from some django models. I would like to known if is best to use XML or JSON. I don't known anything about any of the two, so if I have to learn, it's best to known which will do what I want. I will need to make some loops to iterate over the data and use variables. ...

dump xml string verbatim to mysql db

Hi everyone, I need to dump an xml string (coming into a web service as a POST param), directly into a Mysql DB. The column into which I am writing is currently of type 'text', though I have tried blob as well. Right now, when I save the string and retrieve it later on using sql, it comes back in a serialized like format, like this: a:...

mvc 2 help with xml partials

Ok, so in order to provide Data to Fusion Charts I need to give it some XML.. I have narrowed it down to this myChart.setDataXML("<%Html.RenderPartial("Graph", Model.graph_data); %>"); which renders myChart.setDataXML(" <chart caption='Grafico' xAxisName='Factores' yAxisName='Porcentaje' decimals='0' formatNumberScale='0' number...

Importing Multiple XSD Files into Eclipse's XML Catalog

We presently have about 15 different XSD files that define the many XML configuration files available to developers configuring our project. Is there any convenient way to import all of these into the XML Catalog in a simple pass? Although multiple select would be better than importing the files one at a time (as we presently have to do...

JiBX: Creating a marshaller for non-global elements?

So we have a given XSD such as this: <xsd:element name="SomeRequest"> <xsd:complexType> <xsd:sequence> <xsd:element name="RegistrationDetail" type="RegistrationDetailType" minOccurs="0" /> </xsd:sequence> </xsd:complexType> </xsd:element> <...

display xml data in html from an xml file specified within another xml file

Hi, can you help, I have a basic xml file which is displaying well in html. The xml file is as such... <videoList> <video> <pointer> <type><![CDATA[image]]></type> <lat><![CDATA[52.1]]></lat> <long><![CDATA[1.0]]></long> </pointer> <speaker> ...

Is there a format specification for XML files from FLA import in CS5?

CS5 allows you to save FLA project as a bunch of XML files that encode vector graphics in some format, like: <Edge cubics="!8809 4331(;8821,4327 8849,4316 8865,4311q8809 4331 8865 4311);" /> Is there a format specification somewhere explaining what those entries mean? ...

Framework Brainstorm

Hello All. So we are this company with currently 3 browser based games. We are just 4-5 coders employed and would really like to improve the synergy from our coding. So we are considering making a more generic framework. Currently our games consists of one big mix of html, php, javascript, css & flash (+databases). So basically I woul...