Click here to Skip to main content
15,913,722 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Importing COM dll from unix Pin
Stuart Dootson7-Feb-10 20:15
professionalStuart Dootson7-Feb-10 20:15 
QuestionXML Database Pin
KORCARI29-Jan-10 3:41
KORCARI29-Jan-10 3:41 
AnswerRe: XML Database Pin
Dan Mos29-Jan-10 4:48
Dan Mos29-Jan-10 4:48 
AnswerRe: XML Database Pin
Stuart Dootson1-Feb-10 3:05
professionalStuart Dootson1-Feb-10 3:05 
Questionparsing problem Pin
trioum27-Jan-10 23:38
trioum27-Jan-10 23:38 
QuestionCan I store media within an XML file? Pin
EvanSaunders27-Jan-10 3:42
EvanSaunders27-Jan-10 3:42 
AnswerRe: Can I store media within an XML file? Pin
SeMartens27-Jan-10 20:22
SeMartens27-Jan-10 20:22 
GeneralRe: Can I store media within an XML file? Pin
EvanSaunders31-Jan-10 21:05
EvanSaunders31-Jan-10 21:05 
GeneralRe: Can I store media within an XML file? Pin
SeMartens31-Jan-10 21:10
SeMartens31-Jan-10 21:10 
GeneralRe: Can I store media within an XML file? Pin
EvanSaunders31-Jan-10 23:40
EvanSaunders31-Jan-10 23:40 
QuestionBest practice to handle processing XML files with different schemas Pin
sking7227-Jan-10 3:01
sking7227-Jan-10 3:01 
AnswerRe: Best practice to handle processing XML files with different schemas Pin
Stuart Dootson27-Jan-10 20:33
professionalStuart Dootson27-Jan-10 20:33 
Question.net XMLSerializer - multiple namespace problem Pin
AndyPeacock27-Jan-10 2:49
AndyPeacock27-Jan-10 2:49 
AnswerRe: .net XMLSerializer - multiple namespace problem Pin
SeMartens27-Jan-10 20:25
SeMartens27-Jan-10 20:25 
GeneralRe: .net XMLSerializer - multiple namespace problem Pin
AndyPeacock27-Jan-10 21:58
AndyPeacock27-Jan-10 21:58 
Thanks for that, my limited knowledge of XML is the problem here. I have found a way to render the XML as I had intended though. This might be useful to someone else at some point...

Declare an XmlSerializerNamespaces object within the class to be serialized.

<XmlNamespaceDeclarations()> _
    Public xmlns As XmlSerializerNamespaces


Then add the namespaces to this collection instead of attaching it to the serializer directly. This has the desired effect of declaring the namespace where it is used.

xmlns = New XmlSerializerNamespaces()
     xmlns.Add("oai_dc", "http://www.openarchives.org/OAI/2.0/oai_dc/")
     xmlns.Add("dc", "http://purl.org/dc/elements/1.1/")
     xmlns.Add("xsi", "http://www.w3.org/2001/XMLSchema-instance")


Andrew
QuestionSOAP C# Tutorial/Example Pin
ffowler26-Jan-10 10:32
ffowler26-Jan-10 10:32 
AnswerRe: SOAP C# Tutorial/Example Pin
SeMartens26-Jan-10 20:43
SeMartens26-Jan-10 20:43 
GeneralRe: SOAP C# Tutorial/Example Pin
ffowler27-Jan-10 2:05
ffowler27-Jan-10 2:05 
Questionadd element unique Id XSLT Pin
mvujica18-Jan-10 5:43
mvujica18-Jan-10 5:43 
AnswerRe: add element unique Id XSLT Pin
mvujica19-Jan-10 5:13
mvujica19-Jan-10 5:13 
QuestionXML file compression Pin
dalbhide bipin18-Jan-10 1:28
dalbhide bipin18-Jan-10 1:28 
AnswerRe: XML file compression Pin
mvujica18-Jan-10 5:51
mvujica18-Jan-10 5:51 
GeneralRe: XML file compression Pin
dalbhide bipin18-Jan-10 18:18
dalbhide bipin18-Jan-10 18:18 
QuestionI need an ebay program Pin
totolcm13-Jan-10 2:26
totolcm13-Jan-10 2:26 
AnswerRe: I need an ebay program Pin
JustWorking13-Jan-10 2:43
JustWorking13-Jan-10 2:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.