Click here to Skip to main content
14,635,530 members
Home » Discussions » XML / XSL
   

XML / XSL

 
QuestionCan anyone give me a hand with this? Pin
ajweber27-Apr-10 19:20
Memberajweber27-Apr-10 19:20 
AnswerRe: Can anyone give me a hand with this? Pin
Not Active28-Apr-10 0:54
mentorNot Active28-Apr-10 0:54 
GeneralRe: Can anyone give me a hand with this? Pin
ajweber28-Apr-10 5:59
Memberajweber28-Apr-10 5:59 
GeneralRe: Can anyone give me a hand with this? Pin
Not Active28-Apr-10 6:10
mentorNot Active28-Apr-10 6:10 
GeneralRe: Can anyone give me a hand with this? Pin
ajweber28-Apr-10 6:17
Memberajweber28-Apr-10 6:17 
GeneralRe: Can anyone give me a hand with this? Pin
Not Active28-Apr-10 6:31
mentorNot Active28-Apr-10 6:31 
GeneralRe: Can anyone give me a hand with this? Pin
ajweber28-Apr-10 6:52
Memberajweber28-Apr-10 6:52 
QuestionDesperate seeking answer to simple problem Pin
Axiom70m27-Apr-10 5:45
MemberAxiom70m27-Apr-10 5:45 
Hello, I got a simple question and i geuss the answer will be simple to. I've just spend 8 hours looking at this but can't seem to solve it.

I Got a gridview that shows data from an exsisting XML file. The user can select items the gridview with checkboxes.

When the user hits the next button the xml file should be updating the showimage attribute with "0" or "1" from the checkbox value of the gridview.

the XML is wellformed and has a schema.

basically it looks like this

root
itemcode
filename showimage=
etc
etc
/root
root
itemcode
filename showimage=
etc
etc
/root
root
itemcode
filename showimage=
etc
etc
/root

I have come as far as :
For Each row As GridViewRow In GrdImagesSel.Rows

           Dim cbSi As CheckBox = row.FindControl("chkShowImage")
           Dim productID As String = Convert.ToString(GrdImagesSel.DataKeys(row.RowIndex).Value)
           Dim SiNodelist As XmlNodeList
           Dim SiNode As XmlNode
           SiNodelist = xmldoc.SelectNodes("docroot/root")
           For Each SiNode In SiNodelist
               Dim ShowImg = SiNode.ChildNodes.Item(1).InnerText
               If ShowImg = productID Then Parentnode.Attributes("ShowImage").Value = cbSi.Text

           Next
       Next


that doesn't work.

Can you help me out here?

Regards,
Bram
AnswerRe: Desperate seeking answer to simple problem Pin
Not Active27-Apr-10 6:57
mentorNot Active27-Apr-10 6:57 
GeneralRe: Desperate seeking answer to simple problem [modified] Pin
Axiom70m27-Apr-10 7:47
MemberAxiom70m27-Apr-10 7:47 
GeneralRe: Desperate seeking answer to simple problem Pin
Not Active27-Apr-10 9:41
mentorNot Active27-Apr-10 9:41 
GeneralRe: Desperate seeking answer to simple problem [modified] Pin
Axiom70m27-Apr-10 21:52
MemberAxiom70m27-Apr-10 21:52 
GeneralRe: Desperate seeking answer to simple problem Pin
Not Active28-Apr-10 0:52
mentorNot Active28-Apr-10 0:52 
GeneralRe: Desperate seeking answer to simple problem Pin
Axiom70m28-Apr-10 2:00
MemberAxiom70m28-Apr-10 2:00 
GeneralRe: Desperate seeking answer to simple problem Pin
Axiom70m29-Apr-10 0:16
MemberAxiom70m29-Apr-10 0:16 
QuestionHow ti create sitemap in xml? Pin
JMecier25-Apr-10 0:59
MemberJMecier25-Apr-10 0:59 
AnswerRe: How ti create sitemap in xml? Pin
User 171649225-Apr-10 1:11
professionalUser 171649225-Apr-10 1:11 
GeneralRe: How ti create sitemap in xml? Pin
JMecier27-Apr-10 3:57
MemberJMecier27-Apr-10 3:57 
QuestionWord Formatting Pin
Mahesh Kulkarni14-Apr-10 0:09
MemberMahesh Kulkarni14-Apr-10 0:09 
Questionbuilding an XML page Pin
Farraj13-Apr-10 5:26
MemberFarraj13-Apr-10 5:26 
AnswerRe: building an XML page Pin
Estys14-Apr-10 1:01
MemberEstys14-Apr-10 1:01 
GeneralRe: building an XML page Pin
Farraj14-Apr-10 1:20
MemberFarraj14-Apr-10 1:20 
GeneralRe: building an XML page Pin
Estys14-Apr-10 2:22
MemberEstys14-Apr-10 2:22 
GeneralRe: building an XML page Pin
Farraj14-Apr-10 6:07
MemberFarraj14-Apr-10 6:07 
GeneralRe: building an XML page Pin
Estys14-Apr-10 22:52
MemberEstys14-Apr-10 22:52 

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.