Click here to Skip to main content
15,900,907 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XML schemas for begginers! Pin
Marc Clifton13-Sep-04 7:59
mvaMarc Clifton13-Sep-04 7:59 
GeneralLoading XML into Tree Pin
Aisha Ikram13-Sep-04 0:56
Aisha Ikram13-Sep-04 0:56 
GeneralRe: Loading XML into Tree Pin
Erik Rydgren22-Sep-04 22:00
Erik Rydgren22-Sep-04 22:00 
GeneralRe: Loading XML into Tree Pin
liyang yu28-Sep-04 10:37
liyang yu28-Sep-04 10:37 
QuestionHow do you create a WSDL document Pin
Scott Elder10-Sep-04 11:26
Scott Elder10-Sep-04 11:26 
AnswerRe: How do you create a WSDL document Pin
Scott Elder13-Sep-04 5:54
Scott Elder13-Sep-04 5:54 
GeneralxAML Pin
sreejith ss nair9-Sep-04 23:44
sreejith ss nair9-Sep-04 23:44 
GeneralXML NamespaceURI Issue Pin
Jason Stamp8-Sep-04 23:41
Jason Stamp8-Sep-04 23:41 
I have a VB.NET application that is using an XmlDataDocument to store data in, this is created using an xml schema and the xml looks something like this:

<?xml version="1.0" standalone="yes"?>
<Root xmlns="http://tempuri.org/XXX.xsd">
<Node1>
Elements...

The problem is that I need to transform this using an xsl document, to get a formatted html page of the data. To do this I have to add a reference to the xsl document in the xml and remove the schema reference for the transformation to work.

The end result I need to change the xml to is:

<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type='text/xsl' href='XXX.xsl'?>
<Root>
<Node1>
Elements...

I can add the xsl reference by adding a processing instruction to the XmlDataDocument, but I can't find a way of removing the NamespaceURI from the root node.

I have also tried creating a new XmlDoc, manually creating the declaration, processing instruction and root node without the xsd reference, then copying the inner xml from the original doc root node to the new root node. The problem here is that the xsd reference is then added to every child node.

Or am I missing something, is there a way to transform the XmlDataDocument using the xsl without removing the xsd reference.

Any advice on how to clear the NamespaceURI would be appreciated.

Regards

Jason
GeneralNew TeleMessage Multi-Alert XML API Pin
TeleMessage Multi-Alert6-Sep-04 4:05
TeleMessage Multi-Alert6-Sep-04 4:05 
GeneralDynamic Help - XML Tags Pin
Christo Van Niekerk6-Sep-04 3:16
Christo Van Niekerk6-Sep-04 3:16 
GeneralI have a problem,creating xslt instructions Pin
teo_x5-Sep-04 22:37
teo_x5-Sep-04 22:37 
GeneralRe: I have a problem,creating xslt instructions Pin
Philip Fitzsimons7-Sep-04 2:41
Philip Fitzsimons7-Sep-04 2:41 
GeneralSending a file to a Webservice Pin
Den2Fly4-Sep-04 3:36
Den2Fly4-Sep-04 3:36 
GeneralRe: Sending a file to a Webservice Pin
Pradeep Shamarao6-Sep-04 20:54
Pradeep Shamarao6-Sep-04 20:54 
Generalmsxml Pin
ajaybrar4-Sep-04 1:09
ajaybrar4-Sep-04 1:09 
GeneralRe: msxml Pin
David Chamberlain14-Sep-04 3:40
David Chamberlain14-Sep-04 3:40 
Generalcref not displayed when Build Comment Web Pages VS Studi tool used Pin
Gary Hyslop at home3-Sep-04 10:26
Gary Hyslop at home3-Sep-04 10:26 
GeneralRe: cref not displayed when Build Comment Web Pages VS Studi tool used Pin
Aaron Eldreth3-Sep-04 10:44
Aaron Eldreth3-Sep-04 10:44 
GeneralRe: cref not displayed when Build Comment Web Pages VS Studi tool used Pin
Gary Hyslop at home7-Sep-04 5:15
Gary Hyslop at home7-Sep-04 5:15 
GeneralCreating a XSLT File Pin
teo_x3-Sep-04 1:54
teo_x3-Sep-04 1:54 
GeneralRe: Creating a XSLT File Pin
Philip Fitzsimons3-Sep-04 5:22
Philip Fitzsimons3-Sep-04 5:22 
General&lt;xsl:include&gt; vs &lt;xsl:import&gt; Pin
Firas Rashid1-Sep-04 23:38
Firas Rashid1-Sep-04 23:38 
GeneralRe: &lt;xsl:include&gt; vs &lt;xsl:import&gt; Pin
Philip Fitzsimons2-Sep-04 3:05
Philip Fitzsimons2-Sep-04 3:05 
GeneralHelp with XPath Expression Pin
anacris1-Sep-04 5:34
anacris1-Sep-04 5:34 
GeneralRe: Help with XPath Expression Pin
Stuart Dootson1-Sep-04 6:09
professionalStuart Dootson1-Sep-04 6:09 

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.