Is this legal?
<?xml version="1.0" encoding="UTF-8"?>
<Glāžšķūņa Rūķīši="7">
</Glāžšķūņa>
I know I can use all kinds of characters in the content and attribute values, but can I use them in tag names and attribute names as well?
...
I'm looking to take the result of a SQL Server stored procedure and transform it into XML in .NET/C#
What I'm interested in is what standard libraries there are in .NET to help with the specifics of generating XML and if there any external libraries or tricks that can help automating the transformation from result set to XML.
I've look...
I have a XML file with my data in it. I want to populate the drop down options in a combobox with 2 of the fields in that xml file - FirstName and LastName.
In the xml document I am using GUID for the unique ID format, so the combobox dropdown would need the FirstName + LastName for each unique GUID variable.
What I have so far is the ...
Hi,
I have this XML:
<?xml version="1.0" encoding="utf-8"?>
<ConfiguraCanale ID_Comando="1">
<canaleDigitalOUTPUT ID_Canale="1" >
<stato>0</stato>
</canaleDigitalOUTPUT>
</ConfiguraCanale>
<ConfiguraCanale ID_Comando="2">
<canaleAnalogicoINPUT ID_Canale="2">
<timeAttesaPreCamp>00:03:00</timeAttesaPreCamp...
I need to make a file format for my software. The data is basic key/value pairs and images. The options are:
1) One XML file that has CDATA tag with binary encoded image files or image files encoded in a RGBRGBRGB or RGBARGBARGBA format.
2) One XML file holding key/value pairs and links to image files. These image files would be packag...
Hi all,
Am using a XML sort of language which doesnt have '||' operator. How can i achieve the effect of this operator? The language doesnt support ternary operator also. Other than if-else approach is there any other way to achieve this?
The expression is, if((x == 2) || (y == 2)), and should achieve this without ||, ?: , if-else.. th...
I understand why "REST framework" vendors want to provide the support for returning both Json based representations and XML based representations, but why do people want to return both from the same service?
Is it because you will have client applications that are built on a platform that has no available Json parser?
Is it beca...
Hi!
I'm working on a simple crawler in Python. The aim is to create a sitemap.xml.
(you can find the very alpha version here: http://code.google.com/p/sitemappy/)
I noticed that if I generate the xml with URLs containing non HTML entities (such as &), the xml doesn't validate and it isn't accepted by Google Webmaster Tools.
Is there a qu...
Hi
I am trying to update a child node of an XML file IE Changing the value.
The XML file looks like this:
<user>
<firstname>Andre</firstname>
<lastname>Bruton</lastname>
</user>
Here is my Classic asp code:
users_firstname = "Tristan" ''# New code to put in the XML file
Set xmlObj = Server.CreateObject("MSXML2.FreeThreadedD...
Hi,
I've got a XML Schema (xsd file) snippet bellow, in which I want the NAME and ADRESS elements to appear in any order, but always before the FILM sequence.
So I've been trying to do like this :
<xs:element name="ROOM">
<xs:complexType>
<xs:all>
<xs:element ref="NAME"/>
<xs:element ref="ADRESS"/>
</...
I have a .xslt that translates xml from one form to another (I'm not using and xsd so I will not say from one schema to another). My problem is that the original file's encoding of ' is lost in translation. This causes me a problem because in my database the names are stored using the apostrophe character not the single quote character...
Hey guys,
I'm trying to figure out the simplest way to map an xml file to to a plain old java object.
Note: That in my example the xml doesn't quite match up with my intended POJO.
///////// THE XML
<?xml version="1.0" encoding="UTF-8"?>
<Animal>
<standardName>
<Name>Cat</Name>
</standardName>
<standardVersion>
<Versio...
Hi,
I am having a problem accessing the @attribute section of my SimpleXML object. When I var_dump the entire object, I get the correct output, and when I var_dump the rest of the object (the nested tags), I get the correct output, but when I follow the docs and var_dump $xml->OFFICE->{'@attributes'}, I get an empty object, despite the...
What's the best approach (industry standard) when another business needs to upload an XML file into your web-application on a regular basis? The contents of the XML must be stored in a table. And, the contents of the XML file needs to be inserted into a parent table and related child table with other relationships to other lookup table...
I have a XML document with my data in it, multiple entries for the same node fields (StudentID = FirstName, LastName, etc). How do I convert the nodes into string values for each StudentID section?
...
How do I search a xmldata file node for the exact text that I have in my string value.
Ie: string fullname = "John Smith"
Search XmlData.xml for node "FullName" where the value of the text = "John Smith".
Thanks.
...
The XML feed is located at: http://xml.betclick.com/odds%5Ffr.xml
I need a php loop to echo the name of the match, the hour, and the bets options and the odds links.
The function will select and display ONLY the matchs of the day with streaming="1" and the bets type "Ftb_Mr3".
I'm new to xpath and simplexml.
Thanks in advance.
So far...
First off, I'm doing a contest where users must tweet a message 'just entered #cool-contest, more info at http://unique/url/239843' and I'm basically doing a search using the api:
http://search.twitter.com/search.atom?q=%40twitterapi+OR+%40twitter
Sample entry element:
<entry>
<id>tag:search.twitter.com,2005:5266369259</id>
...
If I have an xml file that looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<installerDefaults pathToAllUsers="C:\ProgramData\prog">
<databaseConnector>
<localDatabasePath>C:\ProgramData\prog\tracking.db3</localDatabasePath>
</databaseConnector>
<defaultLocales>
<installerDefaultLocale>en-US</installerDefaul...
How can I check whether the value of a string variable is Yes or No?
<xsl:variable name="test1" select="DBE:OBJECT/DBE:ATTRIBUTE[@name='test1']/DBE:String"/>
<xsl:variable name="test2" select="DBE:OBJECT/DBE:ATTRIBUTE[@name='test2']/DBE:String"/>
<xsl:choose>
<xsl:when test="$test1 = 'Yes'>
<xsl:apply-templates select="YES"/>
</xsl...