Im using the docbook2dita.xsl from the DITA open toolkit (although I had to modify it to xsl version 2.0) To convert my .xml files orginally created in docbook over to DITA now. A weird issue that I'm running into is the tags' contents are not being preserved:
Breadcrumb
<para xreflabel="New Consent Type" id="manageNewConsentTyp...
$doc = new DOMDocument();
if ($doc->load('http://foo.com/bar.xml')) {
// good
} else {
// wtf happened?
}
I can wget http://foo.com/bar.xml from the location where the PHP code is running, so I know the URL is accessible. I'm thinking it must be something other than an HTTP error.
I'm not sure what else could be causing the failu...
How do you generate xml from non string data types using minidom? I have a feeling someone is going to tell me to generate strings before hand, but this is not what I'm after.
from datetime import datetime
from xml.dom.minidom import Document
num = "1109"
bool = "false"
time = "2010-06-24T14:44:46.000"
doc = Document()
Submission = d...
Hi guys, i hope you can cast some light on my problem. I need to do an AJAX / PHP / MYSQL application to display posts and stuff on the page i'm writing.
I only discovered how to do some simple stuff in PHP after taking some mushrooms but that was years ago and now i don't have mushrooms and i'm just stuck!
So here's the problem:
i t...
A NullReferenceException is thrown by the runtime when I convert XElement into XmlNode using the following function:
public static XmlNode GetXmlNode(this XElement element)
{
using (XmlReader xmlReader = element.CreateReader())
{
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(xmlReader);
xmlDoc.Child...
Hello...I am transforming an XML where I am supposed to locate a particular Element (based on the attribute value) and update the Element and its child attributes.
The sample XML file is as below.
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Environments>
<Environment id="Master"/>
<Environment id="Deve...
I have an xml string that wanted to be sent to server:
<script type="text/javascript">
$(document).ready(function() {
// put all your jQuery goodness in here.
$('#button').click(function() {
$.post('http://localhost/a.bc', { cmd:"<cmd cmd_name='login_user'><...
"svn status --xml" prints all files status and it's more much useful than parsing "svn status" output.
Is there a list of all possible tags/sections in XML file and their values?
I can read SVN sources but its time consuming and a dirty method :).
Thank you!
ADD: is it possible to find clean map from "svn status --xml" values to "svn ...
The signature method is HMAC-SHA1, and I already have <SignedInfo> generated. The problem is that I am not sure what to use as the key in the HMAC calculation.
I noticed that there are two <Entropy> with enclosing <BinarySecret> from the initial request (RST) and response (RSTR). I read from WS-Trust that this indicates that I could ge...
I'm using the Python SUDS library to talk with ExactTarget. I've been using various versions (SUDS 0.3.6 under Python 2.5, SUDS 0.3.8 and 0.4 under Python 2.6) and each version seems to have its own little quibbles.
I'd prefer using 0.4 (since it's the latest and seems to have good caching), but I'm getting an error with my web service ...
Is it possible to interact with an XML file after making a $.ajax() call?
IE:
.$ajax(
url: "someUrl",
type: "GET",
dataType:"xml",
success: function(xml){ //some function },
error : function(){ //some function}
});
$("#somebutton").click(function(xml){ //function that interacts with XML });
I haven't been able to interact with ...
Hi,
I am getting an [object HTMLUnknownElement] when going through XML.
<?xml version="1.0" encoding="utf-8"?>
<blamatrixrix>
<name></name>
<columns number="2">
<column id="title" num="0">Title</column>
<column id="content" num="1">Content</column>
</columns>
<rows number="7"></rows>
<b>Description</b>
<b>Description text here</b>
<b...
Hi there, I have a .CSV file and was wondering if there is any process on visual studio or visual web developer to convert it into an XML file and then send it to a Web Service? Thanks for your time.
...
Hi ppl. I'm currently working on storing pixels in XML format using Matlab. The problem is that I have no idea about data storage under XML. Can any expert please give me some guidelines? Any relevant materials are welcome and appreciated. Thanks!!
...
My autocomplete field:
http://www.faressoft.org/autocomplete/
What is the best way to make autocomplete field using jquery (With mySql or XML ?) and what is the reason ? How to minimize consumption of server resources ?
What is the best way if i have a big database or a small batadase ?
mySql or XML
...
I've got some *.xml with elements like :
<app-method name="leave-accrual-status-details" kind="enquiry">
<title>...</title>
<required-roles>
<role name="authenticated"/>
</required-roles>
<asd>
<param name="..." datatype="dt:int" control="hidden" call-kind="..." data-kind="..."/>
</asd>
<data-engine s...
I have a xml file with content
<ul>
<li><info>Some text here</info></li>
</ul>
I have parsed the xml file and show this in a page.info is a css class.In the page the text showing with css.When i am editing the content in tinymce editor how i can apply the css in the editor.In the editor the text is showing like <div mce_name="info">...
I have my own xml settings file in winform app. It is installed on some location. And I need to update this file (add some new atributes/settings) without loosing old settings.
Example old xml setting:
<settings>
<someSetting>Old Value</someSetting>
<settings>
Example new xml setting file:
<settings>
<someSetting>default value...
I have been trying to modify the following code in JSP from here:
ArrayList arrayList=new ArrayList();
String = "tagToFind";
Node n = node.getParentNode();
String printOut = "";
while (n != null && !n.getNodeName().equals(tagToFind)) {
n = n.getParentNode();
}
if (n.getNodeValue() != null){
arrayList.add(n.getNodeValue());
...
I have an XML file with information, for example:
<letter>
<name>Test</name>
<age>20</age>
<me>Me</me>
</letter>
And then I have an text template like:
Dear $name,
some text with other variables like $age or $name again
greatings $me
When using xslt to transform the XML to the plain text letter I can use something like:
<x...