I'm trying to set up a situation where a regular expression can occur in xml
I know that the xml parser will complain on several key values (namely, < and &) and from what i understand, attributes can not support CDATA tags.
however since in .net the lookbehind uses the < character, things become more difficult.
What's the best way t...
I tried writing some XML that has a line like:
<node attr="{foo}"/>
and loading it in C#, and getting:
System.Xml.XmlException: Name cannot begin with the '{' character, hexadecimal value 0x7B. Line 2, position 14.
I tried escaping with {, but that just gives:
System.Xml.XmlException: Name cannot begin with the '&' character,...
Hi.
For a project, I need to generate XML files which adhere to a specific format. I was wondering, what is the standard way of doing this?
For my part I am using lxml and then writing the XML files. For this, I wrote a small script that takes in XML data as input and then generates the files.
Is this way of doing it 'OK'? Cause I a...
Is the code below valid XML?
<sometag
attribute1="value1"
<!-- attribute2="value2" -->
attribute3="value3">
</sometag>
...
Here is the XML for the layout in which I want my custom view to appear.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:id="@+id/widget273"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:rs="http://schemas.android.com/apk/res/com.boo...
Given an XSD as follows:
<xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:std="http://..." targetNamespace="...">
<xs:element name="SomeRootNode" type="std:SomeRootNodeType" />
...
</xs:schema>
that defines some elements which allow any child from a dif...
HTML and XML are not same just given for illustration.
For input HTML file
<p class=MsoNormal style='tab-stops:.5in'><b><span style='mso-tab-count:3'> </span></b><b><span
lang=AR-SY dir=RTL style='mso-bidi-language:AR-SY'>عزت
ابراهيم
ا...
Hi I am very much new to xml parsing ,i am trying to parse an xml file using the digester parser , i have done the parsing , but how do i read the root element attributes some thing like this
I could able to read the xmlns attribute , but how to i read the xmlns:xsil, xsi:schemalocation attributes ,how do i do this?
...
I am designing a CMS in C# and need to decide where to save configuration settings for the site. Also considering defining my base html templates and then processing them server side to create the pages ahead of time.
So what is generally faster/less overhead for the server reading an XML file or querying that same information from a l...
i am parsing an xml file using the digester , where i set the subelements to the variables of the bean using the pattern
like (" root\subelements\subsubelements ","xyz");
where xyz is the variable in the bean , and how do i set the attributes of the element to the variable in the bean like that ,
I mean what is the pattern and method...
Hi, I have a problem about xml parsing.
I parsed an xml that holds gas stations information. Each station has city, county, name and location informations.
First, I add city names array in my table view.
Question 1= When user selects a city name, How can I get county's in that city from my xml. (I don't want to get more than one co...
Given the intitial XML (BPEL) file:
<?xml version="1.0" encoding="UTF-8"?>
<process
name="TestSVG2"
xmlns="http://www.example.org"
targetNamespace="http://www.example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<sequence>
<receive name="Receive1" createInstance="yes"/>
<assign name="Assign...
Hello, i need to generate XML structures on the fly using PHP.
I've seen many different ways and libraries, but i would like to know which is the most efficient.
In general i have arrays and its content has to be returned as XML structure.
Thanks in advance.
Greetings !
c.
...
I need to explore for my project use of web services on Android. I know that there is no official library for XML - RPC web service.
But there is for REST XML and i need to test it.
I would like to read XML on my web page (Where i have to pass username and Password) from Android with HTTP GET.
OR
Suppose, i follow This link, then...
I'm a developer on an open source ERP project, it's web based and as you'd expect we have a requirement to print various reports. We currently use ezPDF but it means having to set a ridiculously high memory limit / execution time, and that is still limiting us to how many reports we can print.
We liked the look of rlib however complicat...
I once had this Add-In to VS2005 that allowed me to edit XML files in a Excel-Like table view. I would access it by right-clicking an XML file from within Visual Studio, click Open With, and then select the Add-In. I would then be able to read/write my simple XML in a nice table format.
The way I remember it, this feature was shipped...
i'm trying to convert xml to html using xslt. Am using java.xml.transform to do this in java.
it was working fine until i bumped into some xml. it said the following error.
[Fatal Error] :1:1: Content is not allowed in prolog. javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerConfigurationException: ...
I observed that some of my xml files (ssis dtsx packages basically) are getting corrupted randomly. What could be the possible reasons? I couldn't find any clue from system events or logs. Can this be some sort of virus activity? Have you ever faced a similar situation?
...
Hi, I'm using installshield 2010. I'm trying to modify xml attributes related to connection string in installshield.
i have imported xml file and selected the elements which I need to modify.
i'm using function onSQLLogin after creating an sql connection to get username and password given by user.
The peculiar behaviour is that if I deb...
Hello,
I'm trying to do a easy dynamic with an input XML. My XML code looks like:
<table>
<col size="5%">#</col>
<col size="55%">Title</col>
<col size="10%">Author</col>
<col size="10%">Date</col>
<col size="10%">Modification</col>
<col size="10%">Actions</col>
<output>
...