I have created a module with several different controllers and therefore different pages.
I want to have a default sidebar on each of my own pages but not the rest of the site.
when i use the <default></default> it obviously propogates throughout the entire site.
When i try <mymodule_default></mymodule_default> nothing happens.
I am ...
Hi I am working on developing single sign on module. I need to use saml but I have looked around internet and haven't been able to find good examples or good book names for it. I am a .net developer and haven't worked on security side a lot so this whole thing is a bit confusing to me.
Please advise any good books or links on the topic...
I have the following struct:
public struct Declarations
{
public const string SchemaVersion = "urn:ean.ucc:gdsn:2";
}
And the SchemaVersion is used by some XmlElements which are trying to be serialized like this:
[XmlElement(Type=typeof(SomeGarbage),ElementName="moreJunk",IsNullable=false,Form=XmlSchemaForm.Unqualified,Namespace=Dec...
Hey,
I've never really used the dom parser before and now I have a question.
How would I go about extracting the url from this
<files>
<file path="http://www.thesite.com/download/eysjkss.zip" title="File Name" />
</files>
Thanks
...
I've got a bunch of results from a Mechanical Turk HIT that I had done, and I want to try and rank all my answers by how trustworthy that Worker was. To do that, I'm trying to get each submitting worker's accept rate from MTurk.
I do this using the MTurk API QualificationRequirement type, "Worker_PercentAssignmentsApproved", whose type_...
Which is favourable, efficient and faster? storing information in xml format and retrieving it or storing information in a db on android?
and also, in terms of portability, xml could be stored as an asset...can the same be done with db? do db come in as default package in all phones.
application involves dealing with over 1000 records ...
I am attempting to use a single Document Library to store and display multiple Xml documents based on a handful of different schemas. Each schema will have an InfoPath form associated with it.
Can I associate the same file type (.xml) with multiple Content Types, given this will require Sharepoint to inspect the content of the file to ...
My requirement is to update an XML file (some elements identified via a parameter, with new attribute values again identified via a paramenter).
I am using XSLT to do the same via C# code.
My code is as below:
XslCompiledTransform xslt = new XslCompiledTransform();
xslt.Load(f_Xslt);
XmlReader xr = XmlReader.Create("SourceXML.xml")...
I'm trying to write a function that will get me the attribute of a set of XML nodes in a document using XPath with the TinyXPath library, but I cannot seem to figure it out. I find the documentation on TinyXPath is not very enlightening either. Can someone assist me?
std::string XMLDocument::GetXPathAttribute(const std::string& attrib...
I have XML below
<node id="id1"/><node id="id2"/>...
<edge id="eid1" fromId="id1" toId="id2"/>
<edge id="eid2" fromId="id3" toId="id1"/>
<edge id="eid3" fromId="id2" toId="id4"/>
Now I need get all edge base on nodeId,
nodeId = id1 -> eid1, eid2
nodeId = id2 -> eid1, eid3
nodeId = id3 -> eid2
nodeId = id5 -> Null
...
Good morning every one,
I have donloaded an XML File to my documents folder but how can I determinate the path to the file so I can parse it?!?
I tryed it with
NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
NSString *localPath = [rootPath stringByAppendingPathCo...
Hei,
I've a simple CTE that result with hierarchical list of items (Parent/Child relation). How can I convert it to XML with the "FOR XML" sql syntax while preserving the hierarchical structure?
Thanks,
Espen
...
Hey guys, I have developed a web service/client application that the user manually inputs data onto it, however now I have reached this stage I want to be able to reference a saved XML file on the hard disc using the client, send it to the web service, and save it on the computer using the webservice. In what way would I have to modify m...
Hi
I built an auto-update feature to my program. It polling an xml in some http url, and in case there is new version is notifies the user and downloading the new files.
I want to allow redistributing of those updates in closed networks without internet connections. The administrators can download all update files and host in some HTTP...
Here (and not only there) people are using the following code to handle an error from sp_xml_preparedocument
EXEC @err = sp_xml_preparedocument @hdoc OUTPUT, @xmlDoc
SELECT @err = @@error + coalesce(@err, 4711)
Are there any reasons for this? And what does 4711 mean in this context?
...
Hi all,
I have set of XML files and they have a particular stucture.
I want to validate the XML so that the stucture is fine always before using it.
Can anyone help with some samples like how to validate the XML files using java code.
Thanks...
...
The trouble is that everything works fine on every browser except IE. I get content from xml and I am able to print it, but on IE it gives empty.
After some googling the problem might be width this header("content-type:application/xml;charset=utf-8");
Where am I suppoesed to put that? On the xml file start or?
Thanks.
...
I am trying to read xml nodes values from lastfm web service that look like this:
<lfm status="ok">
<results for="stinkfist" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
<opensearch:Query role="request" searchTerms="stinkfist" startPage="1" />
<opensearch:totalResults>188</opensearch:totalResults>
<opensearch:startInd...
Hi, everyone.
XML:
<?xml version="1.0" encoding="UTF-8"?>
<answer>
<describe data="aircompany">
<data>
<code xml:lang="ru">FW</code>
<code xml:lang="en">FW</code>
</data>
<data>
<code xml:lang="ru">UT</code>
<code xml:lang="en">ЮТ</code>
</data>
</describe>
</answer>
...
Does anyone know if its possible to validate an XML schema with another XML schema? If so, is there a reference implementation out there? I would like to parse a Schema doc using JAXB.
...