Hi!
I want to route url through Zend route regex with Swedish character
and here is my regex in xml configuration:
.....
([a-z\-å|ä|ö]+)
.....
Still, the route doesn't behave as I expect.
It doesn't redirect when the link contains å, ä, or ö
I have tried to change to [a-zåäö\-]+
but it also gives the same result..
anyone can help? ...
I'm backing up my Flickr pics locally using a Perl script and the Net::Flickr::Backup module. This pulls down the original picture, a thumbnail, and the associated metadata (title, tags etc) in a RDF-XML file.
I'd like to extract a subset of this metadata so I can generate a "poor man's Flickr" HTML page. This should display the thumbna...
I'm trying to parse the following XML file:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE content PUBLIC "-//BLACKWELL PUBLISHING GROUP//DTD 4.0//EN" "http://www.blackwellpublishing.com/xml/dtds/4-0/bpg4-0.dtd">
<content dtdver="4.0" docfmt="xml">
....
<forenames>NIELS BØIE</forenames><x> </x>
At first it wouldn't lo...
I've got some DocBook documentation styled with a CSS xml-stylesheet declaration. It looks great in Firefox, but IE7 doesn't seem to understand the CSS child selectors (e.g. section > title { ... }).
I think this is because IE is running in quirks mode to render this XML, and older versions of IE didn't support that CSS syntax at all.
...
Hi all
XML problem that's got me stumped, but is probably very simple...
The XML is like:
<header>
<createdOn>16 Sep 2009</createdOn>
<createdBy>Jez</createdBy>
</header>
<agents>
<agent>
<agentDetails>
<agentName>text</agentName>
<agentTelephone>text</agentTelephone>...
I fetched some records from a table named a2h_member in php. i want to convert it into XML format. How can i do this?. Give me some suggestions or code. Please Help me
...
Is it possible to escape from XML, to ActionScript 3 code? Take a look at the following:
<keyFrame name="myKey" delay="100ms" function="{function():void{soundCommand.execute()}}"></keyFrame>
where the
function():void{soundCommand.execute()}
part has to be interpreted as ActionScript 3. So ideally, if I query the function attribute...
from xml.dom.minidom import parseString
dom = parseString(data)
data = dom.getElementsByTagName('data')
the 'data' variable returns as an element object but I cant for the life of me see in the documentation to grab the text value of the element.
For example:
<something><data>I WANT THIS</data></something>
Anyone have any ideas?
...
When pasrsing XML using NSXMLParser, I encountered this problem when the parser received some characters that it couldn't take such as: the auto-correct "..." or "--" in MSWord.
My app reads XML which is exported out of my database from a PHP file. I wonder if I should handle this on the server side or on the iPhone SDK and How?
any he...
Say I have an XML document (represented as text, a W3C DOM, whatever), and also an XML Schema. The XML document has all the right elements as defined by the schema, but in the wrong order.
How do I use the schema to "re-order" the elements in the document to conform to the ordering defined by the schema?
I know that this should be poss...
I know how to create InputSource out of Reader but how to go the other way?
I'm capturing org.xml.sax.InputSource and now want to feed it into org.xmlpull.v1.XmlPullParser. That one has few setInput methods but these only accept Reader or InputStream as an argument. What would be the best way to convert InputSource into one of these?
...
Hi,
I'm trying to check if a value in an xml node exists using Jquery. The xml string is:
<SectionAnswers>
<SectionAnswer>
<detailID>2216</detailID>
<SourceAnswerID>979</SourceAnswerID>
</SectionAnswer>
<SectionAnswer>
<detailID>2218</detailID>
<SourceAnswerID>981</SourceAnswerID>
</SectionAnswer>
<Sec...
I have an XML document, want to do syntax highlighting.
The code uses XPathDocument, XPathNavigator and XPathNodeIterator .
After I call Select(), how can I get the original text in the XML document?
var xpathDoc = new XPathDocument(new StringReader(this.richTextBox1.Text));
var nav = xpathDoc.CreateNavigator();
XmlNamespaceManager...
Hey guys,
i want to parse an xml file with jquery. This works so far, only the output confuses me:)
probably you can help me.
$(function(){
$.get("images.xml",{},function(xml){
var output = "<ul>";
$(xml).each(function() {
smallImage = $(this).find("small").text();
//bigImage = $(this).find("big").text();
...
In my code
XmlNode xNode2 = doc2.SelectSingleNode("PageQuery/QueryReport[@id='" + 1 + "']/MainReport/OpenReport");
how to select all childnode in XmlDataSource?
...
Hello
I am exporting an excel workbook into xml spreadsheet
The excel has lets say 10 columns and 10 rows
Some of the cells are empty(i.e with no value)
When i save the file into xml spreadsheet and review the row that has blank cell in it it has only cells, the cell with the empty value is not there and the xml show that the cell befor...
The issue:
When readin CDATA elements, carriage return (0xD) are omitted from the output.
Is there a proper way to tell Xmllite to keep CR,
or should I always need a Replace(LF,CRLF) call?
Thanks I.A
...
Hi All,
want to know How to convert 2009-09-18 to 18th Sept in xslt?
Thanks.
...
Hi everyone,
I'm new to XML. We are working on Asp.net, C# & Xml.
We are developing a project mostly working on XML. We are generating an XML File from the inputs given from an Admin Page. According to the work done on Admin page, an Xml File will be Generated and it will be stored into the SQL Server DB.
This is just an example of the...
I'm at the receiving end of a HTTP POST (x-www-form-urlencoded), where one of the fields contains an XML document. I need to receive that document, look at a couple of elements, and store it in a database (for later use).
The document is in UTF-8 format (and has the appropriate header), and can contain lots of strange characters.
When I...