The marketing people want to have the ability to write direct inline HTML in the (xml based) CMS. xhtml compliance and the like potentially goes down the drain, but they're the boss(es). The CMS uses a regular xml/xslt transformation pipeline. Currently we just use a
single node with a cdata node containing all the nastiness, created us...
I work for an organization where we take raw MPEG-2 video files of lectures from academic institutions and make them available on our website in a variety of formats. Right now the workflow for turning the MPEG-2 into audio (MP3) and video (MP4), uploading to iTunes U, YouTube, etc. is extremely tedious. I would like to automate this pro...
Can you suggest some of the best XML Parser for C ?
...
I am using XML minidom (xml.dom.minidom) in Python, but any error in the XML will kill the parser.
Is it possible to ignore them, like a browser for example?
I am trying to write a browser in Python, but it just throws an exception if the tags aren't fully compatible.
...
We want to take XML data and convert it to an NSDictionary object, but we don't want to manually iterate over the XML. Is there an easy way to do this? How are you doing web services for your iPhone app?
...
My current program need to use programatically create a XPathExpression instance to apply to XmlDocument. The xpath needs to use some XPath functions like "ends-with". However, I cannot find a way to use "ends-with" in XPath. I
It throw exception like below
Unhandled Exception:
System.Xml.XPath.XPathException:
Namespace Manager ...
This might be a stupid or obvious question, but our whole site is rendered using XSLT to transform xml which is created on the fly from database queries and other pieces. Im starting to push a lot of ajax into the site to make it more dynamic, is there a good tutorial on xslt and ajax?
...
There are a variety of characters that are not legally encodeable in XML, e.g. U+0007 ('bell') and U+001B ('escape'). Most of the interesting ones are non-whitespace 'control' characters.
It's clear from (e.g.) this question and others that it's the XML spec that's the issue -- but can anyone illuminate me as to why the XML spec forbi...
First, how do I format the XML processing instruction, is it:
<?processingInstructionName attribute="value" attribute2="value2"?>
Using StAX, I then want to read it by handling the XMLStreamConstants.PROCESSING_INSTRUCTION (javadoc) event, but it only provides two methods to then retrieve information about the processing instruction f...
Something like ".//div[@id='foo\d+]" to capture div tags with id='foo123'.
I'm using .NET, if that matters.
...
I can write:
update my_table
set xml = updateXML(xml, '/a/b', '1')
where document_id = 123
Now what if in the same update query I also want to set /a/c to 2 (in addition /a/b to 1)? I am tempted to write:
update my_table
set
xml = updateXML(xml, '/a/b', '1'),
xml = updateXML(xml, '/a/c', '2')
where document_id = 123
But th...
I need to do some processing on fairly large XML files ( large here being potentially upwards of a gigabyte ) in C# including performing some complex xpath queries. The problem I have is that the standard way I would normally do this through the System.XML libraries likes to load the whole file into memory before it does anything with it...
I think a lot of people know about tools like RegexBuddy. Is there something similar for XSLT?
...
I need to know how we can Generate WordML Reports Using Templates and XPath using ASP.Net.
What are its advantages.
A Simple How To Tutorial is what I require.
...
I need your help to define a special case in XML schema:
A sequence that contains two elements: 'x' and 'y' whereas:
'x' element can appear 0 to unbound times in the sequence
'y' element can appear 0 to 1 time in the sequence
'x' and 'y' locations can be anywhere - that is, it is possible to have unbound times the 'x' element and then...
Any examples ? thanks
...
I have some XML code that looks like this
<SEARCHRESULTS>
<FUNCTION name="BarGraph">
<PARAMETER name="numList"></PARAMETER>
<PARAMETER name="maxValue"></PARAMETER>
<CODE>Some code</CODE>
</FUNCTION>
</SEARCHRESULTS>
And I want to extract a list of parameter names for each function, so far I've got the following xsl cod...
I realize this is probably a very stupid question so sorry in advanced. I am trying to pass an XML list to a view but I am having trouble once I get to the view.
My controller:
public ActionResult Search(int isbdn)
{
ViewData["ISBN"] = isbdn;
string pathToXml= "http://isbndb.com/api/books.xml?access_key=DWD3TC34&am...
Hi folks,
I have an xml that has text within "word" elements e.g
<word>Police</word>
<word>confirmed</word>
<word>they are</word>
<word>questioning</word>
<word>a</word>
<word>man</word>
The problem is when I apply the xslt the text appears like "Policeconfirmedthey arequestioningaman".
Here is the xslt snippet that does this transf...
I am looking for an ORM to use with .net, I need to be able to do full graph serialization to Xml on the entitys the ORM generates. My own research leads me towards using the WCF and the Entity Framework to achieve this, Is this the best option or is there a simpler way ?
...