Hi,
I am trying to generate the following XML in my SOAP call:
<CResponse>
<ID>int</ID>
<Response Action="Apply">
<Question ID="$someint">
<Responses>
<Response ID="$someotherint" />
<Response ID="$yetanotherint" />
</Responses>
</Question>
</Response>
...
I'm trying to generate a RDoc using the XML format. Here's the command that I'm using:
$ rdoc --fmt=xml --opname=api.xml
The file is created but no method list is generated. I'm using rdoc (2.4.3). The RDoc template for XML include tags for method displaying.
Is it possible?
...
I have a table s0Test1 attached to a class s0Test. The table has 4-5 attributes. I want to display them in HTML. I used:
<xsl:template match="DBE:Object" mode="s0Test">
<table>
<tr>Test1</tr>
<tr>
<td><font size="2"> <xsl:apply-templates select="DBE:Attribute[@name='s0Test1']"/></font></td>
</tr>
</table> ...
Dear All,
I have a program that uses XSL-FO (org.apache.fop.apps.Driver) to generate a PDF print out from an XML file.
I'm working on the Stylesheets (xsl) & I'm trying to make the debugging easier. I have the XML & the XSL file, now I just want my editor to show me the generated PDF as I'm working on the XSL file.
I tried several ed...
I have an XML and an appropriate XSL that I need to provide to a Java application. This Java application is expected to generate a HTML page after XSL transformation. This is not my Java application so I do not know which XSL processor it is using internally.
The problem is that it completely ignores my xsl:output directive; thus, inste...
I have an xml feed and I need to play an mp3 from the feed. I have set up the player
<div class="musicplayer">
<div id="musicplayercontainer060251712481gbakw0201569t"></div>
<script type="text/javascript">
var flashvars = {file:"music/betty.mp3",as:"0"};
var params = {wmode: "transparent"};
var attributes = {};
swfo...
Hello,
I am using java code to create a html document. I have an xsl stylesheet and some xml that I want to create the html from.
I am using the TransformerFactory method to do this.
My problem is that when it creates the html file, when you open it you see a blank page but the code is there. The issue is that when the html is created ...
Hi All ,
I have error when i was parsing xml data.when we are converting xml data in UTF8Encoding format. then we are getting NULL string.But when we are converting xml data in ASCIIEncoding format. then we are getting a string. Can any one tell me what's the error?
Thanks in Advance.
...
I have the following code in one of our projects webpages:
XmlDocument xDoc = new XmlDocument();
xDoc.Load(File.FullName);
//work through each print batch in this queue file
try
{
XmlNodeList nodeList = xDoc.SelectNodes("Reports/PrintBatch");
fo...
I need to create view without XML. I retrieve the id by the getID method of the views but I get a ResourceNotFoundException. I tried to use to fix this ID the setID method but it doesn't work anymore.
...
I am using .NET to transform XML from a DataSet to the sitemap format. Here is where I am at right now. As you can see, I create the root element with the correct namespace. I noticed that if I created child nodes, they all got an empty xmls-attribute (<url xmlns="">...</url>), unless I specified the namespace when I create the element i...
In reading this recent question about an unhandled XmlException, I tried to reproduce it in both a .NET 2.0 and 3.5 console application.
However in my code it behaves exactly as expected, the XmlDocument.Load method throws an XmlException because the source xml file contains a NULL character.
So, why does the Load statement in the foll...
Hello :)
I would like to sort my xml for which the inffered schema is placed below.
I would like to sort rows based on one column value (alphabetical)
Is it possible to do that in Linq to Xml? Or XSLT is my only option?
Thanks
Kamil
Ok, I removed schema and provide part of file
<Matrix>
...
<Rows>
<Row>
...
Hi,
I want to pass an XmlDocument as a parameter to my webservice method. After I have loaded an XML file from a path, when I try to send the XmlDocument as a parameter by webservice method, I come across this error. What can be the reason? I use StreamWriter and I close it. I don't use XmlWriter.
The development environment is VS 2008 ...
I have several fairly large XML files that represent data exported from a system that is to be used by a 3rd party vendor. I was chopping the results at 2,500 records for each XML file because the files become huge and unmanagable otherwise. However, the 3rd party vendor has asked me to combine all of these XML files into a single file. ...
I have an XmlDocument that is from a webservice, and I want to use a subset of the xml to populate a Gridview control. Unfortunately, it contains extra data that I don't need. So I want to create a new XmlDocument from a subset of the existing xml document.
protected void Page_Load(object sender, EventArgs e)
{
XmlDocument xmlDoc...
I have an element that can have multiple types (not my design). The element itself is a complex type with a sequence of sub-elements and the XML is generated from the serialization of a property, and that property returns a type of base class. So when the XML is generated the type ends up getting set in the XML to whatever the object rea...
I have a XML column in a database and I'd like to query this XML using Linq(toSQL) in an efficient way.
MyTable.Select(e => e.XmlObject.Element("Phone").Value)
... Seems this queries the db for XmlObject but process Element("Phone") part outside the database? How do I create the query so that native SQL XML functions are used? (Do I w...
I'm trying to parse and load an XML document, however I'm getting this exception when I call the parse method on the class that extends XmlObject. Unfortunately, it gives me no ideas of what element is unexpected, which is my problem.
I am not able to share the code for this, but I can try to provide more information if necessary.
...
I have a .plist file that looks like this:
<plist version="1.0">
<array>
<dict>
<key>name</key>
<string>Alabama</string>
<key>abreviation</key>
<string>AL</string>
<key>date</key>
<string>1819</string>
<key>population</key>
<string>4,627,851</string>
<key>capital</key>
<string>Montgomery</string>
...